Feat twitch livestreams (#334)

* backend code

* fixed twitch authentication
This commit is contained in:
Marco Piovanello
2025-08-25 12:54:16 +02:00
committed by GitHub
parent 14a03d6a77
commit f4a0f688af
9 changed files with 440 additions and 14 deletions

View File

@@ -4,6 +4,7 @@ import (
"os"
"path/filepath"
"sync"
"time"
"gopkg.in/yaml.v3"
)
@@ -31,6 +32,11 @@ type Config struct {
OpenIdEmailWhitelist []string `yaml:"openid_email_whitelist"`
FrontendPath string `yaml:"frontend_path"`
AutoArchive bool `yaml:"auto_archive"`
Twitch struct {
ClientId string `yaml:"client_id"`
ClientSecret string `yaml:"client_secret"`
CheckInterval time.Duration `yaml:"check_interval"`
} `yaml:"twitch"`
}
var (