SpiderPanel
A FastAPI-based web panel for managing MTProxy instances with web interface and configuration management.
Features
- MTProxy Management: Automated deployment and configuration of Telegram MTProxy servers
- Web Interface: Clean HTML-based control panel with login functionality
- Configuration Data: Pre-configured SNI lists, CloudFlare subnets, and reality configurations
- Containerized Deployment: Docker support with Railway.toml for easy cloud deployment
- Multi-protocol Support: WebSocket support and HTTP/2 capabilities
- QR Code Generation: Built-in QR code generation for easy configuration sharing
Tech Stack
- Backend: FastAPI with Uvicorn ASGI server
- Frontend: Static HTML/CSS/JS interface
- Proxy Engine: MTProxy (Telegram's official proxy)
- Container: Docker with Python 3.13 slim base
- Dependencies: HTTPx, WebSockets, aiofiles, cryptography
Quick Start
Docker Deployment
docker build -t spiderpanel .
docker run -p 8080:8080 -p 443:443 spiderpanel
Local Development
pip install -r requirements.txt
uvicorn main:app --host 0.0.0.0 --port 8080
Access the panel at http://localhost:8080
Configuration
The panel includes several pre-configured data files:
cf_subnets.txt: CloudFlare subnet ranges
sni-list.txt & sni_reality.txt: SNI configurations for reality obfuscation
endpoint.txt: Endpoint configurations
Deployment
Supports deployment on Railway and other cloud platforms via the included railway.toml configuration.
Note: The panel runs on port 8080, with MTProxy services typically on port 443.