feat: add optional Steam Web API achievements
CI / test (push) Successful in 37s

Load the key from STEAMBASE_STEAM_API_KEY or data/steam_api_key.txt, expose GET /api/steam/achievements/{appid} with a 15-minute in-memory cache, show progress in the game card, and report steam_api in /api/meta. The key is never logged or returned to clients.
This commit is contained in:
strsv committed 2026-11-07 01:22:06 +03:00
1 parent fc113b8794
commit 5b1b23d392
16 files changed
+423 -8

No files matched your search

+4
View File
@@ -143,6 +143,10 @@
- `played` и `ignore` больше не попадают в рекомендации по умолчанию; вернуть
пройденные можно флажком «учитывать пройденные» / `include_played` /
`--include-played`.
- Опциональные достижения Steam Web API: ключ из `STEAMBASE_STEAM_API_KEY` или
`data/steam_api_key.txt`, `GET /api/steam/achievements/{appid}`, блок прогресса
в карточке игры, кэш в памяти на 15 минут и флаг `steam_api` в `/api/meta`.
Без ключа всё работает как раньше.
- Сортировка таблицы по жанру и избранному; опции в селекторе сортировки.
- Демо-скриншоты текущего UI в README.