No description
- Rust 77.3%
- Nix 22.7%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| src | ||
| .gitignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| flake.lock | ||
| flake.nix | ||
| LICENSE | ||
| README.md | ||
barn
playlist sync and scrobble server. you can read about all the endpoints in
src/main.rs somewhere in the main file. barn is configured using toml, here's
an example:
ip = "0.0.0.0" # optional, defaults to 127.0.0.1
port = 1234 # optional, defaults to 9899
db_file_path = "my.db" # optional defaults to barn.db
token_file_path = "path_to_my_file_containing_a_super_secret_token" # required
the token file contents must not be encrypted (probably a bad thing but whatevs) it can also be whatever length you'd like so make it long. barn doesn't use TLS if you're gonna open it up to the internet put it behind a reverse proxy. the included nix flake has a module to use barn.