ihuzaifashoukat/twitter-automation-ai — reverse-engineered prompt

Reverse engineered prompt

GitHub

Build me a Python tool that can automate X Twitter activity for multiple accounts from simple config files.

I want to be able to add accounts, cookies, proxies, target keywords, target profiles, and posting rules without editing code. It should open the browser with Selenium, support optional stealth Chrome, scrape tweets and profiles, collect engagement data, post tweets, reply, like, repost, and optionally post into communities. It should use OpenAI or Gemini to generate tweets and replies, summarize articles, and analyze sentiment or threads.

Please make it modular and beginner friendly, with clear setup steps, example config presets, safe logging, per account metrics, and JSON event logs so I can see what happened. Include support for global settings plus per account overrides, proxy pools with rotation, and environment variables for API keys. Keep the code organized so new automation actions can be added later.

Look up current docs online if you need to, and make sure it runs from the command line with Python 3.9 or newer.

Want more depth? Deep Reverse