An automated speed test reporting tool for the DeSpeed platform that performs periodic network speed measurements and reports them automatically.
- Automated speed testing using MLab's NDT7 protocol
- Support for HTTP and SOCKS (4/5) proxies
- Configurable test intervals
- Random location generation within specified bounds
- Detailed console logging with color-coded output
- Token-based authentication
- Automatic error handling and retry mechanisms
- Node.js (v14 or higher)
- A valid DeSpeed token
- (Optional) Proxy configuration
- Clone the repository:
git clone https://github.com/airdropinsiders/DeSpeed-Auto-Bot.git
cd DeSpeed-Auto-Bot
- Install dependencies:
npm install
- (Optional) Configure proxy:
Create a
proxy.txt
file in the root directory and add your proxy URL in the format:
http://user:pass@ip:port
# or
socks5://ip:port
- Input your token Fill with your tokens
nano token.txt
When you run the bot for the first time, it will prompt you for:
- DeSpeed token
- Proxy configuration (if not using proxy.txt)
- Test interval (in minutes)
The bot will automatically:
- Generate random test locations
- Validate your token
- Create a proxy agent if configured
- Schedule periodic tests
Start the bot:
npm start
The bot will:
- Initialize configuration
- Perform speed tests at specified intervals
- Report results to DeSpeed platform
- Display detailed logs of operations
The bot includes comprehensive error handling for:
- Network failures
- Invalid tokens
- Proxy issues
- API errors
- Connection timeouts
- Token validation and expiry checking
- Random location generation within bounds
- Proxy connection testing
- Periodic speed testing
- Detailed logging
This tool is for educational purposes only. Make sure to comply with DeSpeed's terms of service and use responsibly.
This project is licensed under the MIT License - see the LICENSE file for details.
Contributions are welcome! Please feel free to submit a Pull Request.