Hey Rustaceans! π¦
Iβve recently started learning Rust, and to solidify my understanding, I wanted to build something small but useful in the real world. Thatβs how I created telemon β a lightweight message dispatcher that lets you send alerts and logs directly to Telegram from any Rust application.
π‘ What Is telemon?
telemon is a tiny but powerful crate that allows you to:
β
Send messages to Telegram topics
β
Notify Telegram groups of logs/errors
β
Trigger real-time alerts from CLI tools, background jobs, servers, or monitoring scripts
With a single line:
use telemon::Telemon;
Telemon::send("π₯ Server is down!").to((your_chat_id, yout_topic_id));
Or:
Telemon::send("β
Backup complete.").to_group();
It reads from a simple config file: telemon.toml
Hereβs what it looks like:
token = "your-telegram-bot-token"
chat_id = your_chat_id
group_id = your_group_id
show_logs = true
parse_mode = "HTML"
No external services, no database, no headache.
π Need Your Feedback!
This is my second published crate, so Iβd really appreciate:
β A star on crates.io or GitHub
Feedback, suggestions, and feature requests
Real use cases β what would you use it for?
Code reviews if youβre experienced π§
Feel free to drop comments here or DM me if you want to chat!
Top comments (0)