Free, unlimited fleet management for American Truck Simulator and Euro Truck Simulator 2.
Status: no longer in active development. It runs locally on my PC; it isn't deployed anywhere.
- Discord OAuth — drivers log in with Discord, no accounts to manage
- Auto job logging — client watches save files and pushes every run to the server
- Fleet dashboard — dark-themed web UI per VTC with live driver roster, dispatch log, aggregate stats
- Driver leaderboards — global and per-VTC, sorted by distance / jobs / earnings
- Discord bot —
/mystats,/leaderboard,/fleetslash commands - Live telemetry — speed, fuel, cargo state pushed in real time from the SDK
- Voice assistant — push-to-talk, OpenAI Whisper for speech-to-text, Claude for answers using live game data, spoken back with ElevenLabs (falls back to free edge-tts if no key is set)
- In-game overlay — a small always-on-top window that shows what you said and the assistant's reply
[ATS/ETS2] → saves game.sii
↓
[Local Client] watches save folder · decrypts · parses · pushes snapshot + telemetry
↓
[Flask Server] stores snapshots & jobs in PostgreSQL · serves web UI + REST API
↓
[Discord Bot] slash commands pulling from the API
[Web Browser] dashboard · leaderboard · VTC management
cd server
cp .env.example .env # fill in your Discord OAuth credentials
pip install -r requirements.txt
python server.py # runs on :5001- Download
SII_Decrypt.exefrom DecryptTruck and put it inclient/ - Copy
client/.env.example→client/.envand fill inSERVER_URL,DISCORD_TOKEN, etc. - Run:
cd client
pip install -r requirements.txt
python client.pycd bot
cp .env.example .env # set DISCORD_BOT_TOKEN and SERVER_URL
pip install -r requirements.txt
python bot.pySet DISCORD_GUILD_ID in bot/.env to your server's ID for instant slash command registration during testing. Remove it (or leave blank) for global registration.
I haven't deployed it yet. These are the steps I'm planning to use.
- Push this repo to GitHub
- Go to railway.app → New Project → Deploy from GitHub repo
- Select this repo — Railway will auto-detect Python and use
railway.toml
In your Railway project → New → Database → PostgreSQL. Railway sets DATABASE_URL automatically.
In Railway → your service → Variables, add:
| Variable | Value |
|---|---|
SECRET_KEY |
python -c "import secrets; print(secrets.token_hex(32))" |
DISCORD_CLIENT_ID |
From Discord Developer Portal |
DISCORD_CLIENT_SECRET |
From Discord Developer Portal |
DISCORD_REDIRECT_URI |
https://your-app.railway.app/auth/callback |
DATABASE_URL is injected automatically by the PostgreSQL plugin — do not set it manually.
In Discord Developer Portal → your app → OAuth2 → Redirects, add https://your-app.railway.app/auth/callback.
In your Railway project → New Service → GitHub Repo (same repo) → set:
- Root Directory:
bot - Start Command:
python bot.py - Variables:
DISCORD_BOT_TOKEN,SERVER_URL=https://your-app.railway.app
| Method | Path | Description |
|---|---|---|
POST |
/api/snapshot |
Receive save snapshot from client |
POST |
/api/telemetry |
Receive live telemetry |
GET |
/api/player/<discord_id> |
Single player stats |
GET |
/api/players |
All players |
GET |
/api/jobs/<discord_id> |
Paginated job history |
GET |
/api/leaderboard |
Global leaderboard (?sort=distance|jobs|earnings) |
GET |
/api/leaderboard/vtc/<id> |
Per-VTC leaderboard |
GET |
/api/vtc/<id> |
VTC details + member list |
POST |
/api/vtc/create |
Create a VTC |
POST |
/api/vtc/join |
Join a VTC by access code |
POST |
/api/vtc/leave |
Leave current VTC |
- Server: Python · Flask · SQLAlchemy · Gunicorn
- Database: SQLite (local) · PostgreSQL (production via Railway)
- Auth: Discord OAuth2
- Client: Watchdog · truck-telemetry SDK · tkinter overlay
- Voice assistant: OpenAI Whisper · Claude API · ElevenLabs / edge-tts
- Bot: discord.py 2.x · aiohttp
I built this with Claude Code. I planned the features, tested everything in-game, and worked through the bugs, most of which you can see in the commit history.

