Go to file
2023-12-18 01:11:47 +03:00
src move to frankenstein for telegram bot api 2023-06-23 21:41:02 +03:00
.gitignore first commit 2023-03-05 11:28:28 +03:00
Cargo.lock update deps 2023-12-18 01:11:47 +03:00
Cargo.toml update deps 2023-12-18 01:11:47 +03:00
README.md add rtorrent config line as example 2023-03-05 11:54:03 +03:00

Telegram notifier

Options

  • token - required, Telegram token
  • chatid - required, Telegram chat id
  • config - file, default config file name ".telegram-notifier.yaml"

Command line example:

telegram-notifier --token XXXX --chatid YYYY --msg "My message"

Config .telegram-notifier.yaml example:

token: XXXX
chatid: YYYY

Example for rtorrent.rc:

method.set_key = event.download.finished,notify_me,"execute=telegram-notifier,--config,/path/to/.telegram-notifier.yaml,--msg,$d.name="