Overview
Nexus VPN Panel is a multi-tenant administrative and reseller SaaS platform built to automate the management, billing, and provisioning of Outline server nodes. It transforms raw server administration into a self-service business platform with real-time node monitoring and automated client lifecycle management.
1. Problem & Context
- Manual Key Overhead: Managing Outline servers through individual raw management keys is error-prone, lacks centralized billing, and prevents multi-reseller operations.
- Financial Accountability: Resellers need automated wallet balances, deposit approvals, and instant key issuance without waiting for manual admin intervention.
- Server Health & Monitoring: Administrators need real-time visibility into server CPU, RAM, disk, and live bandwidth usage across geographically distributed nodes.
2. Core Features & Business Flows
🌐 Multi-Node Server Orchestration
- Centralized Node Management: Real-time integration with Outline management APIs across global server locations.
- Live Bandwidth & Health Monitoring: Background Python monitoring agent tracking CPU, RAM, disk usage, and per-key Mbps data consumption.
- Seamless Server Migration: Replaces or migrates access keys across servers while preserving Access URLs to eliminate customer disruption.
🔑 Automated Key Lifecycle
- Instant Issuance & Renewal: Automated key creation upon wallet deduction, custom duration plans (1, 3, 6, 12 months), and data usage limits.
- Scheduled Expiry & Cleanup: Automated hourly and daily artisan schedulers to alert expiring keys and revoke stale credentials.
- Access URL & QR Generation: One-click configuration links and downloadable QR codes for mobile and desktop clients.
💼 Reseller Wallet & Telegram Bot
- Idempotent Financial Ledger: Row-level locking on wallet deposits and deductions, ensuring strict transactional integrity.
- Telegram Bot Self-Service: Resellers can link their account, check wallet balance, buy new keys, renew active plans, and upload deposit payment slips directly inside Telegram.
- Deposit & Refund Workflow: Screenshot-backed deposit requests with dual approval pathways (Admin Web Panel & Telegram Bot inline buttons).
📊 Business Analytics & Reporting
- Revenue Dashboards: Chart.js financial trends, net profit calculations, and payment method breakdowns (KPay, WavePay, Banking).
- Expiry Forecasting: Forward-looking dashboards predicting keys expiring in 24 hours, 7 days, and 30 days.
3. Technology Stack & Key Skills
- Backend Framework: Laravel 12, PHP 8.2+, Eloquent ORM
- Database: MySQL with strict foreign keys, soft deletes, and transactional audit logs
- Integrations: Outline Management REST API, Telegram Bot API (Webhook & Long Polling)
- Monitoring Agent: Python daemon collecting node performance metrics
- Frontend: Blade, Bootstrap 5, Chart.js, Flatpickr, Toastify (no build step overhead)
- Quality & Security: Pest/PHPUnit automated test suites, Spatie Permission, Spatie Activitylog
4. Key Engineering Highlights & Business Impact
- Zero-Downtime Server Cutover: Engineered an automated cutover protocol allowing entire server migrations without re-distributing keys to end customers.
- Concurrency-Safe Financial Logic: Implemented atomic DB transactions with
sharedLockandlockForUpdateto prevent race conditions during simultaneous reseller purchases. - Operational Autonomy: The Telegram Bot self-service integration reduced administrative support workload by over 70%.