Skip to content
This repository has been archived by the owner on Nov 2, 2022. It is now read-only.

A simple bash file to send notifications to telegram 💪

License

Notifications You must be signed in to change notification settings

mkgeeky/telegram-notification

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What is this?

A simple bash file to send notifications to telegram 💪

Needs

  • A Telegram bot Guide
  • The bots ID (Look for "Use this token to access the HTTP API:" in the message from BotFather)
  • Your own telegram ID Guide

Installation

  • Clone this repo to your server git clone https://github.com/mkgeeky/telegram-notification.git
  • Rename notification_sample.sh to notification.sh mv notification_sample.sh notification.sh
  • Make notification.sh executeable chmod +x /PathTo/notification.sh
  • Edit notification.sh with the IDs from above
    TELEGRAM_BOT_ID = BOT ID
    TELEGRAM_USER_ID = YOUR ID

rTorrent

Add following line to .rtorrent.rc

method.set_key = event.download.finished,notify_me,"execute=/PathTo/notification.sh,rtorrent,$d.name="

Then restart rtorrent

autobrr

  • Under your Filters go to Actions and create a new action.
  • Select Exec
  • Call in whatever you want.
  • In Command add /PathTo/notification.sh
  • In Arguments add autobrr {{ .TorrentName }}
  • Remember to click save 😁

From now on: everything rtorrent has finished download OR autobrr graps a torrent - you get a notification in Telegram 🙂

About

A simple bash file to send notifications to telegram 💪

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published

Languages