Skip to content

Latest commit

 

History

History
31 lines (24 loc) · 1.91 KB

README.md

File metadata and controls

31 lines (24 loc) · 1.91 KB

Telegramarr

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.

Features

  • 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.

Installation

Follow these steps to install and configure Telegramarr:

  1. Create a new folder, for example, telegramarr-config, in your desired location.

  2. Create a new bot using BotFather and obtain the bot token. Add the bot to your group or chat.

  3. Create a new file env.py in the telegramarr-config folder and copy the content from here to that file. Replace the sample values with your actual values.

  4. 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 
  5. 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".

  6. In your Radarr settings, navigate to Connect > Add New > Webhook. Add the URL http://<your-ip>:8000/get-from-radarr and select only the "On Import" and "On Upgrade" events.

  7. Similarly for sonarr, Add the URL http://<your-ip>:8000/get-from-sonarr and select only the "On Import" and "On Upgrade" events.

  8. Happy TelegramArring!