EN
Platform UI is currently English-only. Other languages here track your preference for future translations.
Lightning‑fast proxy relay for modern infrastructures
A FastAPI‑based proxy and relay service with WebSocket tunneling capabilities.
Core Capabilities
Everything you need for secure, high‑performance proxy relaying in one service.
VLESS Protocol Support
WebSocket tunneling implementation for VLESS protocol relay
Authentication System
Session-based authentication with token management
HTTP/XHTTP Routing
Custom routing handlers for HTTP and XHTTP protocols
Speed Limiting
Built-in traffic control and rate limiting functionality
Telegram Bot Integration
Bot interface for service management and monitoring
CORS Support
Cross-origin resource sharing enabled for web clients
Automated Deployment
GitHub Actions workflow for continuous deployment
Tech Stack
Built with modern async Python infrastructure for maximum performance.
Architecture
Clean, modular project structure for maintainability and clarity.
mt4/
├── main.py # FastAPI application and routing
├── state.py # Global state management
├── relay_vless.py # VLESS protocol WebSocket tunneling
├── xhttp_siz10.py # XHTTP routing implementation
├── speed_limit.py # Traffic control and rate limiting
├── telegram_bot.py # Telegram bot interface
└── pages.py # Web page handlers
Key Components
The core building blocks that power the mt4 proxy relay service.
Authentication
- Session-based auth with configurable TTL
- Token generation and validation
- Secure session management with locks
Relay System
- WebSocket tunneling for VLESS protocol
- HTTP/XHTTP request routing
- Asynchronous connection handling
Monitoring
- Telegram bot for service management
- Speed limiting and traffic monitoring
- State persistence and recovery
Getting Started
Deploy mt4 in minutes with these simple steps.
1. Install dependencies
pip install -r requirements.txt
2. Run the service
python main.py
The service provides a comprehensive proxy solution with modern async Python infrastructure and multi-protocol support.
Ready to accelerate your proxy infrastructure?
Deploy mt4 and start tunneling in minutes.
Get Started