This project contains:
client/- Vite + React frontend (STB emulator UI)server/- Express proxy server that forwards requests to MAG/XUI portals and serves the built client
- Install:
npm ci - Run dev (requires concurrently and nodemon):
npm run dev
- Build client and start server:
npm ci npm run build npm start
- Build Command:
npm install --include=dev && npm run build - Start Command:
npm start - Make sure environment
PORTis provided by Render (Render sets it automatically).
- Use the Portal form to enter either an XUI/Xtream
player_api.phpURL (e.g. https://panel.example.com) with username/password, or a MAG/Stalker portal base URL together with MAC address as the username. - The server exposes
/proxy?target=<url>to forward requests when portal CORS blocks direct browser access.