Some checks failed
Deploy to Production / test (push) Failing after 32s
Bun's ws.publish() excludes the sender, so the player making a move never received the GAME_UPDATE with the new FEN — causing pieces to snap back. Added ctx.send() alongside ctx.publish() for GAME_UPDATE and GAME_ENDED. Also redesigned the panel for mobile: hamburger drawer sidebar, responsive chess board sizing via ResizeObserver, stacked layouts on small screens, and touch-friendly modals/controls across lobby and game pages. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Aurora Web API
The web API provides a REST interface and WebSocket support for accessing Aurora bot data and configuration.
API Endpoints
GET /api/stats- Real-time bot statisticsGET /api/settings- Bot configurationGET /api/users- User dataGET /api/items- Item catalogGET /api/quests- Quest informationGET /api/transactions- Economy dataGET /api/health- Health check
WebSocket
Connect to /ws for real-time updates:
- Stats broadcasts every 5 seconds
- Event notifications via system bus
- PING/PONG heartbeat support
Development
The API runs automatically when you start the bot:
bun run dev
The API will be available at http://localhost:3000