BookBounty
Retrieve missing Readarr books from Library Genesis.
Alternatives
Tech stack
No tech stack added yet. Sign in to suggest some
Overview
BookBounty is an open-source tool by TheWicklowWolf that fills in missing books in Readarr (official description: Retrieve missing Readarr books from Library Genesis). It reads the titles Readarr has marked as missing through its API, then searches Library Genesis (LibGen) for matching files and downloads them. Once a download finishes, it can trigger Readarr to scan the library so the files are imported automatically. The project is licensed under MPL-2.0, is distributed as a Docker image (thewicklowwolf/bookbounty), and provides a web interface with both dark and light themes.
Key Features
- Sync missing books from Readarr: Fetches missing titles using your Readarr address and API key.
- Search and download from LibGen: Currently only the
http://libgen.isaddress is supported, and you can choose to search the fiction or non-fiction category. - Match control: Use
minimum_match_ratioto set the minimum match percentage. The default is 90%. - Format and language filters: Preferred extensions can be set separately for fiction and non-fiction. Fiction defaults to
.epub, .mobi, .azw3, .djvu, and non-fiction also includes.pdfby default. Language is read from Readarr's Metadata Profile first; if that isn't available,selected_languageis used, which defaults to English. - Search tuning: You can search using only the author's last name (
search_last_name_only), or strip everything after the colon in a book title before searching (search_shortened_title). - Scheduled sync: Set sync times as comma-separated hours in 24-hour format. For example,
2, 20syncs at 2 AM and 8 PM every day. The actual start time may be off by up to 10 minutes. - Download control: You can set the download interval, request timeout, and maximum number of threads.
- Library scan after import:
library_scan_on_completionis enabled by default and tells Readarr to scan the library when downloads complete.
Who It's For
- Self-hosting users who already manage their ebook library with Readarr
- Home server users who already run *arr tools (Sonarr, Radarr, etc.) and want to bring ebooks into their automation
Deployment (Docker Compose)
services:
bookbounty:
image: thewicklowwolf/bookbounty:latest
container_name: bookbounty
ports:
- 5000:5000
volumes:
- /path/to/config:/bookbounty/config
- /path/to/downloads:/bookbounty/downloads
- /etc/localtime:/etc/localtime:ro
restart: unless-stopped
After starting the container, open http://<host IP>:5000 in your browser to use the web interface.
Common Environment Variables
| Variable | Description | Default |
|---|---|---|
PUID / PGID | ID of the user and group that run the app | 1000 |
readarr_address | Readarr address | http://192.168.1.2:8787 |
readarr_api_key | Readarr API key | Empty |
libgen_address | LibGen address | Only http://libgen.is is currently supported |
sync_schedule | Hours for scheduled sync (comma-separated) | Empty |
minimum_match_ratio | Minimum match percentage | 90 |
selected_path_type | Download structure (file or folder) | file |
search_type | Search type (fiction or non-fiction) | fiction |
thread_limit | Maximum number of threads | 1 |
request_timeout | Request timeout (seconds) | 120 |
Two Ways to Integrate with Readarr
- folder mode: Map
/bookbounty/downloadsdirectly to Readarr's main library directory and setselected_path_type=folder. BookBounty will try to create the directory structure/Author/Title/filename.extand download the files into it. - file mode: Map
/bookbounty/downloadsto a staging directory such as_unprocessedand setselected_path_type=file. All files are downloaded into the same directory. After Readarr scans the library, some files may need to be imported manually. Once imported, you can use Readarr's "Rename Files" feature to organize them into the correct folders.
For both approaches, we recommend enabling library_scan_on_completion=True so that imports happen automatically. Note: Readarr does not automatically rename files when importing them.
Technical Requirements
- A host running Docker or Docker Compose
- An accessible Readarr instance and its API key
- A network environment that can reach Library Genesis
- The project is written in Python and served by Gunicorn
Notes
- Many resources on LibGen may involve copyright issues. Please comply with local laws and regulations, and use it at your own risk.
- Only one LibGen address is currently supported, so the tool may stop working if that mirror goes down.
Discover more
Activepieces
No-code business automation tool like Zapier or Tray. For example, you can send a Slack notification for each new Trello card.
Apache Airflow
Platform to programmatically author, schedule, and monitor workflows.
Automatisch
Business automation tool that lets you connect different services like Twitter, Slack, and more to automate your business processes (alternative to Zapier).
ChiefOnboarding
Employee onboarding platform that allows you to provision user accounts and create sequences with todo items, resources, text/email/Slack messages, and more! Available as a web portal and Slack bot.
Compass
A landing page for your services, dashboards, and documents, discovered automatically from sources such as Docker, Kubernetes, and Tailscale.
Cronmaster
Cronjob management UI with human readable syntax, live logging and log history for your cronjobs.