A tiny chaotic bot that replies to Twitter/X mentions by converting every vowel into “i” and randomizing capitalization.
- Automatically replies to mentions
- Fetches parent tweet text if the mention is a reply
- Converts all vowels →
i(Ifor uppercase) - Randomizes capitalization
- Built-in simple queue system
- Ready for Railway & Heroku deployment
app.py
requirements.txt
Procfile
git clone https://github.com/your-username/your-repo.git
cd your-repo
python -m venv .venv
source .venv/bin/activate # Windows: .venv\Scripts\activate
pip install -r requirements.txtCreate .env:
BEARER_TOKEN=your_token_here
API_KEY=your_api_key_here
API_SECRET=your_api_secret_here
ACCESS_TOKEN=your_access_token_here
ACCESS_TOKEN_SECRET=your_access_token_secret_here
USERNAME_BOT=your_username_bot_without_@Modify app.py:
import os
BEARER_TOKEN = os.getenv("BEARER_TOKEN")
API_KEY = os.getenv("API_KEY")
API_SECRET = os.getenv("API_SECRET")
ACCESS_TOKEN = os.getenv("ACCESS_TOKEN")
ACCESS_TOKEN_SECRET = os.getenv("ACCESS_TOKEN_SECRET")
USERNAME_BOT = os.getenv("USERNAME_BOT")python app.pygit init
git add .
git commit -m "initial"
git branch -M main
git remote add origin https://github.com/your-username/your-repo.git
git push -u origin mainBEARER_TOKEN=your_token_here
API_KEY=your_api_key_here
API_SECRET=your_api_secret_here
ACCESS_TOKEN=your_access_token_here
ACCESS_TOKEN_SECRET=your_access_token_secret_here
USERNAME_BOT=your_username_bot_without_@
python app.py
Ensure Procfile exists:
worker: python app.py
Add config vars, then:
git push heroku main
heroku ps:scale worker=1Stop:
heroku ps:scale worker=0This project is released under the MIT License — feel free to tweak and remix❤️
Crafted with chaos & love.
