A Twitter bot that posts RSS feed updates every 30 minutes using Bun runtime and SQLite database.
- Lightweight SQLite database
- Built with Bun for better performance
- Automatic tweet scheduling
- RSS feed parsing and monitoring
- Duplicate tweet prevention
- 7-day auto-cleanup of old tweets
- Automated dependency updates with Renovate
- Security monitoring with Snyk
- Bun installed on your system
- Twitter Developer Account with API credentials
- Clone the repository:
git clone https://github.com/yourusername/botx-rss.git- Install dependencies:
bun install- Create a
.envfile with the following variables:
# Application
PORT=3000
# Twitter API
TWITTER_API_KEY=
TWITTER_API_SECRET=
TWITTER_ACCESS_TOKEN=
TWITTER_ACCESS_TOKEN_SECRET=
Developpement mode:
bun devProduction mode:
bun startGET /feeds- List all RSS feedsPOST /feed- Add new RSS feedGET /- Health check
Run the test suite:
bun testWatch mode:
bun test --watchContributions are welcome! Please feel free to submit a PR.
- Fork the repository
- Create your feature branch:
git checkout -b feature/your-feature - Commit your changes:
git commit -m 'Add some feature' - Push to the branch:
git push origin feature/your-feature - Open a PR
This project is open-sourced under the MIT License - see the LICENSE file for details.