How vonssy/dawn-bot works
Project type and purpose
• This is a Python-based CLI automation tool (“bot”) for validating Dawn accounts via HTTP requests and proxies.
• It reads account credentials, rotates through proxies (either public list or private), sends keep-alive pings every 10 minutes, and runs multi-threaded tasks to auto-retrieve account info.
File structure
• Top-level files:
• README.md – project description and instructions
• requirements.txt – Python dependencies
• bot.py – main application script containing orchestration, threading, HTTP logic
• accounts.json – configuration file listing account email+token pairs
• proxy.txt – configuration file listing proxy endpoints
• No separate “frontend” or “backend” folders; single-script architecture.
• No database or server component—state is held in JSON/text files and in-memory threads.
README for additional insights
• Describes four proxy modes: public list, private proxies, no proxy, rotating invalid proxies.
• Mentions multi-threading, keep-alive pings, and account info retrieval.
• Lists required Python 3.9+ and pip installation.
Key advice
• Be detailed: break out public vs. private proxy flows, keep-alive scheduler as a subcomponent.
• Every step: config parsing, mode selection logic, thread pooling, HTTP request/response, proxy rotation.