How tranminhhieu20/regov works
AQUA-REG-TOOL combines a desktop account/licensing client with browser automation for registering on configured sites and managing payout details. The intended automation entry point fetches site configuration, connects to a Hidemium browser through Playwright, and runs per-site flows; the checked-in __main__ currently starts a separate mobile-browser path instead. The API exposes configuration, account/session, and password-recovery operations backed by database logic. Some client modules and API/database sections were not sampled, so uncertain internal links are omitted.
Main entry points: main.py Automation entry · db.py Account and config logic · api_client.py API client · auth_gui.py Authentication UI
Components 17
Desktop client
- Authentication UI
CLIENT_TOOL/auth_gui.py - API client
CLIENT_TOOL/api_client.py - Tool interface
CLIENT_TOOL/gui.py
Browser automation
- Automation entry
CLIENT_TOOL/main.py - Registration flows
CLIENT_TOOL/flows.py - Payout flows
CLIENT_TOOL/special_flows.py - Browser actions
CLIENT_TOOL/actions.py - Browser utilities
CLIENT_TOOL/utils.py
API and accounts
- HTTP API
SERVER_API/main_api.py - Account and config logic
SERVER_API/db.py
Configuration and admin
- Site configuration
SERVER_API/upload_db.py - Admin panel
admin_gui.py
Other components
- Tool operator
- Registration sites
- Hidemium browser
- MongoDB
- Email service
Connections 17
- Tool operator → Authentication UI: uses
- Authentication UI → API client: requests account actions
- API client → HTTP API: HTTP requests
- Tool operator → Automation entry: starts automation
- Automation entry → API client: fetches config
- Automation entry → Browser utilities: finds browser endpoint
- Automation entry → Hidemium browser: connects via Playwright
- Automation entry → Registration flows: runs site flows
- Registration flows → Registration sites: automates registration
- Payout flows → Browser actions: uses click helper
- HTTP API → Account and config logic: dispatches operations
- Account and config logic → MongoDB: reads and writes
- Account and config logic → Email service: sends OTP email
- Site configuration → MongoDB: stores configuration
- Admin panel → MongoDB: manages users
- Tool operator → Admin panel: administers accounts
- Tool operator → Tool interface: uses