86b500cc77e6c454d21c5a1a9bc715928cd78957
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
npm install
cp env.example .env # edit with your values
npm run dev
Build
npm run build # builds CSS + obfuscated JS
Production
npm run build
node server.js # or: npm run start
PM2
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 |
Languages
EJS
69.2%
JavaScript
22.9%
CSS
7.7%