Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ototot/twitter-telegram-forwarder
A simple twitter -> telegram forwarder written in Rust.
https://github.com/ototot/twitter-telegram-forwarder
rust telegram-bot twitter-api
Last synced: 2 months ago
JSON representation
A simple twitter -> telegram forwarder written in Rust.
- Host: GitHub
- URL: https://github.com/ototot/twitter-telegram-forwarder
- Owner: oToToT
- License: mit
- Created: 2021-12-26T14:39:33.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-02-13T10:08:46.000Z (10 months ago)
- Last Synced: 2024-10-05T23:13:22.651Z (3 months ago)
- Topics: rust, telegram-bot, twitter-api
- Language: Rust
- Homepage: https://t.me/nanabunnonijyuuni_tweet
- Size: 44.9 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# twitter-telegram-forwarder
A simple twitter -> telegram forwarder written in Rust.Example channel: https://t.me/nanabunnonijyuuni_tweet
## How to use it?
1. `git clone https://github.com/oToToT/twitter-telegram-forwarder`
2. `cd twitter-telegram-forwarder`
3. `cargo build --release`
4. Setup config.json (see next section)
5. `./target/release/twitter-telegram-forwarder`## How to setup config.json?
1. Rename `config.json.example` to `config.json`
2. Fill in the twitter [application Bearer token](https://developer.twitter.com/en/docs/authentication/oauth-2-0/application-only)
3. Fill in the telegram [bot token](https://core.telegram.org/bots)
4. Fill in the telegram channel/userid in `"telegram-channel"` field
5. Fill in accounts you want to follow## Notice
To make it run periodically, you could try setup a [cron](https://en.wikipedia.org/wiki/Cron) job to do so.