Documentation
Indexers and RSS sources
Add your own search sites and feeds. AniFlow ships none.
AniFlow ships no indexers and no RSS feeds. You have to create or obtain your own. AniFlow does not provide, recommend or link to any site, and what you search for and download is your own responsibility. AniFlow never downloads files itself: torrents are fetched by your own download client.
Indexer or RSS source?
AniFlow uses two different ways to learn about releases. Both are optional, both are yours to supply, and they do different jobs.
| Indexer | RSS source | |
|---|---|---|
| What it is | A site AniFlow can search for a title. | A feed AniFlow reads regularly for new items. |
| Used for | Adding an anime and choosing its release (the Choose release dialog), and finding episodes you are missing. | Noticing new episodes soon after they are posted, then matching them against your watchlist. |
| When it runs | When you start a search. AniFlow never searches an indexer on its own. | On a schedule, or when you press Scan now. |
| Where you manage it | Indexer Profiles | RSS Source Profiles |
An indexer file can also name a feed address (rss_url). In that case AniFlow sets up an RSS source for the same site automatically, and that feed goes away when you remove the indexer.
Until at least one indexer exists, AniFlow runs as a watchlist and calendar: the download-related pages (including RSS Source Profiles and Subgroup Profiles) are hidden. Indexer Profiles stays visible, because adding an indexer is how you unlock them.
Adding an indexer
An indexer is one YAML file in config/indexers/ (inside the container: /config/indexers/). One file describes one site.
- Copy
example.yamlin that folder to a real name, for examplemy-site.yaml. - Edit the copy. Use the real address of the site you want AniFlow to search.
- Open Indexer Profiles. AniFlow picks the file up straight away, with no restart and no import step.
Files named example, readme or template are ignored, so the shipped example configures nothing. Both .yaml and .yml work. A file that cannot be read is skipped with a warning in the log; it does not stop AniFlow.
The example file, with the placeholder host example.tld:
name: Example
url: https://example.tld
# How the site is searched. {base} is the url above, {query} is required,
# {page} is the page number.
search_url: "{base}/?page=rss&c=1_2&q={query}&s=seeders&o=desc&p={page}"
# Optional: where releases named in the original (Japanese) language are filed,
# for sites that sort by translation language.
# search_url_native: "{base}/?page=rss&c=1_3&q={query}&s=seeders&o=desc&p={page}"
# Optional: lets this indexer also set up an RSS source for the site.
rss_url: "{base}/?page=rss&c=1_2"
# Optional: mark everything from this site as Adult.
# adult: true
enabled: true
default: false # the one used by default
# Optional: several addresses for one site (the first is used, the rest recognised).
# sites:
# - https://example.tld
# - https://mirror.example.tld
The query string in search_url is only a placeholder. Every site words its search differently, so you need to find out how yours is searched and write that into the file.
Indexer fields
| Field | Meaning |
|---|---|
name | The name shown in AniFlow. If you leave it out, the file name is used. |
url | The site address. It identifies the site: scheme and host are compared, and a leading www. is ignored. |
search_url | The search address. {base} becomes the site address, {query} becomes the search term, and {page} becomes the page number. {query} is required: without it the file is rejected, because every search would return the same page. |
search_url_native | Optional second template for sites that file releases named in Japanese separately from translated ones. It also needs {query}. AniFlow uses it when it is searching with the original-language title, and falls back to search_url if the file has none. |
rss_url | Optional feed address. If present, AniFlow also creates a managed RSS source for this site. Add use_as_rss: false to keep the search and skip the feed. |
adult | Set to true if everything from this site is adult. Anime added from it are marked Adult, so Hide adult and the adult libraries apply without you ticking each show. |
enabled | true or false. Defaults to true. |
default | Marks the indexer used for searches unless you pick another. Defaults to false. |
sites | Optional list of addresses for one site (mirrors). One file then covers all of them. |
There are a few more optional fields for sites that have a separate search page or show a result count: listing_url, listing_url_native, listing_item, total_url, total_url_native and total_pattern. Most files do not need them. If listing_url is given, listing_item is required, and if total_url is given, total_pattern is required; a file that breaks these rules has the incomplete setting ignored and a warning in the log.
If an indexer's url already contains a query string (a ?), AniFlow treats it as your own filters and does not apply a template to it.
Uploading an indexer in the setup wizard
You do not have to touch the folder by hand. In the setup wizard, the step called What it does has an area to drop a .yaml indexer file or press Choose a file.... Without an indexer, the Automate choice stays locked. You can add more files there later, and a file with the same name replaces the one you already have.
The Indexer Profiles page
Open Indexer Profiles to see every indexer file AniFlow has read. Each card shows:
- whether it is enabled or disabled, and whether it is the one used for searches (Searched);
- whether it can page through results (can page) or reads the first page only;
- whether it is reading its definition file or using your URL as given;
- whether it is also an RSS source;
- an example of the request a search would make.
The buttons are Test (reads the site and reports how many items it answered with), Use for searches, Disable or Enable, and Delete. Deleting removes the file too, so searching stops until another indexer is added. If a test comes back with a feed address, the card offers Use this URL.
When you add an anime, the Choose release dialog has an Indexer drop-down so you can pick which indexer to search for that anime. It is greyed out while only one indexer is enabled.
Adding an RSS source
A feed is one YAML file in config/rss_source/. The same rules apply: copy example.yaml, edit the copy, and AniFlow picks it up without a restart.
name: Example feed
url: https://example.tld/?page=rss
# Whether AniFlow scans it, and whether new anime use it by default.
enabled: true
default: false
| Field | Meaning |
|---|---|
name | The name shown in AniFlow. |
url | The feed address. Each address can belong to only one source; if two files name the same address, the second is ignored. |
enabled | Whether AniFlow scans it. Defaults to true. |
default | Whether new anime use it by default. Defaults to false. |
You can also add a feed in the interface: RSS Source Profiles has an Add feed button, and the setup wizard has a Feeds step (Add feed). Feeds that an indexer set up for itself are marked Indexer and are edited through that indexer instead.
How feeds are scanned
- AniFlow reads every enabled feed on a schedule, then matches each item against the anime on your watchlist and queues what fits the anime's release profile. The default interval is 30 minutes. Change it on the Schedule page (task RSS: Scanning feeds for new episodes).
- Scan now on RSS Source Profiles runs the same scan immediately.
- The page shows the schedule, the last scan, the next scan, and per feed how many items were discovered and how many matched your watchlist. A feed with discoveries but no matches is being read fine; its items simply do not belong to anything you follow.
- A feed only exposes its most recent items, which is why the interval is short. Items you have already seen are remembered and are not reported as new again.
Anime that were added without an indexer, or that you set to be left alone, are skipped by the scan.
When a feed fails
If a feed cannot be read, the scan carries on with the other feeds. The page shows Last scan failed with the error. AniFlow also raises a Feed failed notice for that feed. You do not have to dismiss it: the next scan that reads the feed successfully clears it on its own. If it keeps failing, check the address in a browser, check that the host is reachable from the AniFlow container, and look at your proxy settings.
Search limits
These two settings live in config/aniflow.yaml only (there is no field for them in the Settings page). Changes are picked up without a restart.
| Setting | Default | Range | Meaning |
|---|---|---|---|
search_max_pages | 3 | 1 to 10 | How many result pages AniFlow reads for one search term. Only applies to indexers that can page. |
search_max_results | 200 | 1 to 1000 | The most results kept for one search term. |
Why AniFlow is slow on purpose
AniFlow asks politely so that your address does not get blocked by the sites you use.
- Searches are strictly one request after another, never in parallel.
- When a search covers several terms or indexers, AniFlow waits about one second before a new request to the same indexer, and about half a second between pages of the same term.
- Nothing searches an indexer by itself. Searches start when you press a button; only feeds run on a timer.
- Requests to the free metadata services used for the calendar are spaced as well, and AniFlow waits longer after one of them refuses a request, rather than asking again at once.
A search can therefore take a while, particularly with several pages. That is intended.
Release Inspector and Analyze
The Release Inspector (debug) page and the Analyze feeds panel in an anime's detail view are developer tools. They only appear when debug_mode is switched on in aniflow.yaml, and they are not needed for normal use.