bilistream uses a single config.yaml file for all settings. If the file is missing at startup, the program will automatically initialize a default configuration.
Security Note: If WebConsole.Addr is set to a public address and the password is empty, the program will automatically generate a random password and write it back to the config. The startup logs will notify you that a password was generated, but the password itself will not be printed in plain text in the logs.
Configuration Schema Reference:
Interval: Monitoring interval.Platform: The source platform (e.g., Twitch).BiliLive: Bilibili credentials and stream settings:SESSDATA, bili_jct, DedeUserID, DedeUserID__ckMd5: Bilibili cookies.Room: Bilibili Room ID.BiliRtmpUrl: Bilibili RTMP URL.BiliRtmpKey: Bilibili RTMP Key.
Twitch: Room (Twitch username/room).Youtube: Room and AccessToken.YoutubePreviewLive: ChannelId.FfmpegProxy: Proxy settings for FFmpeg.Cookies: Path to cookies file.Notification: Notification settings (see Notification Strategies).Gotify: Url and Token.Ntfy: Url, Topic, Token, Username, Password, Priority, Tags.WebConsole: Addr, Username, Password.
Interval: 60
Platform: Twitch
BiliLive:
SESSDATA: ""
bili_jct: ""
DedeUserID: ""
DedeUserID__ckMd5: ""
Room: 0
BiliRtmpUrl: "rtmp://live-push.bilivideo.com/live-bvc/"
BiliRtmpKey: ""
Twitch:
Room: ""
Youtube:
Room: ""
AccessToken: ""
YoutubePreviewLive:
ChannelId: ""
FfmpegProxy: ""
Cookies: ""
Notification:
Enabled: true
Channel: gotify
GotifyEnabled: true
NtfyEnabled: false
Gotify:
Url: ""
Token: ""
Ntfy:
Url: "https://ntfy.sh"
Topic: ""
Token: ""
Username: ""
Password: ""
Priority: ""
Tags: ""
WebConsole:
Addr: "0.0.0.0:9090"
Username: "admin"
Password: ""