This project consists of two microservices , repoter and publisher. The reporter miroservice has the resposiblity to fetch news from X (formely twitter) and send them in kafka partions related to each username. The publisher microservice has the responsiblity to filter the tweets in the kafka topic and partions based on specific words and publish them to any telegram chat that has @towncrierrbot telegram bot.
- Replace
"TELEGRAM_BOT_TOKEN"indocker-compose.ymlwith your actual TELEGRAM BOT token. - Replace
"X_BEARER_TOKEN"indocker-compose.ymlwith your actual X API token. - Replace the username that you want to listen to (
"X_USERNAMES"indocker-compose.yml). - Ensure Docker and Docker Compose are installed on your machine.
- Build and run the application with Docker Compose:
docker-compose up -d