rusty4444/reverb-downloader
Über uns
Self-hosted audiobook search, download and convert for Audiobookshelf. Hosts no files.
Systeme und InfrastrukturWhat you can do
- Discover. Popular, trending and new books and genre shelves from the catalogues you have switched on, backed by a durable daily cache that prewarms on startup and refreshes automatically in the background without slow page loads.
- Progressive search across every enabled catalogue at once — faster catalogues appear immediately while slower ones finish, with size, running time and (for torrents) seeders and leechers.
- Download queue with live progress, resumable transfers, automatic restart recovery, Cancel for active jobs, manual Retry, and a built-in torrent client (aria2) that never seeds.
- TorBox (optional). Send torrents through your TorBox account instead of the built-in client, and see which search results TorBox already has cached.
Gemessener Sternzuwachs
- in 24h
- +3
- in 7 days
- Verlauf wird gesammelt
- in 15 days
- Verlauf wird gesammelt
- in 1 month
- Verlauf wird gesammelt
Nettoänderungen in überlappenden Zeiträumen, keine Tagessummen. Fehlende Messwerte bleiben leer. Sterne zeigen Interesse, nicht Qualität.
README.md
OriginalReverb
Self-hosted audiobook search, download and convert. Reverb finds a book in the catalogues you switch on, downloads it,
converts it to a chaptered M4B and files it as Author/Title/ in the folder your
Audiobookshelf library watches. One small Python file, no database server, no account.

[!IMPORTANT] Reverb hosts no files and comes with no content. It is a search and download tool that talks to third-party catalogues which you choose to switch on. You are responsible for what you download with it. Only download books you have the right to download, such as public-domain recordings or books you are licensed to copy, and follow the law where you live. A new install searches LibriVox (public-domain recordings) only. The software is provided "as is", without warranty of any kind; see Licence.
Features
- Discover. Popular, trending and new books and genre shelves from the catalogues you have switched on, backed by a durable daily cache that prewarms on startup and refreshes automatically in the background without slow page loads.
- Progressive search across every enabled catalogue at once — faster catalogues appear immediately while slower ones finish, with size, running time and (for torrents) seeders and leechers.
- Download queue with live progress, resumable transfers, automatic restart recovery, Cancel for active jobs, manual Retry, and a built-in torrent client (aria2) that never seeds.
- TorBox (optional). Send torrents through your TorBox account instead of the built-in client, and see which search results TorBox already has cached.
- Converts to M4B with chapters, cover art and title/author tags, or keeps MP3 if you prefer.
- Tidy library. Books are saved as
Author/Title/. A download that turns out to hold several books is split into one folder per book. - Audiobookshelf integration (optional). Finished books are picked up and matched automatically, books you already own are left out of Discover, and search results you already have are marked "In your library".
- Library file actions. Rename and move a book's folder, split a collection, or delete a book.
- Access keys and an app API, so a phone app can use your server. Yarn support is coming soon.
- In-app updates. Reverb checks this repository's GitHub releases, shows the changelog when a new version is out and can install it for you.
- Works behind a filtering DNS. Falls back to DNS-over-HTTPS when a catalogue's address is blocked locally.
| Search | Downloads |
|---|---|
![]() |
![]() |
Settings

Quick start with Docker
Docker is the tested way to run Reverb. You need Docker with the Compose plugin.
git clone https://github.com/rusty4444/reverb-downloader.git
cd reverb-downloader
Edit docker-compose.yml so the first volume points at your audiobook folder (the same folder your Audiobookshelf
library uses), then:
docker compose up -d --build
Open http://<your-server>:8788. Settings and queue history live in the config volume.
To update: accept the update prompt in the web page (see Updates), or git pull && docker compose up -d --build.
Without Compose
docker build -t reverb .
docker run -d --name reverb --restart unless-stopped -p 8788:8788 \
-v /path/to/audiobooks:/data/audiobooks \
-v /path/to/reverb-config:/data/config \
reverb
Linux (without Docker)
Reverb needs Python 3.9 or newer and three command-line tools: ffmpeg (with ffprobe), aria2c and, for rar/7z
archives, unar. It uses only the Python standard library, so there is nothing to pip install.
# Debian / Ubuntu
sudo apt install python3 ffmpeg aria2 unar
# Fedora
sudo dnf install python3 ffmpeg aria2 unar
git clone https://github.com/rusty4444/reverb-downloader.git
cd reverb-downloader
REVERB_LIBRARY=/srv/audiobooks REVERB_CONFIG_DIR=/var/lib/reverb python3 app.py
To start it at boot, a minimal systemd unit (/etc/systemd/system/reverb.service):
[Unit]
Description=Reverb audiobook downloader
After=network-online.target
[Service]
User=reverb
WorkingDirectory=/opt/reverb-downloader
Environment=REVERB_LIBRARY=/srv/audiobooks
Environment=REVERB_CONFIG_DIR=/var/lib/reverb
ExecStart=/usr/bin/python3 /opt/reverb-downloader/app.py
Restart=on-failure
[Install]
WantedBy=multi-user.target
sudo systemctl daemon-reload && sudo systemctl enable --now reverb
The same steps work on macOS with brew install python ffmpeg aria2 unar.
Windows
The simplest route on Windows is Docker Desktop: install it, then follow Quick start with Docker
from PowerShell, using a Windows path for the library, for example C:/Audiobooks:/data/audiobooks.
To run it directly instead, install the tools with winget and start it from PowerShell:
winget install Python.Python.3.12
winget install Gyan.FFmpeg
winget install aria2.aria2
git clone https://github.com/rusty4444/reverb-downloader.git
cd reverb-downloader
$env:REVERB_LIBRARY = "C:\Audiobooks"
$env:REVERB_CONFIG_DIR = "$env:LOCALAPPDATA\Reverb"
python app.py
Open a new PowerShell window after installing so ffmpeg and aria2c are on your PATH. unar is optional and only
needed for rar/7z archives. Running directly on Windows is less tested than Docker; please open an issue if something
does not work.
Setting up
Everything is in Settings in the web page.
- Library folder. Where books are saved. It should be the folder Audiobookshelf watches.
- Format. M4B with chapters (default) or MP3.
- Sources. The catalogues Reverb searches. Only LibriVox is on to begin with.
- Audiobookshelf (optional). Enter your server address and an API token, then press Test connection. In Audiobookshelf the token is under Settings → Users → your user. With this set, Reverb asks Audiobookshelf to pick up and match each finished book, hides books you already own from Discover and marks them in search. The token is stored on your server and is never sent back to the browser.
- TorBox (optional). Paste your TorBox API key, press Test connection and choose when to use it. See TorBox.
- Access keys (optional). Create a key for each app that should use the server. A key is shown once.
Catalogues
| Catalogue | Default | What it is |
|---|---|---|
| LibriVox | On | Volunteer recordings of public-domain books, via the Internet Archive |
| Full Audiobooks, Golden Audiobooks | Off | Third-party streaming catalogues |
| Knaben, LimeTorrents, AudioBook Bay, The Pirate Bay | Off | Third-party torrent indexes. Downloads use the built-in aria2 client, which never seeds, or TorBox if you set it up |
| IRC | Off | An IRC book channel of your choice (server, channel and nickname are yours to set) |
Reverb does not operate, mirror or endorse any of these services and has no control over what they list. Whether a particular book may be downloaded depends on the book and on where you live. Check before you switch a catalogue on, and see the notice at the top of this page.
TorBox
TorBox is a paid service (with a limited free plan) that downloads torrents on its own servers.
With a TorBox API key in Settings → TorBox, Reverb hands torrents to TorBox and then fetches only the audio files
(and cover) over HTTPS. Your server opens no torrent connections for those books. The rest is unchanged: collections
are still split into books, converted and saved as Author/Title/.
Setting it up
- Get your API key from torbox.app/settings, under API key. Any plan works, including the free one, but the free plan's size and download limits are low.
- In Reverb, open Settings → TorBox (optional) and switch on Download torrents through TorBox.
- Paste the key into API key and press Test connection. It should say Connected as your TorBox email.
- Choose When to use TorBox (the default suits most people), then press Save settings at the bottom of the page. Nothing changes until you save.
- Make sure at least one torrent catalogue is on under Sources (Knaben, LimeTorrents, AudioBook Bay or The Pirate
Bay), or paste a
magnet:?link into Search.
Queue a torrent as usual. While TorBox is working, the download shows lines such as TorBox: downloading 42% · 3.1 MB/s and then TorBox: fetching file 3/24. To stop using TorBox, switch it off and save. Your key stays saved until you replace it.
When to use TorBox has three choices:
| Choice | What happens |
|---|---|
| Cached torrents, and when aria2c fails (default) | Torrents TorBox already has are fetched from TorBox straight away. Anything else goes to the built-in aria2 client, and to TorBox if aria2 finds no seeders, stalls or times out |
| Cached torrents only | TorBox for cached torrents. Everything else uses aria2 |
| Every torrent | Every torrent goes through TorBox. aria2 is not needed |
- Cached on TorBox. With Mark search results that TorBox has cached on, torrent results TorBox already holds show a ⚡ badge a moment after the results appear. AudioBook Bay and some LimeTorrents results need their detail page read first, so their badges can take a few seconds.
- Remove the torrent from TorBox once the book is in your library is on by default. Turn it off to keep a copy in your TorBox account. Deleting a download in Reverb also removes its torrent from TorBox.
- Retry carries on with the torrent already in your TorBox account instead of adding it again.
- TorBox's limits apply: 60 uncached torrents an hour per key, plus your plan's size, monthly and active-download limits. When the hourly limit is reached, Reverb waits and tries again. Other limits show as the download's error.
- The key is stored on your server and is never sent back to the browser. File links from TorBox are not logged.
If something goes wrong
- "TorBox did not accept that API key." The key is wrong or was reset. Copy it again from TorBox's settings page. Resetting the key in TorBox stops it working in Reverb too.
- No ⚡ badges. The badges only appear on torrent results, only when TorBox has that torrent cached, and only with Mark search results that TorBox has cached on. Check that TorBox is switched on and saved.
- A download fails with a TorBox message (for example about plan size or monthly limits). That is TorBox's own reason. Press Retry once the limit resets, or use a smaller torrent.
- TorBox: queued behind your account's active downloads. Your plan's limit on active downloads has been reached. It starts by itself when another TorBox download finishes.
- Downloads still use aria2 with TorBox on. That is expected in the first two modes for torrents TorBox has not cached. Choose Every torrent to send everything to TorBox.
Torrent waiting lane
The built-in aria2 client runs one torrent transfer at a time. Other torrents show Waiting for torrent slot with a queue position and start automatically in arrival order when the current transfer exits. Conversion/placement and HTTP or TorBox transfers do not occupy this lane. Waiting jobs retain their saved pieces and progress, survive server restarts and can be deleted without starting a transfer.
If an external process holds the torrent port, the front job shows Waiting for torrent port and retries every five
seconds without requiring Retry. Genuine failures (bad torrents, dead swarms, storage errors and timeouts) still report
errors rather than entering an endless retry loop. Previously failed torrent_port jobs are requeued on upgrade.
IPv6 bind warnings no longer masquerade as port conflicts; the built-in client uses IPv4 to work on IPv6-disabled hosts.
Download failures and diagnostics
Failed queue entries show a plain-English reason, a suggested next step and expandable Technical details. Torrent errors distinguish invalid links/torrent files, metadata timeouts, disconnected peers, DNS/network failures, full or inaccessible storage, integrity checks and interrupted transfers. Signed URLs and credentials are redacted.
Large torrents are no longer stopped simply because two hours have elapsed. Reverb allows five minutes to obtain magnet metadata and fifteen minutes without payload progress before reporting a stalled transfer. aria2 may also stop an inactive swarm earlier. A slow transfer that continues receiving data can keep running.
Retry keeps saved data, but cannot create missing peers or repair a dead source. If a release repeatedly stalls, try it later or choose another release. Storage, permission and invalid-source errors need the indicated problem fixed before retrying. Reverb does not endlessly auto-retry failed jobs.
API queue records retain error and detail for existing clients and add error_code, error_hint,
error_diagnostic and error_retryable (1 for a potentially transient failure, 0 when intervention is needed).
Resumable downloads, Retry and restarts
Each active or failed download keeps its working files and checkpoints in a per-download folder inside your config directory
(REVERB_CONFIG_DIR/temp/dl-<id>, which is inside /data/config in Docker) rather than /tmp.
An upgrade cannot recover partial files already deleted by an older version. Existing torrent payloads that are still
present can be hash-checked and reused; the durable HTTP checkpoints apply to transfers started by this version.
Mixed collections containing loose audio plus ZIP/RAR/7z or renamed .zab audiobook archives process both, rather than
silently skipping archived books. Failed collection placement retains its inputs and records every promoted output,
so deleting that failed job cleans up only its own files.
- Automatic recovery on restart. Downloads that were
queued,downloadingorconvertingwhen Reverb stopped or restarted are automatically re-queued on startup and continue from preserved progress. Historicallyfailedrows are not restarted automatically; click Retry when you want to try them again. - Manual Retry. Clicking Retry keeps the same download ID and workspace state and prevents the same job from running twice concurrently.
- Cleanup. Working files and checkpoints are preserved across failures and restarts, and are deleted automatically when a download finishes cleanly, when you cancel it, or when you delete the download. Cancelled rows stay in the queue with Retry (from scratch) and Remove, and are skipped by restart recovery.
- HTTP and chapter downloads. Transfers resume with HTTP
Rangerequests andIf-Range/ETag/Last-Modifiedand length validation. If a server does not supportRange, ignores it with200 OK, omits a usable identity validator, or the remote file/URL changes, Reverb safely restarts that file from byte 0 instead of splicing mismatched bytes. Multi-chapter books checkpoint each completed chapter so earlier chapters are not re-downloaded while an interrupted chapter resumes. - Torrents (aria2c and TorBox). Built-in
aria2ckeeps its payload files,.aria2control files and saved.torrentmetadata in the download workspace and verifies piece integrity on resume (--continue,--check-integrity,--auto-save-interval=15). TorBox reuses the existingtorbox_idand downloads delivery files through the same resumable HTTP helper. If smart TorBox fallback is tried after anaria2cfailure, existingaria2cpartials are kept in a separate folder rather than wiped. - Post-processing and conversions. Once a transfer finishes, its input files are kept in the workspace until the entire job (including multi-book collections) is placed in your library. If extraction, ffmpeg M4B conversion or library placement fails or is interrupted, Retry or restart skips re-downloading and restarts conversion/placement from the retained inputs. Limitation: ffmpeg M4B encoding itself restarts from the beginning of the conversion step rather than resuming mid-output bytes.
- IRC DCC. If a DCC transfer is interrupted mid-file, Reverb attempts standard CTCP
DCC RESUME/DCC ACCEPTon retry. Limitation: many IRC bots do not support offset resume; when a bot does not accept resume, Reverb honestly restarts the transfer from byte 0. Once a DCC file finishes downloading, it is retained across extraction, conversion and placement retries.
Updates
Reverb asks the GitHub API for this repository's releases when you open the web page, at most every six hours. It sends nothing about you or your library. When a newer release is out it shows the changelog with three choices:
- Update now downloads that release's
app.py, checks it compiles and reports the expected version, saves it asupdate/app.pyin the config folder and restarts Reverb on it. In Docker the config folder is a volume, so the update survives a restart. Reverb asks first if downloads are still running; interrupted jobs resume automatically after restart. - Later asks again next time you open the page. Skip this version stays quiet until the next release.
Settings → Updates has the on/off switch, Check now, and Roll back to return to the version you installed with. If an installed update fails to start, Reverb sets it aside on the next start and runs your original copy. When you pull or rebuild a version that is as new or newer, Reverb removes the in-app copy and runs the new one.
Under systemd, the restart replaces the process in place, so the unit keeps running. Turn the check off with
REVERB_UPDATE_CHECK=0, or keep the prompt but hide Update now with REVERB_UPDATE_INSTALL=0.
Configuration
| Variable | Default | Meaning |
|---|---|---|
PORT |
8788 |
Port to listen on |
REVERB_HOST |
0.0.0.0 |
Address to bind. Use 127.0.0.1 to keep it to the local machine |
REVERB_LIBRARY |
./library (/data/audiobooks in Docker) |
Default library folder |
REVERB_CONFIG_DIR |
./.reverb (/data/config in Docker) |
Database, cover cache and temporary files |
REVERB_ENCODE_WORKERS |
CPU count minus two, between 2 and 8 | Parallel ffmpeg encoders used when converting |
REVERB_UPDATE_CHECK |
1 |
0 stops Reverb asking GitHub for new releases |
REVERB_UPDATE_INSTALL |
1 |
0 keeps the update prompt but removes Update now |
Using it from an app
Apps talk to /api/client/… and must send an access key (Authorization: Bearer rvb_…). An app key can search,
queue downloads, read the queue and use the library file actions; it cannot read or change settings or manage keys.
| Call | Purpose |
|---|---|
GET /api/client/info |
Server name, version, library folder, enabled catalogues, whether TorBox is on, and capabilities (progressive_search, cancel_download) |
POST /api/client/search/jobs {q, source?} |
Start a progressive multi-source search job (202 Accepted snapshot); poll GET /api/client/search/jobs/<id> and cancel with DELETE /api/client/search/jobs/<id> |
GET /api/client/search?q=&source= |
Legacy blocking search (source=all or a catalogue id) |
GET /api/client/discover?view=overview|popular|new|trending|genre&genre= |
Discover shelves served from durable daily cache (refresh=1 triggers a coalesced background rebuild; response includes cache metadata) |
POST /api/client/downloads {source, source_id, format?} |
Queue a search result |
GET /api/client/downloads |
The queue, with status and progress |
POST /api/client/downloads/<id>/cancel |
Cancel a queued or running download, discarding partial files and keeping the row as cancelled |
GET /api/client/library, POST /api/client/library/rename|split|delete |
Books on the server and file actions |
POST /api/client/torbox/cached {items: [{source, source_id}]} |
Which torrent results TorBox has cached (cached: true, false, or null when unknown). Search returns torbox_badges: true when this is worth asking |
Yarn, an audiobook player for Audiobookshelf, local files and LibriVox, is gaining a Reverb connection (coming soon): browse Discover, search and send a book to your server from your phone.
Security
- Reverb is meant for your home network. Do not expose it directly to the internet. Put it behind a VPN or an authenticating reverse proxy if you need it away from home.
- Out of the box the web page needs no login, so anyone on your network can use it. Turn on Settings → Access keys → Require an access key for this web page too to require a key for everything.
- Only a hash of each access key is stored. Revoke a key in Settings and it stops working at once.
- "Delete" in the library file actions permanently deletes files from your library.
Support
If Reverb is useful to you, you can buy me a coffee.
Third-party tools
Reverb's own code is MIT licensed. It runs these separate programs, which are installed alongside it (by the Docker image or by you) and keep their own licences: FFmpeg (LGPL/GPL depending on the build), aria2 (GPL-2.0-or-later) and unar (LGPL-2.1).
Licence
MIT © 2026 Sam Russell.
The software is provided "as is", without warranty of any kind, express or implied. The authors are not liable for any claim, damages or other liability arising from its use. Reverb hosts no files; you are solely responsible for the content you download with it and for complying with the copyright and other laws that apply to you.
Ähnliche Projekte entdecken
Wird geladen…

