meow && add song of the day!

This commit is contained in:
Heidi
2026-05-27 14:49:26 +01:00
parent 3a2cd9b1aa
commit 69fc002961
5 changed files with 345 additions and 4 deletions
+11
View File
@@ -80,6 +80,17 @@ API_RATE_LIMIT_WINDOW_MS=60000
API_RATE_LIMIT_MAX=120
```
Optional Last.fm song of the day:
```sh
LASTFM_API_KEY=your-lastfm-api-key
LASTFM_USERNAME=your-lastfm-username
LASTFM_HISTORY_FILE=lastfm-song-of-day.json
```
The server stores daily picks in `UPTIME_STORAGE_DIR` and avoids repeating songs
until the recent-track pool is exhausted.
## Reverse proxy / Cloudflare
The server only honours `CF-Connecting-IP`, `X-Forwarded-For`, `X-Forwarded-Proto`,