A Wrapped / Replay like for teal.fm and rocksky.app (currently on hiatus)
3
fork

Configure Feed

Select the types of activity you want to include in your feed.

at main 20 lines 608 B view raw
1use clap::Parser; 2 3#[derive(Debug, Parser)] 4pub struct Config { 5 /// Identification for Musicbrainz - goes in user-agent header. 6 #[clap(env)] 7 pub mb_agent: String, 8 /// Tap URL. 9 #[clap(env)] 10 pub tap: String, 11 /// Location for the Flashback database 12 #[clap(env, default_value = "/data/flashback.db")] 13 pub db: String, 14 /// Port for the Flashback server 15 #[clap(env, default_value_t = 8080)] 16 pub port: u16, 17 /// Should the DuckDB UI Server be enabled (on port 4213) 18 #[clap(env, default_value_t = false, action = clap::ArgAction::Set)] 19 pub duckdb_ui: bool, 20}