Telegramarr is an automated Telegram bot designed to work with Radarr/Sonarr. It listens for webhooks and sends a movie/show file to a specified Telegram group or chat when a movie is successfully downloaded and added to the library.
- Sends a media file to a specified Telegram group or chat when a movie is successfully downloaded and added to the Radarr/Sonarr library.
- Splits the file into multiple 7z archives and sends them to Telegram to bypass the 2GB file size limit.
Follow these steps to install and configure Telegramarr:
-
Create a new folder, for example,
telegramarr-config
, in your desired location. -
Create a new bot using BotFather and obtain the bot token. Add the bot to your group or chat.
-
Create a new file
env.py
in thetelegramarr-config
folder and copy the content from here to that file. Replace the sample values with your actual values. -
To run Telegramarr, use the following Docker command:
docker run --name=telegramarr \ -p 8000:8000 \ -v "<path-to-your-telegramarr-config-folder>":/app/src/config \ -v "<path-to-a-temp-cache-folder>":/app/temp \ # optional but recommended -v "<path-to-your-movies-folder>":/app/movies:ro \ -v "<path-to-your-tvshows-folder>":/app/tvshows:ro \ -d akhilrana/telegramarr
-
Verify that Telegramarr is running by navigating to
http://<your-ip>:8000/
in your web browser. You should see a message that says "Hello: Telegramarr". -
In your Radarr settings, navigate to
Connect > Add New > Webhook
. Add the URLhttp://<your-ip>:8000/get-from-radarr
and select only the "On Import" and "On Upgrade" events. -
Similarly for sonarr, Add the URL
http://<your-ip>:8000/get-from-sonarr
and select only the "On Import" and "On Upgrade" events. -
Happy TelegramArring!