Skip to content

Latest commit

 

History

History
37 lines (23 loc) · 1.03 KB

README.md

File metadata and controls

37 lines (23 loc) · 1.03 KB

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