Twittergram is a simple utility to mirror a telegram public chat to a Twitter account:
- Supports Telegram messages with images and videos
- Has basic support for Telegram albums (posts with multiple media)
- Can ignore some telegram posts by adding a special
#tgonly
keyword to messages - Uses the only pure Rust Telegram client
Copy config.toml.example to config.toml
and adjust the configuration accordingly
then run ./twittergram
In the config.toml
file:
# Maximum number of messages to retrieve from Telegram
max_messages=1
Then schedule twittergram
to run periodically (e.g. systemd timer) every 1 minute
$ cargo build -r
The binary twittergram
for your platform will be at target/release