Sign inSign up

woiza/telegram-bot-sonarr

By woiza

•Updated about 2 years ago

Go-Powered Telegram Bot for Sonarr Series Management

Image
Internet of things
0

3.4K

woiza/telegram-bot-sonarr repository overview

⁠Go-Powered Telegram Bot for Sonarr Series Management

This Telegram bot is specifically designed for series management through Sonarr. It enables users to execute a range of commands for searching, adding, editing, deleting, and organizing series within their Sonarr library. Developed in Go, the bot operates with minimal resource consumption, utilizing less than 10 MB of RAM. It maintains a stateless operation and does not persist data to disk, except for error logs. The Docker image size is efficiently kept under 10 MB (compressed), supporting multiple CPU architectures including arm32v7, arm64v8, and x86_64/amd64.

⁠Github - Source and Complete Documentation

woiza/telegram-bot-sonarr⁠

⁠Docker Compose Example
services:
    telegram-bot-sonarr:
        image: woiza/telegram-bot-sonarr
        mem_limit: 128M
        container_name: telegram-bot-sonarr
#        depends_on:
#            - sonarr
        restart: always
        environment:
            - SBOT_TELEGRAM_BOT_TOKEN=1460...:AAHlBW_mabVg...
            - SBOT_BOT_ALLOWED_USERIDS=123,987,-567 # Telegram user ID(s), Group IDs are negative
            - SBOT_BOT_MAX_ITEMS=10 # pagination
            - SBOT_BOT_IGNORE_TAGS=false # true/false; true = bot will not ask for tags (useful with auto-tagging)
            - SBOT_BOT_SERIES_TYPE= # optional, possible values: standard, daily, anime. If set, bot will not ask for series type
            - SBOT_SONARR_PROTOCOL=http # http or https
            - SBOT_SONARR_PORT=8989
            - SBOT_SONARR_HOSTNAME=192.168.2.2 # IP or hostname
            - SBOT_SONARR_BASE_URL= # optional, e.g. /sonarr, depending on sonarr configuration
            - SBOT_SONARR_API_KEY=1010d7...  
⁠Commands for Botfather's /setcommands
q - searches a series 
library - lists all series - WARNING: can be large
delete - deletes series - WARNING: can be large
clear - deletes all previously sent commands
free - lists the free space of your disks
up - lists upcoming episodes in the next 30 days
rss - performs a RSS sync
system - shows your Sonarr configuration
id - shows your Telegram user ID

⁠Contributing

Feel free to contribute to this Telegram bot by submitting pull requests, reporting issues, or suggesting enhancements on GitHub - woiza/telegram-bot-sonarr⁠. Your contributions are welcome!

⁠Beer

If you appreciate what we do, consider treating us to a refreshing beverage.

q1 ⁠

⁠License

This Telegram bot is licensed under the MIT License⁠.

Tag summary

Content type

Image

Digest

sha256:5695d7f43…

Size

8.1 MB

Last updated

about 2 years ago

docker pull woiza/telegram-bot-sonarr