Skip to content

f0rthsp4ce/logs2tg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

logs2tg

Send arbitrary logs to a Telegram topic.

Example usage:

export TG_TOKEN="123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11"
journalctl -f -n 0 -u ... | ./logs2tg.py https://t.me/c/1234567890/123

Instead of journalctl, you can use any other command that produces logs. Get TG_TOKEN in our bitwarden, search for logs2tg. To get a topic URL, click "Copy Topic Link" in Telegram to get the link.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published