Skip to content
CynericPublic

About

A Telegram bot to manage your media collection through Radarr, Sonarr, and Lidarr

Resources

Stars

47 stars

Watchers

1 watching

Forks

Repository files navigation

Addarr logo

Addarr

Request movies, TV shows and music in Telegram. Addarr sends approved requests to Radarr, Sonarr or Lidarr. Admins review requests and manage access in the web interface.

Version 2 replaces Addarr Refresh. If you already run Refresh, see how to import your installation.

Addarr overview showing recent requests, download progress and connected services

Docker setup

Save docker-compose.yml in a new directory. Create a config folder next to it. On Linux, run sudo chown 1000:1000 config so Addarr can write to it, or set PUID and PGID in .env to match the folder's owner and group.

For the stable release, set ADDARR_VERSION=2.0.0 in .env.

Run these commands from the directory with the Compose file:

docker compose pull
docker compose up -d

On the Docker host, open http://127.0.0.1:8090. To connect from another device on your LAN or VPN, set ADDARR_BIND in .env to the host's address on that network.

Variable Default Purpose
ADDARR_BIND 127.0.0.1 Host address for the web interface
ADDARR_PORT 8090 Host port for the web interface
ADDARR_CONFIG ./config Host directory mounted at /config
PUID / PGID 1000 / 1000 Container user and group
ADDARR_VERSION main Image tag. Use 2.0.0 for this release or main for preview builds.

Addarr stores its SQLite database in the config directory. Keep it on local storage, off SMB and NFS shares.

First run

  1. Open the setup page and create an admin account with the token from config/bootstrap-token. Addarr deletes the token after setup.
  2. In Services, enter the URL and API key for at least one media service. Use its LAN address or its name on a shared Docker network. localhost inside the container points to Addarr itself. Click Test connection, then choose your defaults and save. Lidarr also needs a metadata profile.
  3. If an older Addarr instance uses the same Telegram bot token, stop that instance first. In Settings, enter the token, choose a language and enable the bot.
  4. Send /start to the bot in a private chat. In Users, check your Telegram user ID and approve access. To grant someone else access, you can also send them a single-use invite.

Using Addarr

In Telegram, send /start to open the menu or search with /movie, /series or /music. Requests wait for admin approval by default. Send /requests to check their status.

Backups and password recovery

Use Download backup in the web sidebar or run:

uv run addarr --data-dir ./config backup /safe/location/addarr.db

Store backups somewhere private. They contain service credentials and admin account data.

To reset a web account's password:

uv run addarr --data-dir ./config reset-password USERNAME

Enter the new password when prompted. The terminal hides what you type. The reset signs out all web sessions.

Development

Install Python 3.13 and uv, then run:

uv sync --frozen --group dev
uv run addarr --data-dir ./config serve --host 127.0.0.1

After installing the dependencies, you can also start Addarr with python run.py. Put --data-dir before the subcommand. --help and --version work without a config file.

To build and run the Docker image from this checkout:

docker compose -f docker-compose.yml -f compose.build.yml up -d --build

To run the checks:

uv run pytest -q
uv run mypy addarr
uv run ruff check addarr tests

See the architecture notes for request states and error handling, and the release checklist for browser, container, migration and live-service tests.

License

Addarr uses the MIT license. See the bundled HTMX license and logo sources.

About

A Telegram bot to manage your media collection through Radarr, Sonarr, and Lidarr

Resources

Stars

47 stars

Watchers

1 watching

Forks

Releases

Sponsor this project

Packages

Used by

Contributors

Languages