Skip to content

gus4rs/twittergram

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Twittergram

Twittergram

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

How to use it

Copy config.toml.example to config.toml and adjust the configuration accordingly

then run ./twittergram

Examples

Keeping Telegram and Twitter in sync

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

Installation

$ cargo build -r

The binary twittergram for your platform will be at target/release

About

Mirror Telegram chats to Twitter

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages