Add Steam integration showing online status and recent games
Deploy with Docker Compose / deploy (push) Has been cancelled

Fetches player summary and recently played games from Steam API with
5-minute server-side caching. Displays in the home sidebar with online
indicator and game artwork.

Co-Authored-By: Claude Opus 4.6 <[email protected]>
This commit is contained in:
2026-03-26 01:59:34 +00:00
co-authored by Claude Opus 4.6
parent 747563c6c9
commit 264df132df
13 changed files with 772 additions and 2 deletions
+13
View File
@@ -83,6 +83,19 @@ type SpotifyTrack struct {
Album *SpotifyAlbum `json:"album"`
}
type SteamGame struct {
AppID int `json:"appId"`
Name string `json:"name"`
Playtime2Weeks int `json:"playtime2Weeks"`
PlaytimeForever int `json:"playtimeForever"`
HeaderImageURL string `json:"headerImageUrl"`
}
type SteamStatus struct {
Online bool `json:"online"`
RecentGames []*SteamGame `json:"recentGames"`
}
type UpdatePostInput struct {
Title string `json:"title"`
Content string `json:"content"`