A high-performance, self-hosted Usenet indexer, Web UI, and Newznab server written in Rust
Authored by: Eraxty & Forked and ported to Rust by: xbmc4lyfe
Version: v0.0.0.1 • Last git commit: 7bdc024 • © 2026 • License: GNU GPL v3.0 • Rust Version: 1.100.0
Support on Patreon • Features • Latest Features • Deviations from Python • Built with Rust • Install • config.toml • Usage • Stats dashboard • Web UI • Newznab API • Development
Tip
Donate to my Patreon to help with AI token costs and get prioritized features and personal support:
👉 https://www.patreon.com/cw/xbmc4lyfe
Many Usenet indexers charge a fee. Atlas is a free, open source alternative that you run yourself. It reads headers from your Usenet provider, works out which posts belong together, stores them in a local database, and builds an NZB file, which a Usenet downloader uses to fetch a release, when you find one you want.
Use Atlas from the terminal, browse its built-in Web UI, or point Prowlarr, NZBHydra2, Sonarr, Radarr, or any other Newznab client at its API to search releases and download NZB files.
Important
Atlas is a single native binary written in Rust 1.100.0, edition 2024.
The Rust version replaces the original Python version. This PostgreSQL cutover branch requires a checked PostgreSQL destination for product startup. SQLite conversion commands and the old terminal menu are retired. The source cutover still requires guarded production builds, retained integration-test ports, and actual native qualification. See current commands and graph qualification. Service activation and deployment require their separate native qualification.
| Component | Crate |
|---|---|
| Toolchain | Rust 1.100.0, pinned in rust-toolchain.toml and set as rust-version = "1.100" in Cargo.toml |
| Async network I/O | tokio with rustls for Transport Layer Security (TLS) |
| Terminal UI | ratatui |
| Database | Native PostgreSQL catalog and cache ports; legacy SQLite code remains pending build-graph cleanup |
| Web UI & Newznab API | tiny_http + embedded htmx and Oxide CSS |
| Compression & archives | zstd, flate2, lzma-rs, and native RAR/7z/ZIP/PPMd/bzip2/lz4 decoders |
| yEnc decoding | nntmux-yenc shared with newznab-tmux |
| Audio fingerprints | rusty-chromaprint and symphonia, plus the external filmcraft-ac3 for AC-3 and E-AC-3 (optional, see below) |
| System stats | sysinfo |
AC-3 and E-AC-3 audio prints use filmcraft-ac3, a pure-Rust decoder (MIT or Apache-2.0) from outside the project. It is on by default through the ac3 Cargo feature. To build without it, run just build-no-ac3 or cargo build --release --no-default-features; AC-3 and E-AC-3 tracks then get no audio print.
rustup installs the pinned toolchain the first time you build, and the just recipes always use it, even when another Rust installation, such as Homebrew's, comes first on your PATH.
- Index Usenet headers from the groups you choose, over SSL, in live, backfill, or dynamic mode.
- Use all your Usenet servers at once. List as many providers as you like in
config.toml. Every server indexes in parallel and keeps its connections busy. For example, 4 servers with 25 connections each keep 100 requests in flight. - Index fast. Atlas splits header requests into slices that stream over all connections, saves each slice the moment it arrives, and indexes many groups at the same time. When the server supports it, Atlas requests compressed header listings with
XFEATURE COMPRESS GZIP. - Handle real providers. Atlas detects fill and bonus servers that only serve articles, lowers its own connection count when a provider refuses more, and pauses servers that reject the login instead of retrying them constantly.
- Built-in Oxide Web UI. Search, filter by quality tags (
2160p,1080p,DV,HDR,Remux,WEB-DL,BluRay,Hide copies), sort any column instantly from warm in-memory windows, inspect deep release forensics, view extracted video stills and cover art, browse duplicate clusters (twins and alts), and query in plain language with Ask AI (Google Gemini). - Real categories. Atlas gives each release a Newznab category (
1000–8000) and honorscat, parents included. - TV and movie IDs. Atlas stores each release's title, season, and episode, and answers searches by TVDB, IMDb, TMDB, TVMaze, and Trakt ID once you turn on a provider. Fetches posters, backdrops, cast, runtimes, and IMDb/Rotten Tomatoes/Metacritic/TMDB/Trakt scores.
- Group posts into releases. Atlas parses subjects into releases, merges cross-group posts and PAR2-linked obfuscated multi-file uploads, marks incomplete sets, and recovers the real names of obfuscated posts from their PAR2, archive, or NFO files and 30+ PreDB feeds.
- Deep article & container probes. Without downloading the release, Atlas inspects yEnc headers, RAR4/RAR5/7z/ZIP archives (up to 10 nested compressed layers), MKV/MP4 video/audio/subtitle streams, HDR10/HLG/Dolby Vision profiles, x264/x265 encoder settings, chapters, cover art, H.264/HEVC video stills, and OpenSubtitles hashes.
- Serve a Newznab API for Prowlarr, NZBHydra2, Sonarr, and Radarr:
search,tvsearch,movie,music,book,caps, andget, which downloads an NZB (or a single file withfile=N, listed byt=files), its gaps filled from any twin of the same bytes. - Search from the terminal in one group or all groups, or use AI search, which turns a request like
find me 4k hdr moviesinto groups and keywords with a local Ollama model. - Watch progress on the live dashboard, dig into CPU, memory, backfill, content, post-processing, and per-server numbers on the 6-page terminal stats dashboard, or scrape Prometheus metrics with the 7 included Grafana dashboards.
- PostgreSQL catalog storage with owned native transactions and NXV header files. The cutover branch still requires full worker, integration-test, and no-SQLite build qualification.
Recent additions to the Rust Edition include:
- Faster backfill & bounded name lookups (
#2): Unblocks themax_unsaved_headersbudget so active groups never stall behind slow slices, and bounds inline name lookups during backfill. - Perceptual hashing (
pHash) & "Same film" detection (#73): Computes our own DCT perceptual hashes over extracted video stills and surfaces a Same film table on the release page linking different encodes, remuxes, or cuts of the same movie across all 8 shards. - Rich container & stream metadata on the release page (
#72,#48,#36): Displays a concise HDR summary (SDR,HDR10,HLG,DV P5,DV P7 + HDR10,DV P8), keyx264/x265encoder settings (preset,crf,bitrate,qp,rc,tune) with a fold-out for all options, MatroskaSegmentUID, multi-edition indicators (seamless branching cuts), default/commentary/SDH track flags, runtime comparison against TMDB (flagging extended or cut versions), attached cover art (/ui/cover), attachment tables, chapter listings, and OpenSubtitles moviehash matching. - Pure-Rust H.264 & HEVC intra keyframe decoders for video stills (
#50,#51,#54,#60,#71): Extracts JPEG stills at 25%, 50%, and 75% through Matroska video releases (decoding H.264 and HEVC keyframes directly in Rust without ffmpeg) and displays them with timestamps on the release page. - Overview timing forensics at ingest (
#67): Recordsfile_timingduring overview ingestion and derives 13 timing and posting-behavior facts on the release page (first/last article by poster's clock, posting rate in articles/min and KB/s, sequential vs. interleaved file upload order, session count, article number adjacency, threaded replies, crossposts,Fromheader consistency, and per-article line keys). - Six forensic catalog panels & inline
+drawers (#65,#66): Every release page presents six detailed panels (Names, Where and when, Posted by, Inside, Health, and Keys) plus lazy fold-outs (Headers, Parts, Hashes), with salted privacy hashes for poster accounts/IPs. Every search result row and duplicate card/link includes a+toggle that opens a 10-fact summary drawer inline. - Link fully obfuscated multi-file uploads & cross-group split posts (
#64,#53,#46): Reconstructs multi-file uploads where every file was posted under a separate random name by joining them through their PAR2 set (LINKEDbadge), and folds posts spread across multiple Usenet groups into a single complete release row and unified NZB. - 10-layer nested & compressed archive probing (
#52,#56,#58,#61,#62,#63): Follows archives inside archives up to 10 layers deep, decoding compressed RAR5 layers, RAR4 (RAR 2.9 with bytecode filters and PPMd, RAR 2.0, RAR 1.5), 7z LZMA2 with xz Delta and BCJ branch filters, ZIP Deflate/Deflate64/PPMd (method 98)/bzip2/lz4, and LZWcompress. - Instant in-memory sort windows (
#57,#40): Keeps the first 2,000 results of active and category searches warm in memory with pre-rendered rows and precomputed sort orders so clicking any column header (Name,Category,Size,Posted,Group,Best rated) sorts in milliseconds. - Ask AI natural language search with Google Gemini (
#59,#69): Translates plain-English queries in the Web UI (e.g., "4K Dolby Vision remuxes of Dune, biggest first") into structured search terms, categories, quality chips, and sort orders using Google Gemini, with automatic retry and fallback across Gemini Flash models when a model is busy. - Compile-time build footer across all Web UI pages: Embeds the latest git tag/version, git commit hash link, copyright year, GPL v3.0 license link, compiled
rustcversion, UTC compilation date, and Patreon support link in the footer of every Web UI page at compile time (build.rs).
Atlas was originally created in Python by Eraxty (v5.2.1) and subsequently forked and ported to Rust by xbmc4lyfe in Appz4Fun/Atlas. Major architectural and feature deviations from the original Python implementation include:
| Area | Original Python Implementation (v5.2.1) |
Rust Edition (Appz4Fun/Atlas) |
|---|---|---|
| Runtime & Binary | Python 3.10+ interpreter, virtualenv, and pip dependencies |
Single native Rust 1.100.0 (edition 2024) binary with PostgreSQL catalog storage |
| Configuration & Paths | config.json in the working directory; single Usenet server only |
config.toml (auto-migrates config.json with comment preservation); defaults to ~/.atlas; supports unlimited parallel [[usenet_servers]] with priorities and index = false fill servers |
| NNTP Engine & Backfill | Sequential single-server header fetching | Async tokio + rustls connection pools across all servers simultaneously, XFEATURE COMPRESS GZIP, UTC day-chunk backfill splitting across providers, automatic connection-limit step-down, and max_unsaved_headers memory backpressure |
| Database Architecture | Single atlas.db SQLite file storing raw article rows |
Native PostgreSQL catalog/cache ports and NXV header storage; old shard conversion, compaction and mirroring commands are retired in the cutover branch |
| Web Interface | None (terminal UI only) | Built-in Oxide Web UI (src/web.rs, src/web_meta.rs) with htmx, derived cookie auth, instant in-memory sorting, quality filter chips, field search, duplicates browser, 6 forensic panels, + inline drawers, video stills, cover art, and Ask AI (Google Gemini) |
| Release Grouping & Linking | Basic subject grouping; per-article obfuscated spam created millions of 1-part rows | 1,154 per-group collection & naming regexes (ported from newznab-tmux), PAR2-set linking of fully obfuscated uploads, cross-group post folding, per-article obfuscated upload gathering/filtering, and automatic minor-labeled group blocking |
| Post-Processing & Probing | Inline PAR2/NFO deobfuscation during save only | Persistent two-lane post-processing stage (src/postprocess/) with rate-budgeted article probes, 10-layer nested archive decompression (RAR4/5, 7z, ZIP, PPMd, LZMA2, bzip2, lz4), MKV/MP4 stream inspection, H.264/HEVC keyframe still extraction, and pHash same-film matching |
| PreDB & Naming | None | Native PreDB polling and preserved external payload caches, strict name grading, and typed naming steps; one-off SQLite catalog maintenance commands are retired |
| Categories & Media IDs | Hardcoded single category 7000 (Other) for all releases; no TV/movie IDs |
Full Newznab category tree (1000–8000, with 7000 properly assigned to Books and 8000 to Other), TV/movie title parser, and ID resolution via TVMaze, TMDB, Trakt, TheTVDB, OMDb, and NFO IMDb IDs |
| Duplicate Detection | None | Cryptographic fingerprinting of Twins (identical postings, and file twins by PAR2 hashes, that fill each other's missing articles in every NZB served) and Alts (same unpacked file sizes packed differently) |
| Observability | Basic terminal progress screen | 6-page Ratatui Stats Dashboard (Overview, Backfill, Content, Servers, Bottleneck, Post-processing) + Prometheus /metrics & /healthz endpoints and 7 Grafana dashboards as code |
You need:
- A Usenet provider account with Network News Transfer Protocol (NNTP) access over SSL.
- Rust. rustup installs the pinned 1.100.0 toolchain automatically.
- Optional: just for the shortcuts in this guide.
git clone https://github.com/Appz4Fun/Atlas
cd Atlas
just run # or: cargo run --releasejust run and cargo run keep config.toml and logs in the repository folder, as set in .cargo/config.toml. Configure the PostgreSQL destination before starting the product. To see which Rust the recipes use, run just toolchain.
To install Atlas as a command instead:
cargo install --path .
atlasAtlas keeps its data in ~/.atlas unless ATLAS_HOME points somewhere else. A binary with a config or atlas.db already next to it keeps using that folder, so an older install carries on as it was. To move one, stop Atlas and move those files to ~/.atlas.
usage: atlas [--selftest | --bg-indexer | --dump-ext | --restore-ext DIR]
(no args) start the native Web service with checked PostgreSQL storage
--selftest check configured Usenet server logins
--bg-indexer run the native PostgreSQL indexing loop
--dump-ext dump PostgreSQL ext_* tables [--allow-shrink]
--restore-ext DIR restore a PostgreSQL ext_* dump [--replace]
--save-replay --store DIR --db DIR --pg-database NAME --pg-schema atlas_replay_NAME
replay NXV headers into a fresh native staging schema
--header-store read a copied header store independently of catalog storage
--overview read an overview archive without a provider or catalog
When you push a release tag (v*), the build-executables workflow builds atlas-linux, atlas-macos, and atlas-windows.zip (the executable and an atlas.bat launcher) and attaches them to the GitHub release.
- Linux and macOS:
chmod +x atlas-linux && ./atlas-linux - Windows: extract
atlas-windows.zipand double-clickatlas.bat, or run.\atlas-windows.exefrom a terminal.
An existing config.json converts itself at the next start. Atlas writes config.toml and keeps the old file as config.json.bak-toml, which you can delete once you are happy. Comments you add to config.toml stay when Atlas saves a change, except on a key it changes.
Before startup, create config.toml from the template without secrets, config.example.toml, and supply a usable [storage] PostgreSQL URL and schema. Missing configuration or an explicit SQLite backend is refused before storage/provider startup. Supported worker settings retain their native admission checks; this change does not disable enabled workers to pass admission.
group = "alt.binaries.example"
groups = ["alt.binaries.example", "alt.binaries.another"]
index_mode = "dynamic"
batch_size = 500000
request_size = 10000
parallel_groups = 20
api_host = "0.0.0.0"
api_port = 9090
api_key = "generated-on-first-start"
[[usenet_servers]]
host = "news.provider-a.com"
username = "me"
password = "secret"
port = 563
ssl = true
connections = 50
priority = 1
[[usenet_servers]]
host = "news.provider-b.com"
username = "me"
password = "secret"
port = 563
ssl = true
connections = 30
priority = 2
[[usenet_servers]]
host = "fill.provider-c.com"
username = "me"
password = "secret"
port = 563
connections = 20
priority = 3
index = false
[[usenet_servers]]
host = "news.local-test"
username = "me"
password = "secret"
port = 119
ssl = false
compress = false| Key | Default | Meaning |
|---|---|---|
usenet_servers |
List of servers. See Server fields. | |
groups |
[] |
Newsgroups to index. Add them from the Groups menu or edit the list. |
group |
The current group, used by the menu's current-group search. | |
index_mode |
dynamic |
dynamic alternates backfill and live passes, backfill indexes older posts only, and live indexes new posts only. |
batch_size |
500000 |
Article numbers per indexing pass over a group. The cursor moves only after a whole pass finishes. |
request_size |
10000 |
Article numbers per header request, which is one connection's slice of a pass. Providers spend most of a request's time on their side, so on old articles 10,000 per request is 3–6 times faster per connection than 1,000. |
parallel_groups |
1 per 5 connections | Total groups indexed at the same time, shared between servers by their connections. Every server gets at least one. |
api_host |
127.0.0.1 |
Address the Newznab API listens on. Use 0.0.0.0 to reach it from other machines. |
api_port |
9090 |
Newznab API port. |
api_key |
generated | Newznab API key. Atlas creates it on first start and stores it here. |
split_min_backlog |
10000000 |
Article numbers of backfill left before a group's backfill is split into day chunks that every server carrying the group can take. |
auto_run_compact |
false |
Compact the database every 24 hours; indexing pauses while it runs. |
postprocess |
see below | The stage releases go through after saving. See Post-processing keys. |
archive |
see below | Reading archives, PAR2 sets, and NFOs inside releases. See Archive inspection. |
naming |
see below | Giving releases with junk names better ones. See Name fixing. |
predb |
see below | A catalogue of scene and P2P titles, off by default. See PreDB. |
spots |
see below | Spotnet spots of movies and TV, saved as releases tagged "spot". See Spots. |
category |
see below | How releases get a category. See Categories. |
media |
see below | TV and movie IDs, with every provider off. See TV and movie IDs. |
metrics |
see below | Prometheus metrics, off by default. See Metrics. |
max_unsaved_headers |
500000 |
Headers the indexer fetches ahead of saving them, over all groups at once. This bounds its memory: 500,000 headers take about 0.3 GB. A header request waits for room before it goes out, and its room comes back once its slice is saved. One group holds room for at most 8 requests at a time, so a single group can't take the whole budget. Raise it if the Bottleneck page shows it full while the database writers and connections have time to spare. Set below request_size, header requests are cut down to it, which makes them small and slow. |
Atlas keeps any other keys you add to the file when it saves it.
All of these go in a postprocess object, and each has a default. See Post-processing.
| Key | Default | Meaning |
|---|---|---|
enabled |
true |
Run the stage. It uses no network on its own. While it's off, saves still queue releases for it. |
workers |
2 |
Threads for database steps. |
settle_secs |
7200 |
Quiet time before an incomplete release is looked at. |
complete_settle_secs |
900 |
The same for a complete release. |
min_size_bytes |
0 |
Reject anything smaller. 0 is off. |
min_files |
1 |
Reject anything with fewer files. |
reject_par2_only |
false |
Reject a post whose files are all par2. Off, so a recovery volume posted on its own gets read and linked to the files it repairs. |
group_rules |
{} |
{"group": {"min_size_bytes": n, "min_files": n}}. The larger of a group's value and the global one counts. |
backlog_per_second |
2000 |
Existing releases looked at, over all shards. 0 stops it. |
body_fetches_per_minute |
3000 |
Body budget. At 0, nothing fetches bodies. |
body_connections |
4 |
Bodies in flight at once. |
net_claims_per_shard |
24 |
Releases of one shard read at once by the body steps, over all body_connections. Each waits on its server most of the time, soo this sets how many bodies are really in flight. |
body_min_size_bytes |
0 |
A smaller release gets no body. 0 is no floor. |
body_max_size_bytes |
0 |
A larger release gets no body. 0 is no limit. |
body_max_bytes |
16777216 |
Largest article read. |
bodies_per_release |
64 |
Bodies per run of a step. |
min_completion_percent |
0 |
Below this a release gets no body, and --purge --dead can take it. At 0 every release, however incomplete, is read, so a post cut across groups or an upload whose files were posted one by one gets its names, hashes and links before the rest of it arrives. |
dead_after_secs |
172800 |
Quiet time before purge may delete anything but a blocked group's rows. |
max_attempts |
5 |
Failed attempts before a step gives up on a release. |
body_timeout_secs |
60 |
Time limit for one article on one server. Each server asked gets its own limit, so asking eight servers can take eight of these. A step's two-minute run deadline only stops new articles from starting. It doesn't cut off an article that's still working through the servers. Read at startup. |
body_retries |
2 |
How many more times an article is asked of a server that timed out or failed on it, after the other servers have been tried. A server that says it doesn't have the article isn't asked again, and neither is one resting after a failed connection. Read at startup. |
| Field | Default | Meaning |
|---|---|---|
host |
The provider's NNTP server, domain only. | |
username, password |
Login. With the old single-server layout, Atlas stores the password in the OS keyring when possible. In usenet_servers, a password already in the file stays there. |
|
port |
563 |
563 is SSL and 119 is plain text. |
ssl |
from the port | Forces SSL on or off. |
connections |
10 |
Requests Atlas keeps in flight on this server at once. Set it to what your plan allows. See Measure connection limits. |
priority |
99 |
Order of the servers for failover and for par2 and nfo lookups among equally busy servers. Lower values come first. Servers with equal priority keep their order in the file. |
index |
true |
Whether the server takes part in indexing. false keeps it for article lookups only, for example a block account whose data you don't want to spend on headers. |
compress |
true |
Requests gzip-compressed header listings. Servers without compression get plain requests, and Atlas turns compression off for a server that sends unreadable data. |
fallback |
false |
Marks a server of poor uptime that you keep for the articles it alone sometimes has. Atlas asks it for an article after every other server, doesn't wait for it while it rests after a failure, and treats an article that every other server says it doesn't have as missing even when this server can't be reached. |
key |
Sets the server apart in Atlas's stored progress (cursors, day chunks, sweeps). Atlas names a server by its host, plus :port when the port isn't the default for its SSL setting, and adds #key when this is set. Adding or removing other servers never changes the name. Set it only for a second account on the same host and port whose provider numbers articles differently; otherwise both share one progress. |
The old single-server layout, with host, username, password, and port at the top level, still works and becomes a one-server list.
- Indexing uses every server at once, whatever its priority. Atlas spreads groups over the indexing servers in proportion to their
connections, and each server runs its own groups, so all connections stay busy. Each group stays on one server, because article numbers, and therefore the indexing cursors, differ between providers. A server that stops answering hands only its own groups to the others for a while. - A group that a server doesn't carry: Atlas looks it up on the other servers.
- par2, nfo and other articles the processing steps read: Atlas asks the indexing servers in order of how busy they are and how well they have served lately, so lookups don't all queue on one server. If one doesn't have the article, Atlas asks the next, then the remaining servers, such as those with
index: false, andfallbackservers last. - Server health: each server keeps a score from 0 to 1 (
atlas_nntp_server_health). Every answer moves it a tenth of the way toward 1, whether that's the article or a plain "no such article". Every timeout, failed connection or broken connection moves it a tenth of the way toward 0. Between answers it drifts back toward 0.5, about two-thirds of the way in 30 minutes, so it reflects the last little while. A server whose score falls is asked later, and one on a good run moves up. - A server that can't connect: Atlas skips it for a minute and moves its groups to the other servers. When a group moves, its cursor on the new server starts from the top. Atlas re-scans those articles but de-duplicates them, so it doesn't store anything twice.
Atlas also handles these provider quirks on its own:
- Fill and bonus servers that only serve articles answer
GROUPwith an error. Atlas detects them and uses them for article lookups only. Setting"index": falsedoes the same up front. - Connection limits: if a provider refuses another connection while Atlas already has some open to it, Atlas lowers that server's connection count by one and waits for a free connection instead of failing requests. The cause is usually your plan's limit or another app on the same account. Atlas logs this once per server.
- Wrong username or password: a rejected login takes that server out of use for 30 minutes and logs one clear message, instead of retrying every minute.
The background indexer reads config.toml again every 5 seconds:
- New groups,
index_mode,batch_size,request_size, andauto_run_compactapply immediately. - Changes to servers, logins,
connections,parallel_groups, ormax_unsaved_headersrebuild the connection pool. A login you fix in the file, or in Settings > Usenet servers, takes effect within a few seconds. api_hostandapi_portapply when the API restarts. Restart Atlas, use Settings > Change API port, or save a new address on the Web UI's Settings page, which moves the API there within a second.metricsapplies when Atlas restarts.
To find out what each provider allows, stop indexing and run:
ATLAS_HOME=. cargo run --release --example probe_connections -- --max 300The probe opens and logs in connections on every server until the provider refuses one, reports the maximum per server, and checks whether servers on the same account share a limit. Set connections below the measured maximum, for example to 75%, to leave room for other apps on the same account.
The following terminal, shard-storage, conversion, and mirroring descriptions document the retired implementation. Their commands are not accepted by this PostgreSQL product frontdoor. Use the current command list above and maintenance transition; preserve valuable caches and recovery copies before any separately authorized data retirement.
On first run, Atlas asks for your provider credentials:
| Field | What to enter |
|---|---|
| Host | Your provider's NNTP server, domain only. For example, news.yourprovider.net. |
| Username | Your provider username. |
| Password | Your provider password. |
| Port | 563 for SSL. Keep the default. |
To quit without writing anything, leave the host empty. This helps when your config.toml is in another folder: point ATLAS_HOME at that folder. The startup panel always shows which config.toml Atlas loaded. To add more servers, use Settings > Usenet servers or edit config.toml.
| Option | What it does |
|---|---|
| 1 | Start or stop indexing. |
| 2 | Search indexed releases. |
| 3 | Find and add groups. |
| 4 | Remove a group. Shown when you have more than one group. |
| 5 | Open the live dashboard. |
| 6 | Run an AI search. |
| 7 | Open Settings. |
| 8 | Open the stats dashboard. |
| 0 | Exit. |
Open Groups, search with at least 3 letters, for example movies, and enter a number to add that group. The list shows only binary groups that have articles. To remove a group, use Remove group in the main menu.
Atlas never indexes, fetches from, or serves a group whose name labels it for minors (filters::group_blocked). Blocked groups are left out of the list, and a blocked group already in your config gets a warning here and stays in Remove group.
Note
Indexing reads headers from your Usenet provider. It doesn't scan your computer.
Start the indexer from the main menu with option 1. The indexer runs as a background process (atlas --bg-indexer), so it keeps running after you close the menu, and it indexes many groups at once on all your servers. The menu shows its state, for example 3197 groups, 90 at once. When a server or group has trouble, the menu adds [WARNING] and an error count. The details are in bg_index.log.
| Mode | Behavior |
|---|---|
dynamic |
Alternates backfill and live passes, so Atlas keeps up with new posts while it builds history. |
backfill |
Indexes backward from the newest article only. |
live |
Indexes forward from the newest article only and ignores older posts. |
Some uploads give every article its own random subject, so each article would become a release that can never complete. Articles obfuscated per article are skipped and counted. They still count as received, so the cursors move past them.
Rows already stored from a blocked group stop being served as soon as you run this build, with no purge needed. They stay on disk until you delete them.
A multi-file post becomes one release, whatever its files are called, across slices, servers, and days. Atlas decides this from the post's file counter and from per-group collection regexes, and the subject alone settles it, so every server agrees. A post being indexed when you upgrade stays split by file for the files already started.
An upload obfuscated per article gives every article its own random name, so nothing but its shape, poster, and day links them. Atlas gathers those articles into one release per upload, named per-article-upload-..., with each article in its position, so its NZB holds the upload as posted and later articles join it. Grouping by shape can put two uploads by one poster on one day together. See docs/TODO.md.
When two or more indexing servers carry a group and its backfill has more than split_min_backlog article numbers left, Atlas splits the rest of its history into UTC day chunks. A worker with nothing of its own to do claims the newest pending chunk on any server that carries the group, so idle connections help with big groups. A server that doesn't keep a day from its start, because its retention is shorter, gives the chunk back for a server that does. No server keeps the oldest day of the split from its start; the server that goes back furthest on it indexes what there is. Every hour, and when the indexer starts, Atlas checks whether a server now goes back further, for example one you added. If one does, the older days get chunks too, and the old oldest day is done again in full. Live indexing stays on the group's home server. The Backfill page of the stats dashboard shows split groups and their day chunks.
Atlas splits releases and their articles over 8 database files next to atlas.db, named atlas.s0.db to atlas.s7.db, by group. Each file has its own writer thread, so the 8 save in parallel, and slices that arrive while a writer is busy are saved together in one transaction. atlas.db keeps the per-group cursors.
Articles are stored compactly, at about a quarter of the space of the old layout: a post's files share one release through the collections table, each file of a release is stored once with the subject its NZB uses, and each article is a short row with its message ID, part number, and size. Message ID locals are packed by alphabet using specialized encodings (hex at half the size for hexadecimal locals, base-N encoding for other alphabets), and domains are shared. NZBs come out exactly as before.
Atlas seals each file that is complete, or untouched for three days, into one zstd-compressed blob, which takes far less space than its article rows. Each shard writer seals the files its own saves completed between saves, up to 2,000 files or 100 milliseconds at a time, and looks through its shard for files untouched for three days once a minute. Writers leave files from before the upgrade alone; the first --compact seals those. Articles that arrive after a file is sealed are stored as rows and merged into its NZB. The --compact command seals every file that's due and re-encodes message IDs across the whole database.
A release ID tells Atlas which file holds the release, and IDs keep counting up across all 8 files in the order releases are added, so the newest releases still come first.
Sealed articles can live on another machine, on a big disk. Run the service in sealed-log/ with docker compose up -d --build there, and set sealed_log.addr and sealed_log.offload = true in config.toml. The indexer then moves blobs of 1 KB or more from files untouched for a day: it appends them, reads each back and compares, and only then swaps the blob in files.blob for its place in the log. With the indexer stopped, atlas --sealed-log-move does the same at full speed. An NZB needs the service up to read those articles, and indexing goes on without it. A shard with articles there can't be compacted, because that would pull them all back, so turn auto_run_compact off and reclaim the freed pages with VACUUM while the indexer is stopped.
With overview_archive.enabled = true, every XOVER (and XZVER) listing the indexer fetches is also kept exactly as the server sent it, outside SQLite, in overview/<server>/<group>/ next to the databases. A shard reset or a new parser can then read a group's headers back from disk instead of asking the provider again. The rows are stored by nntp-xover-engine (its README has the format and the measurements): columnar blocks of up to 65,536 rows that a reader maps and uses in place, each with a message-id filter and index, so atlas --overview SERVER GROUP START-END answers a range and atlas --overview SERVER GROUP '<message-id>' finds one article without the provider; atlas --overview SERVER GROUP stats prints the sizes and atlas --overview SERVER GROUP verify reads every row back, checking each block against its hash. SERVER is the server's key as the indexer names it in its metrics: its host, or host:port, plus #key for a second account. The writer gathers a group's rows for up to 30 seconds or 4,096 rows and appends them to the group's tail.nxv as one block; once that holds 65,536 rows they are sorted into a segment file, and all but the newest keep_hot segments are zstd compressed with their routing data left readable. On real alt.binaries listings the cold segments take from about a third to an eighth of the raw size, depending on how obfuscated the group is. Writing happens on its own thread and never holds up a fetch: if it falls behind, batches are dropped and counted rather than waited for.
With header_store.enabled = true, every listing the indexer fetches is also kept, for as long as linking needs it, in header-store/<group>/<day>.nxv next to the databases: .nxv blocks of one server, one group and one UTC day, appended to a day file by one writer, with a 64-byte entry per block in <day>.nxvi. Rows wait in per-slab logs, made durable every 100 ms, before a slice counts as read; a slab is sealed into a block once full or idle. A day file goes once nothing keeps it: the live window, the days around a backfill day being read, and days with hours not linked yet. The store's linker reads those blocks a day at a time and ties uploads whose every article has a random subject (and a random poster per file) back together across groups, by poster, posting time and groups, saving each as one release. atlas --header-store link-day --store DIR --day YYYY-MM-DD runs that linker over a copy of the store without saving anything. Without the store such articles are counted as unparsable and dropped.
With article_store.enabled = true, each release's articles (message id, part number, size) are kept in one SQLite file, article-store/articles.db next to the databases (article_store.dir moves it), and PostgreSQL keeps only releases, files and their counts. The indexer writes it and the web process reads it, so both must see the same directory. The first start with it on copies the articles the catalogue still holds in PostgreSQL. The catalogue's counts are of the articles in that file, so the catalogue names the one store it counts and the indexer refuses to start with another store, an emptied one, or the setting turned off again. Losing the file means starting a new catalogue.
Both ends report numbers. The service serves Prometheus text on port 7712 (SEALED_LOG_METRICS in sealed-log/compose.yml; empty turns it off): requests, bytes and values in and out, time in the service per request, the group commit and its fdatasync, appends waiting for the writer, reading a value off disk, open connections, and the data disk's size and free space. Atlas times its side as the functions sealed_log.fetch, sealed_log.append, sealed_log.verify, sealed_log.swap and sealed_log.offload_batch, and counts the offload in atlas_sealed_log_*. What Atlas waits less what the service spends is the network: the wire, both TCP stacks and connecting.
To see it:
- Rebuild the service on its machine so it serves the metrics:
docker compose up -d --buildinsealed-log/.curl -s http://127.0.0.1:7712/metrics | headthere should printsealed_log_up 1. - Add the
sealed-logjob fromdeploy/victoriametrics/atlas-scrape.ymlto VictoriaMetrics or Prometheus. Its target,127.0.0.1:7712, is for one running on the same machine; otherwise use the machine's address. - Push the dashboards with
dashboards.py pushas below and open Atlas: Sealed log. - For numbers to paste somewhere,
python3 deploy/victoriametrics/sealed_log_report.py http://victoriametrics:8428 6hprints throughput, latency on both ends, the disk and failures over the last 6 hours as a Markdown table. A-means no data: the service or Atlas wasn't running a build with metrics, or nothing moved in that window.
Atlas can keep a copy of every shard's release-level tables in one Postgres database: releases, their keys and fingerprints, PAR2 sets and upload links, categories, media and PreDB matches, postprocess state and the rest of what a lookup across groups compares. Article data (segments, files, release_ids, file_timing) stays in the shards. This is phase 1 of moving lookups across shards to one place: the shards stay what's true, and the copy only follows them. Nothing reads it yet.
Turn it on in config.toml:
[shared_catalog]
enabled = true
url = "host=db.example port=5432 user=atlas password=... dbname=atlas_catalog"
# batch = 5000 # changes taken from one shard's outbox at a time
# interval_ms = 1000 # rest when every outbox is empty
# allow_plaintext = false # the connection isn't encrypted: only loopback or private addresses unless true
# reads = false # lookups across shards read the catalog (falling back to the shards)At its next start the indexer adds three triggers to each copied table in every shard, which put the key of each changed row in catalog_outbox. A publisher thread then sends each shard's changes as batches: the rows as they are now, upserted, and the ones gone, deleted, in one Postgres transaction, before taking them out of the outbox. It makes the Postgres tables itself, and adds columns a shard migration added. Keys that only mean something inside one shard (collections, junk_collections, pp_walks) are keyed by shard too, and every row carries the shard it came from. The connection isn't encrypted, so Atlas only connects to a loopback or private network address written as a number (127.x, 10.x, 172.16-31.x, 192.168.x, fc00::/7) unless allow_plaintext = true. A compaction carries the waiting changes over, adds the releases it resized, and puts the triggers back. Turned off again, the next start drops the triggers and the outbox, so the writers pay nothing. Rows that were there before the triggers, or changed while it was off, reach the copy only through a fill (--shared-catalog-fill, below).
With reads = true in the same section, lookups across shards read the catalog instead of asking all 8 shards, one lookup at a time as they move over. So far: the release page's list of groups that posted the same name, and the candidates for a post split across groups (rows of the same name, by poster or across posters, and rows sharing a stem such as Name.part01.rar). The catalog hands over the candidate rows; which of them make one upload is still decided from the shards' file data. The indexer builds the indexes they need in the background (CONCURRENTLY, so writes go on), and a lookup uses the catalog only once its index is valid. If Postgres can't answer within 2 seconds, a lookup reads the shards as before and the catalog is left alone for 30 seconds, so a catalog that's down costs a page at most that once. atlas_shared_catalog_reads_total{lookup,source} counts where each answer came from.
The triggers only see changes made after they're in. To copy the rows that were there before, or to refresh the copy after a time with the catalog off, run atlas --shared-catalog-fill beside the running indexer. It holds off compaction while it runs. It reads each table a page at a time in key order (5,000 rows or 32 MB), and upserts each page while holding the shard's advisory lock in Postgres, which every publisher batch also takes. So a page never goes in older than a batch already sent, and a change made after the page was read stays in the outbox for a later batch. atlas --shared-catalog-check then counts every table in the shard and in Postgres, also holding off compaction,, and lists the rows Postgres keeps whose key the shard no longer has. That can happen when a fill reads a row just before it's deleted. --shared-catalog-check --prune deletes those. It exits 0 when every table matches and 2 when one differs. Counts of busy tables can differ by what is still waiting in the outbox, which it prints first.
The publisher counts rows in atlas_shared_catalog_rows_total, shows each shard's waiting changes and the oldest one's age in atlas_shared_catalog_outbox, and failures in atlas_shared_catalog_failures_total. It times each batch as the function shared_catalog.send. If Postgres is down the outbox grows and the publisher retries with backoff; indexing goes on. Each shard has its own publisher thread and Postgres connection, so one shard's backlog doesn't hold up the others. A backlog is sent in batches of at most batch changes and 32 MB of rows, and a batch's deletes go as a few statements with the keys as arrays. The queues that only say what's waiting (freeze_pending, pp_queue) aren't copied. The publisher keeps the shards open only while it holds off compaction, and lets go whenever it has nothing to send, after a minute, or as soon as the indexer is about to compact (which waits up to 30 s for it and keeps it away until the compaction is done), so a compaction never swaps a shard under it. Each batch holds a per-shard advisory lock in Postgres. Postgres keeps how far it has taken each shard's outbox (catalog_cursor, per outbox epoch), in the same transaction as each batch, so the publisher never needs a shard's write lock to make progress. It takes sent changes out of the outbox only if the lock is free within 200 ms, and otherwise the shard's own writer prunes them between its transactions, up to the position in atlas.sN.db.catalog-cursor.
PreDB titles, if you turn them on, live apart in atlas.predb.db. Compaction and conversion never touch it. It takes about 153 MB per million titles, and grows by under 2 MB a day.
The first time the new indexer starts on a database from an older version, it converts it once:
- It copies every release, then every article, into the 8 files.
- It builds the search indexes.
- It checks a sample of releases: their NZBs, sizes, part counts, and completeness must come out the same as from the old database.
- Only then does it swap the files. The old database stays as
atlas.old.db; delete it once you're happy.
The menu shows the progress meanwhile, and searches don't work until the conversion finishes. On a 488 GB database it takes about 1.5 hours. If anything fails, Atlas leaves the old database as it was and tries again on the next start. To convert in the foreground instead, stop indexing and run atlas --convert. It refuses to start while the indexer, a compaction or another --convert is using the database.
Release IDs change in the conversion, so NZB links that Prowlarr or your apps saved before it no longer work. Search again to get the new ones.
The --compact command rewrites every shard into a fresh database file while the indexer is stopped. It re-encodes message IDs with the current packing and seals every file that's due. The copy has no free space in it. Expect the first compaction to shrink the database a lot, roughly from 138 GB to 60 GB on a full database. Atlas checks each shard's copy before it replaces the original. If a shard fails, Atlas keeps its original and reports the error; the other shards are still compacted.
With auto_run_compact set to true, the indexer compacts the database every 24 hours. Indexing pauses while it runs and resumes afterward. Stopping the indexer during a compaction stops it within seconds and keeps the originals of unfinished shards. A failed shard is tried again 24 hours later. While a compaction runs, it holds a lock on the atlas.compacting file next to atlas.db, and the indexer, the menu's AI search saves and the broken release purge refuse to run until it's done. A compaction doesn't start while the indexer runs (outside its own auto compaction), while one of those is saving, or while another compaction runs; auto compaction then tries again 10 minutes later. The lock goes away with the process that holds it, so a crash leaves nothing to clean up (the file itself stays). A crash in the middle of swapping a shard can leave its original moved aside as atlas.sN.precompact.db with nothing in its place. The next start of atlas, the indexer or a compaction puts it back (and removes the half swapped copy), taking the lock first. A shard that is missing with no backup next to it, while the other shards are there, stops atlas from starting instead of being made again empty; put it back first. A shard with an atlas.sN.precompact.db next to it, when it isn't known which of the two is whole (the crash may have come after the copy went in, or an older atlas made an empty shard beside the backup), is not touched: the menu still opens, but the indexer, AI search saves and purging refuse to write, and the message names both files and how to go on (keep the shard and delete the backup, or the other way round).
A compaction stops a shard and keeps its original if the shard holds a table or column this build doesn't know, since a copy would lose it. It waits up to 10 seconds for a reader that is on its way out.
A group that has caught up rests for 10 seconds before Atlas checks it again. Atlas parks a group that fails 3 times in a row for 5 minutes.
Stopping the indexer takes about a second. Atlas drops any requests still in flight and closes their connections instead of reusing them. A pass that didn't finish leaves its cursor where it was, so Atlas indexes that range again on the next start.
The indexer takes every saved release through a stage that survives restarts. Upgrading doesn't change network use: with an existing config.toml the stage fetches nothing.
- A release is settled when no article has arrived for
settle_secs(2 hours), orcomplete_settle_secs(15 minutes) if it's complete. - It's rejected when no step can help it: a fragment of an upload obfuscated per article, a blocked group, an empty row, or a post of only par2 files. A rejection writes nothing, and a late article judges it again.
- It's done when it's settled, passed, and every step that applies has finished or given up. A new article brings it back.
Size, file type, and completeness never reject a release. They only decide whether it gets article bodies fetched, and by default nothing is kept out: every release gets its bodies read, down to a lone recovery volume, so the links below have everything to work with.
Every article body a step reads whole leaves its CRC32 and decoded length in segment_crc, keyed by message-id, and every PAR2 set a step reads leaves each file's size, whole-file MD5, first-16-KiB MD5, name and CRC32 in par2_files, with whether its descriptor hashed to its file id (one that didn't is kept, but names nothing and matches nothing). The link step and the twin fill below read those back instead of fetching the set again.
Steps run in two lanes. Database steps never wait on the network. Body and outside steps run within a budget, one per claim, and an outage costs them no attempts. Bodies are on by default, and postprocess.body_fetches_per_minute = 0 turns them off. Your existing releases enter newest first at backlog_per_second, and the Post-processing page of the stats dashboard shows how far along that is.
Each release gets a look at a few of its articles, without being downloaded: ARTICLE on the first and last article of its main file, STAT on the middle one, and the first article of up to three NFO, SFV or text files. All of it counts against the body budget, and archive.enabled = false turns it off. The release page shows:
- yEnc: the real file name and size, parts, line length, article size and the file's CRC32, from the
=ybegin,=ypartand=yendlines. - Checks: whether the parts cover every byte, whether the first part's size and checksum are right, the share of overhead, and whether a server still has the first, middle and last articles.
- What's in it: MKV and MP4 tracks, with resolution, display aspect ratio, codecs, bit depth, HDR summary (
SDR,HDR10,HLG,DV P5,DV P7 + HDR10,DV P8), Dolby Vision profile/level/enhancement layer, colour primaries (BT.709,BT.2020,DCI-P3,Display P3),x264/x265encoder settings,SegmentUID, editions, Atmos, languages, default/commentary/SDH subtitle flags, chapters, attached cover art, attachments, and OpenSubtitles moviehash matches. Archives are followed up to 10 nested layers deep across uncompressed and compressed RAR5, RAR4 (RAR 2.9 with bytecode filters and PPMd, RAR 2.0, RAR 1.5), 7z LZMA2 (with xz Delta and BCJ branch filters), ZIP (Deflate, Deflate64, PPMd method 98, bzip2, lz4), and LZWcompress. - Stills & Same film: pure-Rust H.264 and HEVC intra keyframe decoders extract JPEG stills at 25%, 50%, and 75% of Matroska video releases, compute DCT perceptual hashes (
pHash), and list other releases of the Same film across all shards. - How it was posted: the posting tool, dates, path, organization, injection info and crossposted groups, from the article's headers.
- NFO and SFV: the NFO's text, IMDb ids and any password in it, and the SFV's checksums.
CRC32 and posting tool can be clicked or searched on, under More fields.
Once Atlas may fetch bodies, it reads the releases it can afford to, one at a time and within the budget. It reads a release's PAR2 set, one article of its first archive volume (about 740 KB), plus the last article of a 7z or ZIP, and an NFO if nothing else named it. It doesn't unpack anything. It stores:
- The files inside: their names and unpacked sizes, with the volumes of a set collapsed into one row.
- Whether the archive is passworded: yes when the bytes prove it, maybe when an archive was found but its contents couldn't be seen, and no when names were read with no encryption flag.
- A real name, when the release has none. A name from inside an archive replaces only an obfuscated or random-looking one.
It runs on the body budget, postprocess.body_fetches_per_minute. All of these go in an archive object, and each has a default:
| Key | Default | What it does |
|---|---|---|
enabled |
true |
Read archives, PAR2 sets, and NFOs. It does nothing until there's a body budget. |
max_bodies_per_release |
16 |
Articles the archive step may read per release, from 1 to 16. |
probe_files |
8 |
Random-named files to probe per release, from 0 to 8. |
probes_per_minute |
600 |
Probes per minute, from 12 to 600. |
max_names_mb |
16384 |
Total MiB of stored file names, split between the shards. Past it, passwords and names still work, but no more inner files are stored. The stats dashboard counts what went unstored. |
With a budget set and archive.enabled on, names stop being looked up while a release saves, so saving no longer waits on article bodies. A new release has no real name until its step runs, which takes 15 minutes to 2 hours of settling plus the queue. Until then, search hides it if it's obfuscated. A release outside body_min_size_bytes and body_max_size_bytes gets no body, so it gets no name from these steps, where the lookup while saving would have named it. If you take the budget away, or turn archive.enabled off, the lookups come back.
A file with no extension Atlas knows gets probed, if it has at least 3 parts. A probe reads the article's first 64 KiB and hangs up. That's also what it reads of an image it couldn't recognize by name, and an image ends the release. Each hang-up means a new login for the next request, and a provider that refuses a burst of logins rests that server for 30 minutes, indexing included, so probes are spaced by probes_per_minute. Lower it if that happens.
These are estimates, not measurements. A release typically costs 1 to 3 bodies, and at most 8. About 15 million of 118 million releases pass the body gates, which comes to about 78 days at 300 bodies a minute, or about 4 days at 6,000, and about 14 TB of traffic in all. Inner files add about 1% to the database. New posts go ahead of the backlog.
A release whose posted name is junk gets a release-like name from what Atlas already knows. It looks at evidence in this order, and stops at a name in full scene form:
- The file names in the release's PAR2 set.
- The file names inside its RAR, 7z, and ZIP archives. From a passworded archive, only a good name counts, because that's where fakes live.
- Naming regexes, 1,154 of them per group, over up to 4 of its subjects. Failing that, a name in full scene form that those subjects state outright and agree on.
- Its posted file names.
If the release has an NFO and still no good name, a separate step reads the NFO.
A good name looks like a release: words and a marker such as a year, an episode, a resolution, or a group. Numbers, sample files, installers, random strings, and bare words such as Inception don't count. Regexes and posted files need a good name. File names from inside the post may be plainer, because a book title has no marker. A name in full scene form has at least 4 words, a group, and a technical token.
Names only improve. A name replaces another only if its source is at least as good and its grade is strictly better, so a well-named post keeps its name and a second run changes nothing. A season pack is never renamed to one of its episodes.
All of this is database work with no network, apart from the NFO step, which needs postprocess.body_fetches_per_minute.
Upgrading names only releases that have no name, starting with a walk over your existing releases at backlog_per_second. To replace names the old lookup found too, run atlas --reprocess --step naming --apply, which only takes names that grade better. To undo names from regexes and posted files, run atlas --unname --apply. They stay cleared, even when a late article arrives, until you run --reprocess --step naming --apply again. A better source can still name them, such as an NFO, a PAR2 set, or PreDB.
These go in a naming object:
| Key | Default | What it does |
|---|---|---|
enabled |
true |
Run the naming step. Set it to false before restarting to hold back the walk. |
nfo_step |
true |
Read NFOs, while archive.enabled is also on. It fetches nothing without a body budget. |
Atlas can keep a catalogue of scene and P2P release titles from public JSON feeds, in its own file, and use it to give a release its exact name. A release matches on its title, on the title with different separators, on an MD5 or SHA-1 of the title, or on an inner file. A title beats any other name. Nothing is ever matched fuzzily, and anything ambiguous is no match.
It's off by default: with no predb key, nothing is fetched, no file is made, and no step runs. To turn it on:
[predb]
enabled = true
sources = ["predb_club", "predb_net"]When you turn it on, Atlas contacts the third parties you list, and walks your existing releases once at backlog_per_second.
| Source | Contacts | What it's for | Load |
|---|---|---|---|
predb_club |
predb.club |
Recent scene titles | At the defaults, up to 3 requests per 5 minutes |
predb_net |
api.predb.net |
Recent scene titles, about 4 days back | The same |
xrel |
api.xrel.to |
Scene titles | The same, and never over 900 requests an hour |
xrel_p2p |
api.xrel.to |
P2P titles | The same |
predb_org |
predb.org |
History, through history_pages |
The same |
srrdb |
api.srrdb.com |
Scene titles, with no pre time | The same |
predatabase |
predataba.se |
The newest ten titles | One request a poll |
predb_me, scnsrc_me, eztv, nfodb, one_techno, one_gabba, ddlvalley, hdencode, hdencode_tv, mp3scene, gload, hdworld, movieblog, scnlog |
Each one's RSS feed | Recent titles | One request a poll |
apibay, knaben |
apibay.org, api.knaben.org |
Recent movie and TV names | One request a poll |
crowdnfo, nima4k, g4u, gabber, seriousaboutsound |
Each site's listing page | Recent titles | One request a poll. A site that changes its page reads as no rows, and backs off |
nswdb, 3dsdb, dats_pciso_1998, nzedb_archive |
Each one's whole catalogue | Older titles | One request a week |
predb_ovh is retired: its domain stopped resolving. A config that still lists it logs that once and skips it. When a history page past the first answers HTTP 400 or 404, the source has run out of pages: history ends there, the log says at which page, and the poll still counts as a success. On newer pages it is still a failure.
All of these go in the predb object:
| Key | Default | What it does |
|---|---|---|
enabled |
false |
Make the file and run the feeds and the match step. Off: no file, no network, no step. |
sources |
[] |
The feeds to poll. Empty with enabled on: matches against what's in the file, with no network. |
poll_minutes |
5 |
Between polls of a source. At least 1. |
page_size |
100 |
Clamped to each source's range. |
max_pages_per_poll |
3 |
Requests per source per poll, from 1 to 20. A poll with a gap to finish or history to read takes at least 2. |
max_db_mb |
8192 |
Polling stops, with an error on the dashboard, once atlas.predb.db passes this. At least 64. |
request_delay_ms |
1000 |
Between requests to one source. At least 250, and a source's own floor applies. |
timeout_secs |
15 |
For a whole request, from 1 to 120. |
history_pages |
0 |
Older pages to read in total per source, beyond catching up. |
late_per_second |
1 |
Titles the late path takes per second. 0 turns it off. |
A title that arrives after its release still finds it, through the name index or the full-text index, with no scan. It misses a title that appears only in a file that isn't the release's name, or a short title under any form but an exact name. atlas --reprocess --step predb_match --apply catches those.
A feed that fails backs off, up to every 6 hours, and only that feed. A server's rate limit is obeyed for as long as it asks. These feeds' shapes come from upstream's source and weren't checked against a live response, so on first turning this on, look at the PreDB block on the Post-processing page of the stats dashboard. A feed that has changed shows its error there, with nothing bad stored.
To load a list you already have, one title or title<TAB>category<TAB>pre_at per line, optionally gzipped:
atlas --predb-import titles.txt.gz
atlas --predb-import titles.txt.gz --apply
atlas --reprocess --step predb_match --applyThe first is a dry run. Stop indexing before you --apply. The last matches your releases to what you imported, because a bulk import skips the late path.
Spotnet "spots" are signed posts in free.pt that describe a release (title, category, size, an IMDb link) and point to a compressed NZB posted in alt.binaries.ftd. While the indexer runs, it reads the spots in free.pt every poll_minutes and keeps only the signed movie and TV ones. Spots with an erotic genre are left out. Each kept spot is fetched whole, and its NZB is saved as a release under the spot's title, the way indexing would have saved the post. Search, the API, NZB downloads and post-processing then treat it like any other release. If the indexer already saved that post under the same name and group, the spot's articles go into that release instead of a second one. An edited or reposted spot with the same NZB tags the release it already made.
The spot itself goes in each shard's spots table: its message-id, kind (movie or series), title, poster, tag, spotter id, Spotnet categories, IMDb id and an NZB key. The main database keeps what the ingest has seen (spots_seen) and how far it has read (meta.spots_cursor:<server>). Half of each pass goes to the oldest spots waiting and the rest to spotters in turn, newest first. A release with the spot's title is joined only when it holds the same articles, otherwise the spot is saved under its own name. A spot still waiting after 30 days is given up on. It reads Usenet only: no Spotweb install or database is needed. About 75 spots a day pass the filter, which comes to a HEAD and one or two small BODYs each.
The row also keeps the spot's XML whole, so the release page can show everything the spot says, the way Spotweb's spot page does: type, format, source, language and genre by name, when it was posted, size, sender and spotter id, tag, website, IMDb link, cover image, newsreader and the full description. A password the poster wrote in the description shows as written. Atlas never guesses or checks passwords.
With comments on, a task of its own reads the comments in free.usenet and the spam reports in free.willey every poll_minutes, beside the spot passes, so a long spot pass (an hour with a backlog) doesn't hold them back. A comment's message-id starts with its spot's and may carry a 1 to 10 rating. A report names its spot in its subject. Every comment and report header goes in the main database (spot_comments, spot_reports), with a cursor per group and server, whether or not its spot is noted yet. Articles don't reach a server in the order they were posted. A comment's text is one small BODY, read once its spot is kept, at a quarter of concurrency and for one poll at most per pass. When a pass runs out of time with texts left, the next pass starts at once, without waiting poll_minutes, until the backlog is read. A body over 10 KB is no comment, usually an NZB posted by mistake, and is left out. Comments and reports whose spot isn't kept a week after they were noted are pruned. Saved spots stay in spots_seen for good, so comments on them keep coming. The first pass reads comment_days back. free.usenet gets about 1,600 comments a day across all spots (141,694 in the 90 days before 2026-11-07), so 60 days is about 95,000 overview lines, read once. The release page lists the comments oldest first, with who wrote each, when, and its rating. It also shows the mean rating and the number of spam reports.
[spots]
enabled = true| Key | Default | What it does |
|---|---|---|
enabled |
true |
Read spots while indexing. |
poll_minutes |
15 |
Minutes between passes. |
first_articles |
20000 |
How far back the first pass reads, in free.pt articles. That group gets about 340 a day, so the default covers about two months. |
per_pass |
200 |
Spots fetched whole in one pass at most. The rest wait for the next pass, newest first. |
concurrency |
16 |
Spots fetched at once. Comment texts are read at a quarter of this. Each request queues for a connection behind indexing, so on a busy indexer one at a time takes minutes a spot. |
comments |
true |
Read the comments and spam reports on the spots kept. |
comment_days |
60 |
How far back the first pass reads comments and reports, in days. The default matches how far back first_articles reads spots, so the comments read are on spots that can be kept. |
comments_per_pass |
2000 |
Comments whose text is read in one pass at most. The rest wait for the next pass, those on saved spots first, newest first. |
Both commands are dry runs until you add --apply.
atlas --purge deletes what no step can help. On its own it takes only fragments. Each other class has its own flag, and a release counts once, in the first class that takes it:
| Flag | Takes | Age needed |
|---|---|---|
--fragments |
Single middle parts of uploads obfuscated per article | dead_after_secs |
--blocked |
Blocked groups. The dry run lists each group with its counts. | None |
--too-small [--below BYTES] |
Releases under --below, by default body_min_size_bytes. The dry run shows a size histogram. |
dead_after_secs |
--image-only |
Releases whose every file is an image | dead_after_secs |
--rejected |
Par2-only and empty posts, and posts under min_files |
dead_after_secs |
--dead |
Releases under min_completion_percent |
dead_after_secs |
Stop indexing first, review the dry run (--sample N prints names), run it with --apply, then run atlas --compact, which is what gives the space back. A stopped run carries on from where it was. As estimates, deleting up to 34 million fragments takes about 35 minutes to 2.4 hours, and the compaction after it 1 to 2 hours, with free disk equal to the new total.
atlas --reprocess looks at stored releases again. --step NAME runs a step again, --step all runs every one, --group NAME limits it to a group, and --failed gives failed steps another try. It only queues the work, so it runs beside the indexer.
atlas --reflag-obfuscated flags old releases that the current check calls random, such as dotted, hyphenated, and short random names. They leave search and the API listing unless they have a real name. atlas --unname clears names taken from naming regexes and posted files, and brings later steps back to the release. Neither touches a name from an NFO, a PAR2 set, or an archive. Both are dry runs until you add --apply, take --sample N to show some names, and refuse to run with an indexer or a compaction going.
These are estimates. Over 118 million releases, --reflag-obfuscated takes about 2 to 10 minutes and writes at most about 12 GB of WAL. --unname of 15 million names takes about 5 to 10 minutes and writes about 30 to 60 GB of WAL. If a reader such as the API or the menu holds the WAL past 4 GiB in a shard, the command stops and says so. Run it again to go on from where it stopped.
Menu option 5 shows the indexer status, totals, a graph of headers per second over the last 30 minutes, and progress for each group. The totals include skipped, the articles left out as obfuscated per article. To go back, press q, Esc, or Ctrl+C.
- Current group: searches only the group you're in.
- All groups: searches everything you've indexed.
- Obfuscated posts: lists releases that still only have a random name, including dotted, hyphenated, and short random names. A flagged name with no real name stays out of search.
Searches match both the posted name and the real name found in par2 and nfo files. A post of several files shows the name of one of its files until a better name is found. Results show each release's category, or - if it has none yet. Choose a result to see its files, what's inside them if Atlas has read that, whether it's passworded, and save its NZB.
AI search lets you describe what you want in plain language, for example find me 4k hdr movies. The AI picks the groups and keywords, then fetches anything missing from your database. It needs Ollama running with the qwen3:4b model, or the model set in ATLAS_AI_MODEL. Speed depends on your hardware.
- Usenet servers: list, add, edit, and remove servers, including host, login, port, SSL, connections, and priority.
- Change indexer mode: switch between dynamic, live, and backfill.
- Purge broken releases: delete incomplete releases to free up space. It's one big transaction, so it refuses past 1 million incomplete releases in a shard, and
atlas --purge --deadis the batched way. - Wipe DB and cache: clear the database (
atlas.db, everyatlas.sN.dbshard andatlas.media.db, with leftovers of a compaction), logs, status, and stats. Stop the indexer first; it is refused while the indexer, a compaction or a save has the database. It keepsatlas.predb.db, because feeds can't give back old titles, and says so. Delete that file by hand to drop them. - Change API port: move the Newznab API and restart it with the current
api_host.
Menu option 8 opens a full-screen dashboard with six pages. Switch pages with the left and right arrow keys, Tab, or the number keys 1 to 6. To go back, press q, Esc, or Ctrl+C.
Shows the indexer's state, CPU use, CPU time, memory use, and system memory. It also shows the following:
- Headers per second now, on average, and at peak.
- Articles indexed this run and in total, and how many were skipped as obfuscated per article.
- How many configured groups are blocked.
- Database and WAL size.
- Network speed and how much header compression saves. Press
wto switch the graph between the last 30 minutes and the last 6 hours.
Shows backfill progress across all groups: the article numbers on the servers, how many Atlas has processed, the percentage done, and an estimated time to finish at the current and average rate. Two tables list the groups with the most left to do and the unfinished groups closest to done.
The totals cover each server's full retention, which runs to billions of articles in large groups. A group has one cursor per server it was indexed on, because article numbers differ between providers. The page counts each group once, using the cursor that got furthest.
The Usenet history panel converts those articles into time. While indexing, Atlas records when the posts at both ends of each group's indexed range were made, and works out how many articles each group gets per day. From that, the panel shows posts per day across your groups, how many days of history are indexed, in total, and left, how many days of history Atlas indexes per day, and how far back the backfill reaches in the middle group. A group needs indexed posts at least 30 minutes apart before it counts, so the panel fills in a few passes after you start the indexer.
Shows release counts across the whole database:
- Releases that are complete, obfuscated with no recovered real name, or have a recovered real name.
- Releases per category, and how many have none yet, which the API reports as
8000. - The NZBs you can build from what's indexed: every release with at least one saved article, and how many of those are complete.
- The total size the articles represent.
- The biggest release and the largest groups.
- Releases by file type, such as
.mkv,.mp4,.iso, and.m4a. - Releases whose name contains
framestor.
These counts read every release, which can take a few minutes on a large database. Atlas runs them in the background, caches the result in stats_cache.json, and shows the cached numbers next time. Press r to count again.
Shows one row per Usenet server for the current run: priority, state, whether it indexes, connections, headers fetched, share of the work, traffic, and compression savings. The connections column shows connections in use, allowed now, and configured.
| State | Meaning |
|---|---|
ok |
The server is working. |
resting |
The server couldn't connect. Atlas tries again within a minute. |
article only |
The server doesn't support GROUP, so Atlas uses it for article lookups only. |
login rejected |
Fix the username or password in config.toml. |
Names what limits indexing right now, and shows how busy each resource has been over the last 10 seconds:
| Resource | What it measures |
|---|---|
| Database writer | Share of the time the writer thread spends saving slices, how many slices wait for it, and how many slices go into each transaction. |
| Usenet connections | Connections in use against what the providers allow, and requests waiting for a free connection. |
| CPU | Cores the indexer uses, and how many of them parse headers. |
| Memory | System memory in use, and headers fetched but not saved yet against max_unsaved_headers. |
| Provider latency | How long a header request takes, and how many requests are in flight. |
| Network | Data received from the servers per second. |
| Disk | Data the indexer reads from and writes to disk per second. |
| Database size | The database size compared with the computer's memory. A database much bigger than memory makes the writer wait on the disk. |
The page names the database writer when it's busy at least 85% of the time, the connections when nearly all of them are in use or requests queue for one, and the CPU when it's nearly maxed out. When none of them is, more groups at once (parallel_groups) would keep them busier.
Open http://HOST:PORT/ in a browser to search and browse releases, filter by category, see a release's details and the files inside it, and download NZB files. It's served on the API port, by the same process, with nothing extra to install.
Sign in with the api_key from config.toml. The browser keeps a cookie for 30 days, derived from the key rather than the key itself, and changing the key signs everyone out. Traffic is plain HTTP, like the API, so keep it on a network you trust.
A release's page lists its other copies, once Atlas has read both: a twin is the same posting, with the same files, PAR2 set, recovery volumes and article counts, and an alt holds files of the same exact sizes packed differently, such as RAR5 and 7z. A release needs its archive or PAR2 set read to take part. A file twin is another posting, by anyone, under any names, whose PAR2 set describes one or more of this release's files the same way (the same size, first-16-KiB MD5 and whole-file MD5): it counts as a twin on the page, file by file. Every NZB Atlas serves, from the API's t=get and the web UI alike, has its gaps filled from its twins and file twins where their articles fit (the same part count, and the same size for every part both have), under this release's own names, so a download of an incomplete posting borrows what another posting of the same bytes still has. A twin lends every file; a file twin lends only the files its set vouches for, so two postings that share an NFO never swap archive parts. A part both postings have, that a step has read on both sides (segment_crc), has to hold the same bytes, or the other posting lends nothing of that file. Check such a download with its PAR2 set.
Duplicates, at the top of each page, lists every set of copies at once. Each copy shows its poster, email, PAR2 files, repair, health, encryption, password, tags, scores and links, so you can choose between them. The scores and posters are the ones already fetched, when someone opened the title.
A quick filter also finds the other ways its word is written, such as 4k and UHD for 2160p, or DoVi for DV.
Below a release's facts, six panels show everything else Atlas knows about it, from what it already stored: Names (the subject as posted, decoded and as a template, whether the subject, yEnc and archive names agree, what was obfuscated and where the real name came from, REPACK and PROPER tells, subjects posted with RFC 2047 words, the NFO's links, fields, shape and pasted reports, the PreDB match), Where and when (the Date header's form, the weekday and hour in the poster's zone, clock skews between the date headers, the time a message-id carries, and, for releases indexed from now on, the first and last article by the poster's clock, the posting rate, whether the files went up one after another or interleaved and in how many sessions, the article numbers read and whether they were adjacent, threaded replies, crossposts by Xref, whether the From changed between articles, the posting tool the message-ids name, the ids' own clock in milliseconds where the tool or the server wrote one, and the Highwinds session the articles came through), Posted by (the From header's shape, the injecting host and its backbone, which Injection-Info parts are present, the message-id grammar, the posting tool against its defaults; a Headers fold-out lists the kept headers), Inside (the type mix and volume sizes, the volume scheme, what it unpacks to, the packed ratio, packer tells, where the inner names came from, the PAR2 slice and repair capacity), Health (the yEnc control lines, subject and yEnc numbering, the last arrival, lines an article and the articles that came after a file sealed; a Parts fold-out maps every file's parts with its first and last ids and article sizes) and Keys (keys over the first message-id, the collection key, the twin and alt fingerprints, a structural key over the tracks, the archive's password check, a clickable NZBLNK as https://nzblnk.info/ specifies it (the name as t, the main file's subject as h, the group as g, and a {{password}} the name or subject carries as p; pasted into the search box or an API q=, an NZBLNK searches for its h), a key over the per-file line counts; a Hashes fold-out digests the segment set). Posting accounts and hosts are never printed: they appear as salted keys only, so two posts from one account can be lined up without reading it. Beside the account, host, structural and line-count keys, and the PAR2 set and OpenSubtitles hash when another release shares them, the panel says how many other releases share the key and links to a list of them (/ui/same). The keys step keeps those four keys in a small release_keys table, one row a release that has any, refreshed after each probe and as a release grows; on the first start after an upgrade it walks every release once to fill the table. A key shared is a lead for a reader, never a merge: nothing groups, links or completes releases by it. Every result row has a + that opens a drawer with ten of these facts, without leaving the list, and so has every copy on the duplicates page and under a release's other copies, cards and links alike.
The search box's More fields searches on Usenet group, poster, email, size (1234567890, or 1.5 GB as the pages write it, which finds every size written that way), release group, CRC32 and posting tool. Clicking any of those on a release's page does the same, and the results show a total. Each column heading sorts, both ways, instantly from an in-memory window of the first 2,000 results kept warm in the background.
With a Google Gemini API key configured in Settings (or via GEMINI_API_KEY), the Ask AI search bar translates natural-language queries (for example, 4K Dolby Vision remuxes of Dune, biggest first) into search terms, categories, quality filters, and sort order. Nothing from your index is sent to Google—only your question and the list of available categories and filter names. If the configured Gemini model is busy (503/429), Atlas retries and automatically falls back across Gemini Flash models.
Settings, in the masthead, edits what the terminal's Settings menu edits, behind the same sign in: the Usenet servers (add, change, remove; host, login, port, SSL, connections, priority, and whether a server indexes or only serves downloads), the indexer mode, groups indexed at once and the header cap, the groups to index (including provider search and add/remove), the API address, and the metadata provider keys. It writes config.toml the way the terminal does (the file is replaced whole, never half written) and the indexer picks the change up within a few seconds, as above. A password or key is write-only: the page says whether one is saved, never what it is, and an empty field keeps it. Every form carries a token tied to your sign in, so a page on another site can't change your settings with your browser's cookie; a form kept open across a restart of Atlas says so and has to be sent again.
Where something outside Atlas owns a setting, the page shows it read-only instead of taking a change the next start would undo: the servers and the API address when ATLAS_NNTP_* is set, the mode when ATLAS_INDEX_MODE is, and any config.toml key named in ATLAS_MANAGED_KEYS (for example ATLAS_MANAGED_KEYS=api_key,groups,parallel_groups for a container whose start script writes those).
Every page in the Web UI includes a persistent footer displaying the compile-time build metadata (Atlas - Rust Edition, authors, latest tag/version, git commit link, copyright year, GPL v3.0 license link, compiled Rust version, UTC compilation timestamp, and Patreon support link).
htmx (0BSD) is built into the binary from assets/, so the page needs no internet access. The look is Oxide, the design system of RustyGet, in light and dark.
Atlas provides a Newznab-compatible API, the protocol that Prowlarr, NZBHydra2, Sonarr, and Radarr use. Any compatible client can search releases and download NZB files.
- Endpoint:
http://HOST:PORT/api, port9090by default.http://HOST:PORT/is the web UI, and shows the settings to use before you sign in. - Binding:
127.0.0.1by default. To reach the API from other machines, setapi_host = "0.0.0.0"inconfig.tomlor setATLAS_API_HOST, then restart Atlas. - Authentication:
t=capsworks without a key. Every other call needsapikey. A wrong key returns a401Newznab error.
t= |
Meaning | Key needed |
|---|---|---|
caps |
Capabilities: server info, supported search types and parameters, and categories. | No |
search |
Release search. q is optional, and an empty query returns recent releases. |
Yes |
tvsearch |
TV search. Atlas adds season and ep to the query as S01E02. It takes IDs when a provider is on. |
Yes |
movie |
Movie search by q. It takes IDs when a provider is on. |
Yes |
music, audio |
Music search by q. |
Yes |
book |
Book search by q. |
Yes |
get |
The NZB for a release, by id. Add file=N for one of its files alone, counting from 1 in the order the whole NZB lists them. Or name= with a file's name, as the release page links each file. |
Yes |
files |
Not in the Newznab spec. The files a release's NZB lists, by id: <file n="N" name="..." size="..." articles="..."/> each, where n is the file=N that get takes. A file whose articles carry no name has no name. Frozen releases have no list. |
Yes |
A search by an ID that's on (see TV and movie IDs) returns the releases with that ID, and when it finds nothing a q next to it searches by name. An ID that's off counts as not given: alone it returns an empty result rather than an error, and next to q it searches by q.
| Parameter | Applies to | Description |
|---|---|---|
apikey |
all except caps |
Your API key. |
q |
searches | Words matched against posted and real release names. |
season, ep |
tvsearch |
Season and episode, matched as S01E02. A daily show is season=2025&ep=11/10, the year and MM/DD. |
tvdbid, imdbid, rid, tvmazeid, tmdbid, traktid |
tvsearch |
IDs, when on. imdbid takes tt0100001 or 0100001, and tvrageid is read as rid. Several IDs mean any of them. |
imdbid, tmdbid, traktid |
movie |
IDs, when on. |
cat |
searches | A comma list of categories. A parent includes its subs, so 5000 includes 5040. -1 or text that isn't a number means no filter, and an id that doesn't exist matches nothing. See Categories. |
limit |
searches | Maximum results. The default and the maximum are both 100. |
offset |
searches | Result offset for paging. |
incomplete |
searches | Not in the Newznab spec. Searches list only complete releases (every file the post names, each with all its parts), as the web UI's "Hide incomplete" does, and read on past incomplete ones to fill a page (up to 10 pages' worth, so a page can come out short when more follow). incomplete=1 lists the others too, each with <newznab:attr name="complete" value="0"/>. |
id |
get |
Release ID from a result's <guid>. |
# capabilities (no key)
curl "http://localhost:9090/api?t=caps"
# search, key required
KEY=$(sed -n 's/^api_key = "\(.*\)"/\1/p' config.toml)
curl "http://localhost:9090/api?t=search&apikey=$KEY&q=matrix&limit=25"
curl "http://localhost:9090/api?t=tvsearch&apikey=$KEY&q=Some+Show&season=1&ep=2"
# download an NZB
curl -OJ "http://localhost:9090/api?t=get&id=1234&apikey=$KEY"- Type: Newznab (generic)
- URL:
http://ATLAS_HOST:9090 - API path:
/api - API key:
api_keyfromconfig.toml - Categories: the ones you want, for example
TV (5000),Movies (2000), andOther (8000)to see everything else.
Each settled release gets a real Newznab category from its final name, its group, and its poster. It re-runs when the name improves. No network, and no article bodies.
| Root | Sub-categories |
|---|---|
| 1000 Console | 1010 NDS, 1020 PSP, 1030 Wii, 1040 Xbox, 1050 Xbox 360, 1060 WiiWare VC, 1070 Xbox 360 DLC, 1080 PS3, 1110 3DS, 1120 PS Vita, 1130 WiiU, 1140 Xbox One, 1180 PS4, 1999 Other |
| 2000 Movies | 2010 Foreign, 2030 SD, 2040 HD, 2045 UHD, 2050 3D, 2060 BluRay, 2070 DVD, 2080 WEBDL, 2090 X265, 2999 Other |
| 3000 Audio | 3010 MP3, 3020 Video, 3030 Audiobook, 3040 Lossless, 3050 Podcast, 3060 Foreign, 3999 Other |
| 4000 PC | 4010 0day, 4020 ISO, 4030 Mac, 4040 Phone-Other, 4050 Games, 4060 Phone-IOS, 4070 Phone-Android |
| 5000 TV | 5010 WEB-DL, 5020 Foreign, 5030 SD, 5040 HD, 5045 UHD, 5060 Sport, 5070 Anime, 5080 Documentary, 5090 X265, 5999 Other |
| 6000 XXX | 6010 DVD, 6020 WMV, 6030 XviD, 6040 x264, 6041 HD Clips, 6042 SD Clips, 6045 UHD, 6046 VR, 6047 OnlyFans, 6050 Packs, 6060 Imageset, 6080 SD, 6090 WEBDL, 6999 Other |
| 7000 Books | 7010 Magazines, 7020 Ebook, 7030 Comics, 7040 Technical, 7060 Foreign, 7999 Other |
| 8000 Other | 8010 Misc, 8020 Hashed |
A category arrives after a release settles: 15 minutes if it's complete, 2 hours otherwise. Your existing releases get theirs on the walk, newest first.
A release with no stored category reports 8000 and matches cat=8000. That covers everything not reached yet, rejected, unrecognized, or hidden. cat=8020 holds only visible names with a hash in them, because other hashed names are hidden or stay under 8000.
7000 is Books, not Other as Atlas reported it before. If a client has Other (7000) saved, change it to 8000.
These go in a category object:
| Key | Default | What it does |
|---|---|---|
enabled |
true |
Run the step. Off: no new categories, and existing ones are still served. |
foreign |
true |
Foreign rules on. |
web_dl |
false |
WEB-DL goes to 5010 and 2080. Off: 5040 and 2040, the HD categories clients search by default. |
foreign and web_dl change only what's processed next. atlas --reprocess --step category --apply applies them to old releases.
Atlas stores the title, season, episode, air date, and year of every release whose name gives a TV or movie category, with no network. A group's name alone isn't enough for that. With nothing else set, results have season and episode, and no ID search is offered.
Turn a provider on to fill in IDs, with no restart. Each title is asked once, however many releases it has, and every release of the title gets its IDs. A new provider starts one walk of your releases, which asks that provider for each title.
| Provider | How to turn it on | Fills | tv-search parameters |
movie-search parameters |
|---|---|---|---|---|
| TVMaze | On by default, as it needs no key. media.tvmaze.enabled: false turns it off. TV only. |
TVMaze, TVDB, TVRage, IMDb | tvdbid, imdbid, rid, tvmazeid |
none |
| TMDB | media.tmdb.api_key, from your account's API settings on themoviedb.org. |
TMDB, TVDB, TVRage, IMDb | tvdbid, imdbid, rid, tmdbid |
imdbid, tmdbid |
| Trakt | media.trakt.client_id, from an API app you create on trakt.tv. |
Trakt, TVDB, TVRage, TMDB, IMDb | tvdbid, imdbid, rid, tmdbid, traktid |
imdbid, tmdbid, traktid |
| TheTVDB | media.tvdb.api_key, from your account on thetvdb.com, and media.tvdb.pin for a user-supported key. TV only. |
TVDB, IMDb, TMDB, TVMaze | tvdbid, imdbid, tvmazeid, tmdbid |
none |
Search results in the web UI have quick filters for resolution, HDR and source, and tags for copies and any score already fetched. In the API, each item also carries poster, group, resolution, video, audio, hdr, source, language and team attributes read from its name, and twins and alts when it has copies.
Opening a release in the web UI also shows its overview, cast, dates and poster from TMDB, its ratings from OMDb when media.omdb.api_key is set (a free key from omdbapi.com), and its Trakt rating when Trakt is on. These are fetched when the page opens, and the indexer also fetches them in the background for every title with an id, at media.details_per_minute titles a minute (120 by default, 0 turns it off). So results show thumbnails and scores without anyone opening a release. They're kept for 30 days in atlas.details.db, with posters in posters/, at most 4 GB. A show TMDB has no record of comes from TheTVDB when media.tvdb.api_key is set, and the page has a backdrop where TMDB has one. With neither key, the page leaves all this out. In results, Best rated sorts by the scores already kept, with the rest last. The Rated 6+, 7+ and 8+ chips keep only releases whose title has a kept score that high (IMDb, else TMDB, else Trakt, out of 10), leaving unrated ones out; the count above the results then reads "Up to". With a sort, they filter the sorted window of 2,000. Any provider's requests_per_minute can be -1 for no limit, for a plan that has none.
AlloCiné numbers are read as titles. French groups (FRQC, GL0P, SUPPLY, BYOR and others) name a release after its AlloCiné page, as in AC31594.2024.S02E05.Love.and.Be.Loved.MULTi…-BYOR for series 31594, Dark Matter, or AC317772.2026.MULTi.VFF…-FRQC for film 317772, Matchbox: The Movie. A name with an episode is a series, and one without is a film: AlloCiné numbers the two apart. Atlas asks Wikidata, which lists most AlloCiné numbers beside their IMDb, TMDB and TVDB IDs, and those IDs go on the release with no search. Where Wikidata has no entry, the AlloCiné page gives the title (the original one where it shows it) and the year. Either way the providers are then asked by that title, never by the number. media.allocine.enabled: false turns it off. Each number is asked once, like any title.
An NFO needs no provider. With a body budget, media.nfo reads a movie's IMDb ID from its NFO: one body of at most 64 KiB, and only for a movie with no IMDb ID yet. That also adds imdbid to movie-search.
Sonarr and Radarr cache caps for 7 days, so press Test on the indexer after turning a provider on.
[media]
[media.tvmaze]
enabled = true
[media.tmdb]
api_key = "your-key"
[media.trakt]
client_id = "your-id"| Key | Default | Meaning |
|---|---|---|
parse |
true |
Store titles, seasons, and episodes. Off: no rows and no IDs. |
nfo |
true |
Read a movie's IMDb ID from its NFO, once a body budget is set. |
negative_ttl_days |
30 |
How long a title with no match isn't asked again. It doubles each time, up to 180 days. |
max_titles |
10000000 |
No new title is looked up past this many, about 300 MB of memory and 1.3 GB of disk. At least 1,000. |
tvmaze.requests_per_minute |
90 |
At most 120. |
tmdb.requests_per_minute |
240 |
At most 3,000. |
trakt.requests_per_minute |
120 |
At most 200. |
tvdb.requests_per_minute |
120 |
At most 600. |
allocine.requests_per_minute |
30 |
For Wikidata and for allocine.fr, each. At most 120. |
A provider that's down or over its limit pauses for its own wait, up to an hour. Nothing else stops, and no title is marked as missing. Its answers live in atlas.media.db, next to the shards, and the IDs live on the releases, so deleting that file loses no search. To correct a wrong match, stop the indexer, delete the title's row from media_titles, start it, and run atlas --reprocess --step media_lookup.
These are estimates for 1M distinct titles, 300,000 TV and 700,000 movie, 60% found. They scale with the number of titles.
| Providers on | Requests | At the defaults |
|---|---|---|
| TVMaze | 420,000 | 3.2 days |
| TMDB | 1.6M | 4.6 days |
| Trakt | 1M | 5.8 days |
| TVMaze and TMDB | 2.02M | 4.6 days |
| All three | 3.02M | 5.8 days |
After that, a new release of a known title makes no request. Above about 8 requests a second in total, raise postprocess.body_connections.
Each <item> contains:
<title>: the release name.<guid>: the release ID fort=get.<link>and<enclosure>: the NZB URL.<size>: the size in bytes.<pubDate>: the post date in RFC 2822 format.<newznab:attr name="category" value="5040"/>: its category, or8000when it has none yet.<newznab:attr name="password" value="N"/>: 0 no, 1 yes, 2 maybe. It's left out when nothing is known.season,episode,year, andtvairdateattributes, when the name gives them.tvdbid,tvmazeid,traktid,tmdbid,rageid,tvrageid,imdb, andimdbidattributes, when the release has that ID and its parameter is on. IMDb IDs have at least 7 digits, with nott.
t=get answers with application/x-nzb and a Content-Disposition attachment that holds a valid NZB 1.1 file built from the indexed articles, so a downloader can fetch it directly from the URL.
Shows releases due now, waiting for the network, and failed; how far the walks over existing releases have got; steps done, matched, and retried; rejections by reason; and bodies against their budget.
Atlas can serve Prometheus metrics. It's off by default. To turn it on:
[metrics]
enabled = true
host = "0.0.0.0"| Key | Default | Meaning |
|---|---|---|
enabled |
false |
Serve /metrics and /healthz, and walk the catalog. |
host |
127.0.0.1 |
Address to listen on. The metrics have no login, and they name your groups and servers, so keep them off the internet. They never hold a password or API key. |
indexer_port |
9092 |
Port of the background indexer's numbers. |
api_port |
9093 |
Port of the menu and API process's numbers. |
catalog_every_secs |
1800 |
Seconds between walks over every release, at least 60. A walk reads every release off the disk, so the rest after one is also at least 4 times as long as it took. |
The indexer and the menu are separate processes, so each has its own port. A process's counters start over when it does, which Prometheus rate functions expect. If its port is still held when it starts, for example by the old process on its way out, it keeps trying every 5 seconds and indexing goes on meanwhile.
Totals about what is stored, such as categories, sizes, groups, release groups, and PreDB matches, take a walk over every release. The walk runs in short reads that hold no WAL. Its last result is saved in metrics_catalog.json and read back at a start, so a restart doesnt blank them, and the next walk waits out the rest of its interval. Blocked groups are left out of every metric.
deploy/victoriametrics/atlas-scrape.yml is the scrape config. deploy/grafana/dashboards.py holds seven Grafana dashboards as code. To put them in an Atlas folder:
python3 deploy/grafana/dashboards.py build
GRAFANA_USER=admin GRAFANA_PASSWORD=... python3 deploy/grafana/dashboards.py push http://grafana:3000You can also import them by hand from grafana/; python3 deploy/grafana/dashboards.py export writes those copies again after a change. The dashboards page shows six of them. The seventh, Atlas: Sealed log, has no screenshot yet; see Measuring the sealed log.
The screenshots come from a real instance, with its address, host name and news server names replaced by placeholders.
Overview
| Variable | Description |
|---|---|
ATLAS_HOME |
Folder that holds config.toml, atlas.db and its shard files, and logs. The default is ~/.atlas, or the binary's own folder when it already holds a config or atlas.db. just run and cargo run use the repository folder. |
ATLAS_NNTP_HOST, ATLAS_NNTP_PORT, ATLAS_NNTP_USER, ATLAS_NNTP_PASS |
One server from the environment. It goes first, ahead of usenet_servers. Atlas still saves groups and the API key in config.toml, but never writes these credentials to it. |
ATLAS_NNTP_CONNECTIONS |
Connections for that server. Default: 10. |
ATLAS_INDEX_MODE |
dynamic, live, or backfill. |
ATLAS_API_HOST |
Interface the API binds to. See api_host. |
ATLAS_API_PORT |
API port. See api_port. |
OLLAMA_HOST |
Ollama server for AI search. Default: 127.0.0.1:11434. |
ATLAS_AI_MODEL |
Ollama model for AI search. Default: qwen3:4b. |
GEMINI_API_KEY |
Google Gemini API key for Ask AI in the Web UI (can also be saved in Settings in the Web UI). |
ATLAS_NO_KEYRING |
Skips the OS keyring and keeps passwords in config.toml. |
ATLAS_MANAGED_KEYS |
Comma-separated config.toml keys something outside Atlas writes (a container's start script, say), such as api_key,groups,parallel_groups. The Web UI's Settings page shows them read-only. |
ATLAS_PROFILE |
Set to 1 to log a timing breakdown of the indexer every 30 seconds. |
ATLAS_SAB_HOST, ATLAS_SAB_PORT, ATLAS_SAB_DIR, ATLAS_PYTHON |
Optional SABnzbd handoff. See Direct downloads. |
The menu's Download option can still send a release to SABnzbd: Atlas writes the NZB into SABnzbd's watched folder and copies your servers into its config. It uses the bundled SABnzbd-5.0.4, which needs Python 3 and pip install -r SABnzbd-5.0.4/requirements.txt, or an existing SABnzbd at ATLAS_SAB_HOST:ATLAS_SAB_PORT.
Atlas is mainly a Newznab server now. The usual setup is a downloader, such as SABnzbd or NZBGet, that fetches NZB files from the Atlas API through Prowlarr or your Sonarr and Radarr apps.
Stop indexing, then copy atlas.db and its 8 shard files together:
mkdir -p backup && cp atlas.db atlas.s*.db atlas.predb.db backup/On APFS, cp -c makes the copy instantly and only uses space as the files change afterward. Atlas still opens databases from the Python version and converts them once, as described in Converting an older database.
Common tasks are just recipes. Run just to list them.
| Recipe | What it does |
|---|---|
just run |
Runs an optimized build of Atlas. Arguments pass through, for example just run --selftest. |
just test |
Runs all tests: unit tests, a parity test against the old Python subject parser, and end-to-end runs against mock NNTP servers that cover indexing, search, NZB files, the API, failover, parallel groups, compression, provider quirks, and stopping with a stuck request. |
just format |
Runs cargo fmt. CI runs just format-check and just lint. |
just lint |
Runs cargo clippy with warnings treated as errors. |
just build, just build-release |
Optimized build in target/release/atlas. |
just build-no-ac3 |
Optimized build without the external filmcraft-ac3 decoder. |
just build-debug |
Debug build in target/debug/atlas. |
just build-remote, just build-remote-release |
Optimized build on another machine over SSH, copied back to target/remote/release/atlas. |
just build-remote-debug |
The same, as a debug build. |
just toolchain |
Shows which Rust the recipes use. |
The remote recipes need ATLAS_REMOTE_HOST, which can be any SSH destination with Rust installed, for example ATLAS_REMOTE_HOST=me@linuxbox just build-remote. The recipes sync the source with rsync into ~/atlas-build on that machine. To change the folder, set ATLAS_REMOTE_DIR. The recipes never send config.toml, atlas.db, or logs. You can keep per-machine settings like these in a .env file that git ignores, and just loads it automatically. See .env.example.
CI (.github/workflows/ci.yml) checks formatting, runs clippy, and runs the tests on Linux, macOS, and Windows.
| Path | Contents |
|---|---|
build.rs |
Compile-time build metadata (ATLAS_BUILD_VERSION, ATLAS_GIT_SHA, ATLAS_GIT_SHORT_SHA, ATLAS_RUSTC_VERSION, ATLAS_BUILD_DATE, ATLAS_BUILD_YEAR) embedded in the Web UI footer. |
src/nntp.rs |
Async NNTP client, per-server connection pools built on tokio and rustls, compression, and failover. |
src/indexer.rs |
One indexing pass over a group: slices, parsing, naming, and saving. |
src/bg_indexer.rs |
The background scheduler: workers per server, live config reload, and status and stats files. |
src/parser.rs, src/par2.rs, src/nfo.rs |
Subjects to releases, and real names and full file lists from par2 files, and names from nfo files. |
src/naming/ |
The obfuscation check, the judge of a name, cleaning, the naming regexes, the naming steps, and --reflag-obfuscated and --unname. |
data/, scripts/ |
The regex tables built into the binary, and the scripts that convert them from upstream. |
src/predb/ |
The PreDB file, its feeds and polling, matching, the late path, and --predb-import. |
src/category/ |
The category table, the rules, and the step that stores them. |
src/media/, src/ptt/ |
Titles from names, the ID providers, the title cache, posters/ratings, the steps, and ID searches. |
src/archive/, src/probe/, src/video/ |
Reading file lists and media tracks from up to 10 nested compressed layers (RAR4/5, ZIP, 7z, PPMd, LZMA2, bzip2, lz4), MKV/MP4 stream inspection, cover art, OpenSubtitles moviehash, H.264/HEVC intra keyframe decoders, video stills, and pHash same-film matching. |
src/collections.rs, data/collection_regexes.tsv |
Which articles belong to one post: per-group regexes and a generic cleaner. scripts/collection_regexes_to_tsv.py makes the data file from the upstream seeder. |
src/filters.rs |
What Atlas refuses to index: posts obfuscated per article and blocked groups. |
src/db.rs |
The main database: group cursors, connections, and checkpoints. |
src/store.rs, src/blob.rs, src/compact.rs, src/sealed_store.rs |
The 8 shard files: compact layout, release IDs, zstd sealed blobs, --compact, and remote sealed-log offload. |
src/convert.rs |
The one-time conversion of an older database. |
src/search.rs, src/field_search.rs, src/dates.rs |
Search across the shards, field search (--search-indexes), and overview timing forensics. |
src/duplicates.rs, src/release_info.rs, src/release_tags.rs |
Twin and alt duplicate clustering, gap-filled NZBs, cross-group and PAR2-linked post merging, release metadata, and tag parsing. |
src/postprocess/ |
The stage releases go through after saving: rules, steps, the two lanes, purge, and reprocess. |
src/api.rs, src/nzb.rs |
Newznab API and NZB building. |
src/web.rs, src/web_meta.rs, src/gemini.rs, assets/ |
Built-in Oxide Web UI, in-memory sort windows, six forensic release panels, + inline drawers, and Google Gemini Ask AI search. |
src/metrics/ |
The registry, every metric's name, the /metrics listener, and the catalog walk. |
deploy/ |
The scrape config and the Grafana dashboards. |
grafana/ |
The dashboards exported for import, their screenshots and the GitHub Pages site. |
src/app.rs, src/ui.rs, src/groups_menu.rs, src/ai.rs |
The terminal menus and AI search. |
src/dashboard.rs, src/stats_dashboard.rs |
The live dashboard and the stats dashboard. |
src/profile.rs |
Timing counters for ATLAS_PROFILE, and the load counters behind the Bottleneck page. |
examples/probe_connections.rs |
Connection limit probe. |
examples/bench_collections.rs |
What collection grouping costs against grouping by file name. |
examples/bench_filters.rs |
What the ingest filters cost per article and per call. |
- An upload obfuscated per article is recognized only with 16 of its middle parts in one slice, so files under 18 parts and stragglers at a slice's edge become releases as before.
- Files merge into one release only when a counter, a collection regex of the group, or a PAR2 set says they belong together.
- Two same-day posts by one poster with the same shape and file count merge, and that release stays incomplete.
- A pack merges only when each file's
[n/m]equals its own number, so a pack with an nfo first stays by file. - Album tracks named with the track number first stay by file.
- Deobfuscation works only when a release has a usable name in a par2 file, an nfo file, or the first article of an archive. A 7z or a ZIP needs its last article too.
- Searches by ID need a provider, or a body budget for a movie's IMDb ID. A title no provider knows has no IDs.
- Original Author: Eraxty built the original Python version of Atlas over 60 days and more than 100 hours, thanking the Hack Club community for the push to build it.
- Rust Port & Continued Development: Forked and ported to Rust by xbmc4lyfe in the Appz4Fun/Atlas repository, introducing the multi-server async NNTP engine, 8-shard compact SQLite storage, Oxide Web UI, 10-layer archive and media stream probing, pure-Rust H.264/HEVC keyframe still decoders,
pHashsame-film matching, twin/alt duplicate clustering, 6-page stats dashboard, Prometheus/Grafana observability, and extended Newznab API. - Upstream Ports & Libraries: The rule for articles obfuscated per article, collection regexes and cleaner, release rules, naming regexes and name fixing, PreDB feeds and matching rules, category rules, title parsing, candidate scoring, ID provider ordering, and
nntmux-yencare ported/shared from newznab-tmux / NNTmux, GPLv3. 7z headers are decoded with lzma-rs, MIT. - Media Metadata: This product uses the TMDB API but is not endorsed or certified by TMDB. TV data comes from TVMaze (CC BY-SA), Wikidata (CC0), AlloCiné, Trakt, and TheTVDB (please consider adding missing information or subscribing).
GNU General Public License v3.0 (local copy). The bundled SABnzbd uses GPL-2.0 or later and keeps its own license.
Atlas - Rust Edition. Authored by: Eraxty & Forked and ported to Rust by: xbmc4lyfe
Version: v0.0.0.1 · last git commit: 7bdc024 · © 2026 · License: GPL v3 (GNU General Public License v3.0) · Rust Version: 1.100.0
Donate to my Patreon to help with AI token cost and get prioritized features and personal support:
https://www.patreon.com/cw/xbmc4lyfe











