Self-hosted Telegram Bot that tracks tweets with specific keywords then sends them to Telegram Chat
Report Bug
·
Request Feature
- NodeJS version >= 12.18.2
- Twitter API Keys and Tokens
- Telegram Bot with API Token
- Clone the repo
git clone https://github.com/feux07/tstream.git
- Go to project directory
cd tstream
- Install NPM packages
npm install
- Create .env file with following environment variables
TWITTER_API_KEY = YOUR_TWITTER_API_KEY
TWITTER_API_KEY_SECRET = YOUR_TWITTER_API_KEY_SECRET
TWITTER_ACCESS_TOKEN = YOUR_TWITTER_ACCESS_TOKEN
TWITTER_ACCESS_TOKEN_SECRET = YOUR_TWITTER_ACCESS_TOKEN_SECRET
TELEGRAM_BOT_TOKEN = YOUR_TELEGRAM_BOT_TOKEN
TELEGRAM_TARGET_CHAT_ID = YOUR_TELEGRAM_TARGET_CHAT_ID
TWITTER_SEARCH_TEXTS = YOUR_TWITTER_SEARCH_TEXTS
- Start application with following command
node start.js
- Illustrator => Hafsa Uygun
Distributed under the MIT License. See LICENSE
for more information.