-
released this
2026-11-04 15:18:23 +01:00 | 14 commits to main since this releaseCompetitive leaderboard
- New public endpoints:
GET /api/v1/leaderboards,GET /api/v1/leaderboards/:gameId, and authenticatedPOST /api/v1/leaderboards/:gameId/scores. - Keeps one best score per user, game and mode, ranked by time, moves, then submission time.
- Validates games, modes, times, moves and detail text; read and write endpoints are rate-limited.
- Stores scores in PostgreSQL with a SQLite fallback for development. Deleting an account cascades to its scores.
- New
LEADERBOARD_ENABLEDsetting (defaulttrue). When disabled, the app falls back to its local board. /api/v1/metanow reportsleaderboardEnabled.
Easier Git-based upgrades
- Reorganized
docker-compose.ymlwith a stable project name, image tag1.1.0, logging limits, health checks and anACCOUNT_PORToverride. - Added
update.shforgit pull --ff-only, database image pull, rebuild and restart. It refuses to run with local Git changes. .envanddocker-compose.override.ymlstay ignored so pulls remain clean.- README now documents the upgrade flow, backup/restore, leaderboard API examples and privacy notes.
Upgrade
git pull --ff-only docker compose build --pull accounts docker compose up -d --remove-orphansOr run
./update.sh. Theleaderboard_scorestable is created automatically; existing accounts are preserved.Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
- New public endpoints: