- Cloudflare Worker architecture with D1 storage
- React frontend with shadcn/ui + Tailwind CSS v4
- Authentication system (password + session cookies)
- Admin panel: Dashboard, Nodes, Users, Protocols, Settings
- User panel: Dashboard, Marketplace, Referral, Payment, Profile
- Proxy engine: VLESS, Trojan, Shadowsocks over WebSocket
- Subscription link generation (base64, Clash, sing-box)
- Traffic tracking per user
- Modular protocol system (JSON schema + templates)
- Dark theme with emerald accent
- Wizard installer Worker script
- One-click deployment via Cloudflare API token
- Automatic D1 database creation
- Worker script upload and configuration
- Bilingual wizard UI (English + Persian)
- Setup script for Git repository fixes
- ECH (Encrypted Client Hello) support
- TLS fragment / SNI fragment
- Proxy chaining (SOCKS5, HTTP, HTTPS forward)
- gRPC transport support
- XHTTP transport support
- WebSocket Early Data (0-RTT)
- Multi-path / port-spread configuration
- Disguise system — Error 1101 bypass + secret admin/login paths
- Automatic clean IP scanning + Iranian ISP detection
- Telegram Bot integration (user notifications, management commands)
- Backend mode — VPS registration + auto-install script
- TON Wallet integration (payments, withdrawals)
- Bridge API between Worker and external server
- Real-time notifications via WebSocket
- WARP account registration
- WARP+ license support
- WARP endpoint switcher
- Amnezia WARP mode
- WARP Noise protocol
- Per-ISP clean IP optimization
- DNS encryption (DoH, DoT)
- Routing rules (GeoIP, GeoSite)
- AdBlock / PornBlock / Malware blocking
- IPv6 support
- NAT64 transition support
- Bilingual documentation (English + فارسی)
- RTL layout for Persian UI
- Guided setup wizard (/install)
- Backup & Restore (export/import settings)
- Daily traffic charts with upload/download split
- Log viewer
- JSON config editor
- Central management API
- Multi-instance fleet stats
- Broadcast messages to all instances
- Instance heartbeat monitoring
- Kill switch (global pause/resume)
- Self-healing domain pool
- Clash/Mihomo direct link
- sing-box direct link
- V2RayNG / Nekobox optimized links
- Quantumult X support
- Loon / Surge support
- QR code generation for all formats
To add a new feature to XrayMOD:
Add new protocol support in worker/proxy/:
- Create a new handler file (e.g.,
grpc.ts) - Implement the protocol parsing and handling
- Register the protocol in
worker/schema.ts
Add new API routes in worker/api/:
- Create a new handler file
- Add route matching in
worker/router.ts - Update the types in
worker/types.ts
Add new UI components in src/:
- Create new components using shadcn/ui
- Add new tabs/views in
src/App.tsx - Update the navigation in the sidebar
Extend the wizard in wizard/:
- Modify
wizard/index.tsfor new deployment options - Update the wizard UI for new settings
Update documentation:
README.md— Installation and usage guidesROADMAP.md— This filePROTOCOLS.md— Protocol documentation
- Compulsory SECURE PATH + silent 404
- Admin Dashboard (update, CF email, domains, remote sync, kill switch)
- Disguise ON by default · D-tagged custom domains
- Schema v4 migration
- Initial open-source release
- Core proxy engine (VLESS, Trojan, Shadowsocks)
- Admin and user panels
- Wizard installer
- Bilingual documentation
- ECH / fragment polish, WARP stack, fleet domain pool