NexiCloud — Low-Latency Cloud Gaming Rental & Host Orchestration Platform
NexiCloud — แพลตฟอร์มเช่าเครื่องเล่นเกมผ่านคลาวด์ความหน่วงต่ำ (nexicloud.company)
Engineered a full-stack cloud gaming rental platform enabling low-latency 4K 60fps AAA game streaming via Moonlight/Sunshine, complete with real-time WebSocket PIN pairing, automated Stripe PromptPay QR wallet top-ups, TOTP 2FA admin security, and Wake-on-LAN/SSH hardware orchestration.
Patipan Plonying (ปฏิภาณ พลยิ่ง)
Full-Stack Developer & System Architect (End-to-End UI, API, Payment & Host Orchestration)
2026
Next.js + WebSocket (wss://)
Synchronizes live Host PC status, relays 4-digit Moonlight pairing PINs, and streams session expiry alerts with exponential backoff reconnection.
Stripe PromptPay + TOTP 2FA
Automated 3–5 second QR top-ups backed by a decimal-precision Audit Ledger, Google OAuth, httpOnly cookies, and Admin TOTP 2FA.
Moonlight/Sunshine + WOL & SSH
Streams 4K 60fps games with ~1ms overhead, manages remote power via Wake-on-LAN/SSH, and sanitizes sessions automatically.
1. The Engineering Challenge
Operating an on-demand cloud gaming rental service requires tight synchronization between web bookings, instant QR payment verification, time-sensitive Moonlight/Sunshine PIN pairing over WebSockets, and automated host PC power/quarantine lifecycle management.
2. Solution & Technical Execution
- 01Built the frontend with Next.js, TypeScript, and TanStack Query to synchronize live Host PC states (available, provisioning, in-use, quarantined, maintenance) and dynamic promotional pricing.
- 02Implemented a WebSocket signaling layer (wss://) with exponential backoff reconnection to handle 4-digit Moonlight/Sunshine PIN pairing, live session readiness, and rental expiry notifications.
- 03Integrated Stripe PromptPay QR top-ups with 3–5 second automated wallet crediting and a centralized financial Audit Ledger.
- 04Engineered an Admin Console featuring TOTP 2FA authentication, Wake-on-LAN (WOL) & SSH remote power controls, automated host agent spec reporting, and post-session account cleanup.
3. Production Results & Impact
- ✓Enabled seamless self-service onboarding: users sign in with Google, top up via PromptPay QR in 3–5 seconds, and pair their Moonlight client via a 4-digit PIN across desktop and mobile devices.
- ✓Automated Host PC lifecycle management via remote Wake-on-LAN, SSH power controls, and post-session environment sanitization.
- ✓Delivered complete financial and operational visibility through a real-time Audit Ledger, 14-day revenue analytics, and host utilization telemetry.