01_ARCHITECTURE
Process_Manager
PM2 v5.3.1
Web_Server
Nginx (Reverse Proxy)
Framework
Next.js 15 (Turbopack)
Language
TypeScript 5.x
02_TELEMETRY_API
Endpoint: GET /api/host-stats
{
"cpu": "float", // Current load %
"ram": "float", // Active GB
"totalRam": "float",// Capacity GB
"uptime": "string", // Days/Hrs/Min
"tx": "float", // Outbound KB/s
"rx": "float" // Inbound KB/s
}Data Source: node-systeminformation. Parsed from /proc filesystem on host node.
03_NETWORK_LOGIC
Calculation Method: Bitwise AND/OR operations against 32-bit unsigned integers.
- - IPv4 Octet to Binary conversion
- - CIDR Mask to Subnet Mask derivation
- - Network boundary identification
- - First/Last usable IP addressing
- - Broadcast address generation
- - Total host capacity: 2^(32-n) - 2
04_SECURITY_INTEGRATION
| SERVICE | AUTH_TYPE | DATA_FORMAT |
|---|---|---|
| VirusTotal | x-apikey (Header) | JSON (v3) |
| Local_Crypto | Native WebCrypto | SHA-256 / MD5 |
05_DEPLOYMENT_FLOW
STAGE_01:Git push origin master (Local Dev)
STAGE_02:Execution of ./deploy.sh (Linode)
- Pull latest master branch
- npm install (Sync dependencies)
- npm run build (Turbopack optimization)
STAGE_03:PM2 process reload (Zero-downtime)