#bot #notifications

app tnb

command | tnb - pipe your commands to your Telegram Notifications Bot

3 releases

0.1.2 Dec 26, 2021
0.1.1 Dec 26, 2021
0.1.0 Nov 7, 2019

#80 in #notification

WTFPL license

7KB
111 lines

tnb - Telegram Notification Bot

$ some_command | tnb - will send the output of the command to your Telegram conversation of choice.

Useful for streaming the output of long-running commands, when you don't want/can't keep a constant SSH connection or you only need a notification when something finishes.

Installation

Arch/Manjaro

tnb package on the AUR.

Others

cargo build --release, then copy the resulting binary (at ./target/release/tnb) to some folder in your PATH.

Dependencies

~4.5–6.5MB
~112K SLoC