#telegram #command #notifications #bot #pipe #output

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

#110 in #telegram

WTFPL license

7KB
98 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

~3.5–5MB
~112K SLoC