Add Steam integration showing online status and recent games
Some checks failed
Deploy with Docker Compose / deploy (push) Has been cancelled
Some checks failed
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 <noreply@anthropic.com>
This commit is contained in:
@@ -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"`
|
||||
|
||||
Reference in New Issue
Block a user