- 🔐 Automatic Registration - Bulk account registration with referral codes
- 🌾 Smart Farming - Automatic point collection through HTTP API
- 🔄 Proxy Rotation - Automatic proxy switching on connection errors
- 📊 Multi-threading - Separate thread settings for registration and farming
- 🚀 Multiprocess Farming - CPU-based multiprocess farming for maximum performance
- 💾 Database - Automatic saving of tokens, accounts, and devices
- 🔧 Flexible Settings - Complete configuration through config file
- 📝 Detailed Logging - Configurable logging levels (DEBUG, INFO, WARNING, ERROR)
- 🛡️ Fault Tolerance - Automatic retries with smart delay logic
- 📱 Device Management - Automatic device creation and fingerprinting
- ✅ Simplified Structure - Logical code organization without unnecessary nesting
- ✅ Modular Architecture - Clear separation of API, Core, Database, UI, Utils
- ✅ Automatic Management - State saving, session recovery
- ✅ Advanced Error Handling - Smart retries with proxy rotation
- ✅ Referral System - Automatic reuse of codes from database
- ✅ Multiprocess Support - Efficient CPU utilization for large-scale farming
datahive/
├── main.py # 🎯 Main entry point
├── requirements.txt # 📦 Python dependencies
├── README.md # 📖 Documentation
├── config/ # 📋 Configuration files
│ ├── config.yaml # Main settings
│ └── data/ # Data files
│ ├── registration_accounts.txt # Accounts for registration
│ ├── farming_accounts.txt # Accounts for farming
│ └── proxy.txt # Proxy list
│
├── data/ # 💾 Runtime data
│ └── datahive.db # SQLite database
│
└── logs/ # 📋 Log files
└── datahive.log # Main log file
pip install -r requirements.txtAdd accounts for registration:
config/data/registration_accounts.txt- Email accounts for registration- Format:
email:password:imap_serveroremail:password(one per line) - If IMAP server is not specified, it will be auto-detected from email domain using
imap_settings.serversin config - Example:
[email protected]:password123:imap.example.comor[email protected]:password123
- Format:
Add accounts for farming (optional):
config/data/farming_accounts.txt- Email addresses of registered accounts- Format:
email(one per line) - If empty, all logged-in accounts from database will be used
- Format:
Add proxies (optional):
config/data/proxy.txt- Proxy list in formathttp://user:pass@ip:portorsocks5://user:pass@ip:port- One proxy per line
Edit config/config.yaml:
# Multi-threading
threads:
registration: 5 # Threads for registration
farming: 3 # Threads for farming
# Logging
logging:
level: "INFO" # DEBUG, INFO, WARNING, ERROR, CRITICAL
# Referral codes
referral_code_settings:
use_random_ref_code_from_db: true # Use random code from DB
static_referral_code: "" # Or use static code
# Delays before start
delay_before_start:
min: 1 # Minimum delay in seconds
max: 3 # Maximum delay in seconds
# Retry settings
retry:
delay_seconds: 5 # Delay between retries (in seconds)
max_registration_attempts: 3 # Maximum registration attempts
max_farm_attempts: 3 # Maximum farm attempts
proxy_rotation: true # Enable proxy rotation on exhausted retries
# Multiprocess farming
multiprocess_farming:
enabled: true # Enable multiprocess farming
max_processes: 0 # 0 = auto-detect (CPU count - 1)
# Device settings
device_settings:
active_devices_per_account:
min: 1 # Minimum devices per account
max: 1 # Maximum devices per account
# Farm settings
farm_settings:
max_devices_per_batch: 200 # Max devices processed per batch
max_concurrent_tasks: 200 # Max concurrent farming tasks
device_task_timeout: 60 # Timeout for device task (seconds)
# IMAP settings
imap_settings:
use_proxy_for_imap: false # Use proxy for IMAP connections
timeout: 30 # IMAP timeout in seconds
servers: # IMAP server mapping by email domain
gmail.com: imap.gmail.com
yahoo.com: imap.mail.yahoo.com
mail.ru: imap.mail.ru
# Add more domains as neededpython main.py-
Registration - Automatic account registration
- Reads accounts from
config/data/registration_accounts.txt - Automatically handles email validation and verification
- Saves registered accounts to database
- Reads accounts from
-
Farming - Start farming process
- Uses accounts from
config/data/farming_accounts.txtor all logged-in accounts - Supports single-process and multiprocess modes
- Automatically creates devices and manages farming cycles
- Uses accounts from
-
Exit - Exit the program
- Automatic proxy switching after exhausting connection attempts
- Configurable number of attempts per proxy
- Option to disable rotation for single proxy work
- Proxy assignment per account and device
- HTTP API-based farming (no WebSocket)
- Automatic device creation and fingerprinting
- Ping and job request scheduling
- State saving in database
- Automatic token saving and updating
- Automatic re-authentication on token expiration
- Account state management
- Automatic retrieval and saving of referral codes
- Code reuse between accounts
- Support for static and dynamic referral codes
- Automatic CPU detection
- Efficient account and proxy distribution
- Process isolation for stability
- Configurable process limits
- Console: Colored logs in real-time
- File:
logs/datahive.logwith daily rotation - Levels: DEBUG, INFO, SUCCESS, WARNING, ERROR
- DEBUG: Detailed information for debugging
- INFO: General information about operations
- WARNING: Warnings about potential issues
- ERROR: Error messages
- 📢 Channel: https://t.me/D3_vin - Latest updates and releases
- 💬 Chat: https://t.me/D3vin_chat - Community support and discussions
- 📁 GitHub: https://github.com/D3-vin - Source code and development
This software is provided for educational and research purposes only, "AS IS", without warranty of any kind. The author is not responsible for any misuse or consequences — responsibility lies entirely on the end user. By using it, you agree to the Terms of Service of the respective services and the laws of your country. Not affiliated with Datahive.
ПО предоставляется исключительно в образовательных и ознакомительных целях, «как есть». Автор не несёт ответственности за использование.