How plugnowplay/aibill-radius works
AIBILL RADIUS is an ISP billing and operations system. Admins manage subscriber accounts, access profiles, vouchers, invoices, payments, network resources, and finances; agents sell vouchers, while customers can access invoices and purchase e-vouchers. Payment creation delegates to gateway clients, and webhook handling updates billing state and triggers RADIUS synchronization and notifications. The graph also includes documented operational capabilities; several UI/API connections and unsampled integrations are inferred from the routes and README, so uncertain links are omitted.
Main entry points: prisma.ts MySQL Data · page.tsx Admin Console · invoices/route.ts Invoice Management · users/route.ts PPPoE Accounts
Components 28
Access Management
- Admin Console
src/app/admin/page.tsx - PPPoE Accounts
src/app/api/pppoe/users/route.ts - PPPoE Profiles
src/app/api/pppoe/profiles/route.ts - Hotspot Vouchers
src/app/api/hotspot/voucher/route.ts
Billing And Sales
- Agent Portal
src/app/agent/page.tsx - Customer Portal
src/app/customer/page.tsx - Agent Accounts
src/app/api/hotspot/agents/route.ts - Invoice Management
src/app/api/invoices/route.ts - E-voucher Orders
src/app/api/evoucher/purchase/route.ts - Payment Creation
src/app/api/payment/create/route.ts - Payment Settlement
src/app/api/payment/webhook/route.ts - Financial Transactions
src/app/api/keuangan/transactions/route.ts
Network Operations
- Session Monitoring
src/app/api/sessions/route.ts - Network Management
src/app/api/network/routers/route.ts - Dashboard Stats
src/app/api/dashboard/stats/route.ts
Messaging And Automation
- Scheduled Operations
src/app/api/cron/route.ts - WhatsApp Notifications
src/lib/whatsapp-notifications.ts
Platform Services
- Backup Management
src/lib/backup.ts - Authentication
src/lib/auth.ts - MySQL Data
src/lib/prisma.ts
Other components
- Admin
- Agent
- Customer
- FreeRADIUS
- Payment Gateways
- WhatsApp Service
- Telegram
- GenieACS
Connections 46
- Admin → Admin Console: uses
- Agent → Agent Portal: uses
- Customer → Customer Portal: uses
- Admin Console → PPPoE Accounts: manages
- Admin Console → PPPoE Profiles: manages
- Admin Console → Hotspot Vouchers: manages
- Admin Console → Agent Accounts: manages
- Admin Console → Invoice Management: manages
- Admin Console → Financial Transactions: manages
- Admin Console → Session Monitoring: monitors
- Admin Console → Network Management: configures
- Admin Console → Dashboard Stats: views
- Admin Console → Scheduled Operations: triggers
- Agent Portal → Agent Accounts: uses
- Agent Portal → Hotspot Vouchers: sells vouchers
- Customer Portal → Invoice Management: views invoices
- Customer Portal → E-voucher Orders: purchases
- E-voucher Orders → Payment Creation: requests payment
- Invoice Management → Payment Creation: requests payment
- Payment Creation → MySQL Data: reads and writes
- Payment Creation → Payment Gateways: creates payment
- Payment Gateways → Payment Settlement: sends status
- Payment Settlement → MySQL Data: updates billing
- Payment Settlement → FreeRADIUS: syncs vouchers
- Payment Settlement → WhatsApp Notifications: sends receipts
- PPPoE Accounts → MySQL Data: reads and writes
- PPPoE Accounts → WhatsApp Notifications: sends notice
- PPPoE Accounts → FreeRADIUS: updates RADIUS data
- PPPoE Profiles → MySQL Data: reads and writes
- PPPoE Profiles → FreeRADIUS: updates RADIUS groups
- Hotspot Vouchers → MySQL Data: reads and writes
- Hotspot Vouchers → FreeRADIUS: syncs vouchers
- Agent Accounts → MySQL Data: reads and writes
- Agent Accounts → WhatsApp Service: sends message
- Invoice Management → MySQL Data: reads and writes
- Invoice Management → WhatsApp Notifications: sends payment notice
- Financial Transactions → MySQL Data: reads and writes
- Session Monitoring → MySQL Data: reads accounting
- Dashboard Stats → MySQL Data: reads metrics
- Dashboard Stats → Authentication: checks session
- Network Management → MySQL Data: reads and writes
- Scheduled Operations → MySQL Data: runs scheduled jobs
- Scheduled Operations → WhatsApp Notifications: sends reminders
- Scheduled Operations → Telegram: sends backup and health
- Backup Management → MySQL Data: backs up data
- Network Management → GenieACS: manages devices