A self hosted Usenet indexer that lives in your terminal
Features • Install • Usage • Docker • Newznab API • Backup • Rust port
I built Atlas because I wanted to make a Usenet indexer. A lot of indexers today are paid and expensive, Meanwhile atlas is opensource and free. Atlas keeps the useful parts in one place, it reads your provider, works out which posts belong together, stores them locally and makes an NZB or Download directly depending on your needs when you find something.
You can use it in the terminal. If you already run Prowlarr, SABnzbd, or the *arr apps, its Newznab API gets into that setup too.
Atlas also has a much faster Rust port now. Check out the Rust.
- Index selected NNTP groups over SSL in live, backfill, or dynamic modes.
- Parse subjects into releases and mark incomplete sets.
- Search usenet through local AI using Ollama.
- Watch indexing progress in the terminal.
- Generate NZBs and send downloads to the bundled SABnzbd.
- Keeps the data in a local SQLite database.
You need:
- Python 3.10+
- A Usenet provider account (NNTP, SSL enabled)
git clone https://github.com/Eraxty/Atlas
cd Atlas
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
python main.pyPrefer containers? Skip to Docker.
It also got pre built binaries on the release page.
- Download
atlas-linux. - Make it executable and run it:
chmod +x atlas-linux
./atlas-linux- Download
atlas-windows.zip. - Extract it. It contains both
atlas-windows.exeandatlas.bat. - Double click
atlas.bat. It opens a terminal and starts Atlas.
If it doesnt work run it manually from a terminal
cd atlas-windows
.\atlas-windows.exe- Download
atlas-macos. - Make it executable and run it:
chmod +x atlas-macos
./atlas-macosOn first run, Atlas asks for your provider credentials:
| Field | What to enter |
|---|---|
| Host | Your provider's NNTP server. Use the domain only, e.g. news.yourprovider.net |
| Username | Your provider username |
| Password | Your provider password |
| Port | 563 for SSL. Leave the default as it is |
Your password is stored in your OS keyring when possible. If keyring isn't available it falls back to config.json.
Go to Groups -> search -> add. Text groups and empty groups are filtered out by default.
Note: indexing reads headers from the Usenet source server. It does not scan your computer.
Start the indexer from the main menu. Atlas starts pulling headers for every group you've selected. It also starts up the SABnzbd in the background so downloads are ready when you want them.You can also pick a mode for indexing bassed on your needs:-
| Mode | Behavior |
|---|---|
dynamic |
Alternates backfill and live passes, keeping up with new posts while building history |
backfill |
Indexes backward from the latest release only |
live |
Indexes forward from the latest release only and ignores older posts |
Two search options are available :-
- Current group: search only the group you are in
- All groups: search everything you have indexed
AI search lets you describe what you want in plain language like (find me 4k hdr movies). The dumb AI selects the groups and keywords, then fetches anything missing from your database. It needs Ollama running locally, qwen3:4b model, Also speed of AI depends on your hardware because its local.
Select a release and chooseif u want to download NZB or download directly. Downloading directly will:
- Start SABnzbd if it isn't already running
- Generate an NZB for the selected release
- Drop it into SABnzbd's watched folder
- Opens SABnzbd in browser
Finished files are in ~/Downloads/complete.
- Change config: edit server credentials or groups without a full reset
- Change indexer mode: switch between same three modes told earlier
- Purge broken releases: delete incomplete releases to free up space
- Wipe DB and cache: clear the database, logs, status, and stats (stop the indexer first)
- Change API port: move the Newznab API off
9090if that port is taken
No need to build locally just pull and run :-
docker pull ghcr.io/eraxty/atlas:latestdocker run -dit --name atlas \
-e ATLAS_NNTP_HOST=news.your-provider.net \
-e ATLAS_NNTP_USER=youruser \
-e ATLAS_NNTP_PASS=yourpass \
-e ATLAS_API_HOST=0.0.0.0 \
-p 9090:9090 \
-v atlas-data:/app/data \
ghcr.io/eraxty/atlas:latestneeds -it because Atlas is a terminal app, and ATLAS_API_HOST=0.0.0.0 lets the API be reached from outside the container.
Check if it's running :-
curl http://localhost:9090/api?t=capsThe compose file runs Atlas, SABnzbd, and Prowlarr on same Docker network. They use service names instead of host IPs. Atlas reaches SABnzbd at sabnzbd:8080 because they share the SABnzbd config volume.
-
Fill in your provider credentials in
docker_compose.yml:ATLAS_NNTP_HOST,ATLAS_NNTP_USER,ATLAS_NNTP_PASS
That file is tracked by git, so don't commit your real password into it.
-
Bring it up:
docker compose -f docker_compose.yml up -d
-
Grab the Atlas API key (generated on first run, then stored in the
atlas-datavolume so it survives restarts, and also written to config.json):docker compose -f docker_compose.yml logs atlas | grep "api key"
-
Point Prowlarr at Atlas:
- Open Prowlarr at
http://localhost:9696 - Go to Indexers then Add Indexer then Newznab
- Name:
Atlas - URL:
http://atlas:9090(service name, same network) - API Path:
/api - API Key: the key from step 3
- Category:
Other(7000) - Run Test. It should be green, then save the indexer
- Open Prowlarr at
Atlas is exposed on http://localhost:9090 for Prowlarr on the host setups too.
Run these two checks:
docker compose -f docker_compose.yml ps
curl http://localhost:9090/api?t=capsThe first should show Atlas, Sabnzbd, and Prowlarr as Up. The second should return <caps> XML. This endpoint does not need an API key.
Atlas opens its setup wizard when the NNTP credentials are empty. Fill in ATLAS_NNTP_USER and ATLAS_NNTP_PASS in the compose file, then run
docker compose -f docker_compose.yml up -d --force-recreate atlasStop everything with:
docker compose -f docker_compose.yml downRebuild after code changes with:
docker compose -f docker_compose.yml up -d --buildIf you are already running SABnzbd and Prowlarr, You don't need the full stack, run Atlas and point it at your existing services.
-
Run only Atlas (swap
docker build+atlasfordocker pull ghcr.io/eraxty/atlas:latestif you don't want to build):docker build -t atlas . docker run -d --name atlas \ -e ATLAS_NNTP_HOST=news.your-provider.net \ -e ATLAS_NNTP_USER=youruser \ -e ATLAS_NNTP_PASS=yourpass \ -e ATLAS_SAB_HOST=172.17.0.1 \ -e ATLAS_SAB_PORT=8080 \ -e ATLAS_API_HOST=0.0.0.0 \ -p 9090:9090 \ -v atlas-data:/app/data \ atlasATLAS_SAB_HOSTpoints to your SABnzbd. Use172.17.0.1when it runs on the host, host.docker.internal on Docker Desktop or the service name of its container.ATLAS_API_HOST=0.0.0.0is required so the published port can reach the API without it, Atlas defaults to127.0.0.1and stays on localhost. -
Get the API key from the logs:
docker logs atlas | grep "api key"
-
Add Atlas to your existing Prowlarr as a Newznab indexer:
- Name:
Atlas - URL:
http://<host-or-ip>:9090 - API Path:
/api - API Key: the key from step 2
- Category:
Other(7000) - Run Test, then save
- Name:
Set these in docker_compose.yml (fresh setup) or on docker run (existing stack):
| Variable | Description |
|---|---|
ATLAS_NNTP_HOST |
Your provider's server |
ATLAS_NNTP_PORT |
Default 563 |
ATLAS_NNTP_USER |
Your username |
ATLAS_NNTP_PASS |
Your password |
ATLAS_INDEX_MODE |
dynamic / live / backfill |
ATLAS_API_PORT |
Port for Atlas's Newznab API Defaults to 9090 |
ATLAS_API_HOST |
Interface the API binds to. Defaults to 127.0.0.1 (localhost only). Set to 0.0.0.0 to accept connections from other hosts or containers. The compose stack sets this so Prowlarr can reach Atlas over the Docker network |
ATLAS_SAB_HOST |
Hostname of your SABnzbd (sabnzbd in the compose stack) |
ATLAS_SAB_PORT |
SABnzbd's port. Defaults to 8080 |
ATLAS_HOME |
Directory holding config.json, atlas.db, and logs the Docker image sets this to /app/data |
Atlas exposes a generic Newznab compatible API, the protocol used by Prowlarr, Sonarr, Radarr, and SABnzbd. Any compatible client can search releases and fetch NZB's.
- Endpoint:
http://<host>:<port>/api. The port defaults to9090. - Binding: the API listens on
127.0.0.1by default. SetATLAS_API_HOST=0.0.0.0to expose it to other machines or containers. - Authentication:
t=capsworks without a key. Every other operation needs theapikeyparameter. A missing or wrong key returns a401Newznab error.
t= |
Meaning | Auth |
|---|---|---|
caps |
Capability discovery (server info, supported params, categories) | No |
search |
Release search. q is optional; an empty query returns recent releases |
Yes |
get |
Download the NZB for a release by id |
Yes |
| Param | Applies to | Description |
|---|---|---|
apikey |
all (except caps) |
Your API key |
q |
search |
Plain word search terms matched against release names |
cat |
search |
Accepted for compatibility; Atlas currently indexes category 7000 (Other) only |
limit |
search |
Max results, default 100, clamped to 100 |
offset |
search |
Result offset for pagination |
id |
get |
Release ID from a search result's <guid> |
# capabilities (no auth)
curl "http://localhost:9090/api?t=caps"
# search releases, key required
KEY=$(jq -r .api_key config.json)
curl "http://localhost:9090/api?t=search&apikey=$KEY&q=matrix&limit=25"
# download the NZB for a specific release
curl -O "http://localhost:9090/api?t=get&id=1234&apikey=$KEY"Under Docker, config.json lives in the atlas-data volume, so read the key from there instead of the host:
KEY=$(docker compose -f docker_compose.yml exec -T atlas jq -r .api_key /app/data/config.json)t=caps advertises search (q, limit, offset, with up to 100 results), one category (7000, Other), and no registration. That is why Prowlarr should use category Other (7000) during setup.
Each <item> carries Newznab-compatible metadata:
<title>: release name<guid>: release ID, used witht=get<link>/<enclosure>: NZB download URL<size>: total size in bytes<pubDate>: posted date in RFC 2822 format<newznab:attr name="category" value="7000"/>: category
Prowlarr reads these to evaluate hits and hands the <enclosure> URL (Atlas's t=get endpoint) to the downloader. t=get responds with application/x-nzb and a Content-Disposition attachment header containing a valid NZB 1.1 file built from the indexed articles, so SABnzbd can grab it straight off the URL.
Under Docker, the database lives in a volume. Make sure the compose service is running then :-
docker compose -f docker_compose.yml exec atlas cp /app/data/atlas.db /app/atlas.db
docker cp atlas:/app/atlas.db ./backup.dbRunning from source :-
cp atlas.db ./backup.dbTested on Arch Linux, x86_64. Other distros may work but aren't officially verified.
Partial deobfuscation support via par2 Windows exe and Mac build might not work properly
Built by Me over 60 days and 100+ hours. It is my biggest project so far Thanks to the Hack Club community for pushing me to build something like this.
AI helped with bug fixes, refactoring, SABnzbd integration, the background indexer, and terminal UI polish, Docker setup ,Testing and few more small things.
GPL-3.0. Bundled SABnzbd is GPL-2.0 or later and remains under its own license.


