RadixVPN source code
- Python 97.5%
- Shell 1%
- Dockerfile 1%
- Mako 0.5%
| .forgejo/issue_template | ||
| backend | ||
| client/telegram-bot | ||
| docs | ||
| infrastructure/headserver | ||
| .gitignore | ||
| radix-vpn.code-workspace | ||
| README.md | ||
Radix VPN Documentation
Version: Draft v0.1
Project: Radix VPN
Radix VPN is a subscription-based VPN service built around a centralized management server (Head Server) and multiple distributed VPN Nodes. The architecture separates infrastructure management, business logic, and VPN services into independent components.
Main goals:
- centralized VPN management
- scalable node architecture
- easy deployment of new servers
- centralized monitoring
- automatic configuration management
- CI/CD with development and production environments
- Telegram-first user experience
Documentation Map
| Document | Description |
|---|---|
| Architecture | High-level design, component boundaries, service flows, SPOF, TrixUI replaceability |
| Backend | FastAPI role, clients, TrixUI adapter, source-of-truth rules |
| Database | ER diagrams, entities, sync strategy, identifier mapping |
| Authentication | Telegram login, signed tokens, admin login, 2FA |
| Deployment | Ansible, CI/CD pipeline, TrixUI provisioning research |
| Business Logic | Subscriptions, balance, devices, referrals, freeze, notifications |
| Security | HTTPS, firewall, SSH, Fail2Ban, secrets, database isolation |
| Operations | Backup strategy, monitoring, disaster recovery |
Quick Answers
| Question | Document |
|---|---|
| What runs on the Head Server today? | Architecture — Current deployment model |
| User paid — what happens next? | Architecture — Service flows |
| Who owns user records? | Backend — Source of truth |
| What database tables exist? | Database |
| How are backups handled? | Operations — Backup strategy |
| What if TrixUI is replaced? | Architecture — TrixUI replaceability |
Links
| Name | Link |
|---|---|
| Telegram Bot | Bot Link |
| Telegram Channel | Channel Link |
| Website | Later |