Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/avaakash/Tweet-From-Message
This application will tweet anything to forward to your Telegram bot
https://github.com/avaakash/Tweet-From-Message
Last synced: 3 months ago
JSON representation
This application will tweet anything to forward to your Telegram bot
- Host: GitHub
- URL: https://github.com/avaakash/Tweet-From-Message
- Owner: avaakash
- Created: 2022-01-08T09:08:46.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-01-09T17:37:00.000Z (almost 3 years ago)
- Last Synced: 2024-06-28T14:35:45.782Z (5 months ago)
- Language: Python
- Homepage:
- Size: 18.6 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Tweet From Message
This application will tweet anything you forward to your Telegram bot.
- How to create Telegram Bot: [Telegram Botfather](https://core.telegram.org/bots#6-botfather)
- How to get Twitter API keys: [Twitter API docs](https://developer.twitter.com/en/docs/twitter-api)### Steps to Run
1. Give the tokens and keys to the env.json file (a sample is given, follow that naming convention only)
2. Run the start.sh script (or you can run the main.py file)
3. Send a message to bot and it will tweet it.
4. Run stop.sh to stop the bot server### Telegram bot commands
- /start: displays an info message
- \: tweets the message
- /delete: deletes the last tweet done through the bot
- /comment \: adds a comment to the last tweet done through the bot*Note*: change "\" with your tweet message
### Security
The bot will only respond to specified telegram user ids only. Enter your telegram user ids in the env.json file.
## Upcoming Features
- Option to reply to comment tweet
- Option to reply to any of the last 7 tweets
- Last 7 tweet stats
- Popular hashtag auto-addition
- Option to like all retweets of the last 7 tweets