# SREBOT-web Toothless SQB Bot Website — Express.js + EJS frontend with Tailwind CSS and i18n support (10 languages). ## Features - Squadron leaderboard, profiles, and stats - Player profiles with vehicle stats - Game detail pages with replay visualization - Season timeline and comparison tools - Tournament bracket viewer - Analytics dashboard - Multi-language support (en, ru, fr, it, uk, de, es, pl, cs, zh-CN) ## Development ```bash npm install cp env.example .env # edit with your values npm run dev ``` ## Build ```bash npm run build # builds CSS + obfuscated JS ``` ## Production ```bash npm run build node server.js # or: npm run start ``` ## PM2 ```bash npm run pm2:start # cluster mode (3 instances) npm run pm2:logs ``` ## Environment Variables See `env.example` for all available variables. Key ones: | Variable | Description | |---|---| | `PORT` | Server port (default: 3001) | | `EXTERNAL_API_URL` | SREBOT API URL (default: http://localhost:6000) | | `STORAGE_VOL_PATH` | Storage volume path (required) | | `PYTHON_BIN` | Python binary for replay rendering | | `RECAP_SCRIPT` | Path to render_recap.py (optional) | | `SHARED_ICONS_DIR` | Path to vehicle icons directory | | `SHARED_MINIMAPS_DIR` | Path to minimaps directory |