How nimzzai/alight-motion-premium-website works
Alight Motion Premium Creator is an unofficial website that guides users through activating Premium via an existing backend API. Its main workflow takes an email through magic-link delivery and verification, then presents the activation result. Separate branches provide API status and service guidance, donation submission, and a streaming help chatbot. The README documents several routes whose implementations were not sampled; their paths are taken from the tree, and uncertain internal wiring is omitted.
Main entry points: ActivationFlow.tsx Activation Flow · status.tsx Status Page · am-api.functions.ts Activation API Functions · aktivasi.tsx Activation Page
Components 24
Activation
- Activation Page
src/routes/aktivasi.tsx - Activation Flow
src/components/site/ActivationFlow.tsx - Activation API Functions
src/lib/am-api.functions.ts - Activation Result
src/components/site/AfterSuccess.tsx
Guidance
- Landing Page
src/routes/index.tsx - Step-by-Step Guide
src/routes/panduan.tsx - FAQ
src/routes/faq.tsx - Troubleshooting
src/routes/troubleshooting.tsx - System Overview
src/routes/sistem.tsx - Status Page
src/routes/status.tsx - API Status Hook
src/hooks/use-api-status.ts - API Status UI
src/components/site/ApiStatusCard.tsx
Support
- Donation Page
src/routes/donasi.tsx - Donation Form
src/components/site/DonationForm.tsx - Donation Handler
src/lib/donation.functions.ts - Nimzz AI Chat
src/components/site/NimzzAI.tsx - Chat Endpoint
src/routes/api/nimzz-ai.ts - AI Stream Client
src/lib/unlimitedai.ts
Site Runtime
- Global Layout
src/routes/__root.tsx - Router Setup
src/router.tsx
Other components
- Visitor
- Activation API
- Telegram Bot
- AI Provider
Connections 23
- Visitor → Activation Page: opens
- Activation Page → Activation Flow: renders
- Activation Flow → Activation API Functions: requests send/verify
- Activation API Functions → Activation API: calls endpoints
- Activation Flow → Activation Result: shows result
- Visitor → Landing Page: opens
- Visitor → Step-by-Step Guide: opens
- Visitor → FAQ: opens
- Visitor → Troubleshooting: opens
- Visitor → System Overview: opens
- Visitor → Status Page: opens
- Status Page → API Status Hook: checks status
- API Status Hook → Activation API Functions: calls health/info
- Status Page → API Status UI: presents status
- Visitor → Donation Page: opens
- Donation Page → Donation Form: renders
- Donation Form → Donation Handler: submits proof
- Donation Handler → Telegram Bot: sends notification
- Visitor → Nimzz AI Chat: uses chat
- Nimzz AI Chat → Chat Endpoint: posts messages
- Chat Endpoint → AI Stream Client: streams response
- AI Stream Client → AI Provider: requests completion
- Router Setup → Global Layout: sets up routes