Golang version of teleout Pipe stdout and files(TBD) to telegram This software uses telegram bots Powered with love
ls -la | goteleout -c- send output ofls -lawith monospace fontteleout -q -f main.py- send filemain.pywithout notification
- Send files, text messages directly to telegram
- Pipe to teleout(
ls | teleoutwill work) - HTML parse mode supported
- Easy install and use
- GetMe - listen for updates and log chatId, userName etc. Userfull for getting this information.
NAME:
goteleout - pipes data to telegram, https://github.com/teadove/goteleout
USAGE:
goteleout [options] "text to send"
GLOBAL OPTIONS:
--code, -c send text with <code> tag to make it monospace (default: false)
--quite, -q send message without notifications (default: false)
--html do no escape html tags (default: false)
--file, -f specify files to send (default: false)
--help, -h show help- From source code
go install github.com/teadove/goteleout@latest
Or download your version from release page, i.e. for Apple Silicon
wget -cO - https://github.com/TeaDove/goteleout/releases/download/1.0.0/goteleout-1.0.0-darwin-arm64 > goteleout
chmod u+x goteleout
# mv goteleout ~/.local/bin # or any other location in your PATH
- Get bot token from @BotFather
- Put config data in
~/.config/teleout.jsonin format{"token": <telegram-token>, "user": <telegram-user-id>} - Run
ls -la | goteleout -c
don't worry, there are no sniffer and smth like that
inspired by https://termbin.com