No description
  • Rust 77.3%
  • Nix 22.7%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-09-30 12:13:25 -04:00
src init 2026-09-30 12:06:25 -04:00
.gitignore init 2026-09-30 12:06:25 -04:00
Cargo.lock init 2026-09-30 12:06:25 -04:00
Cargo.toml init 2026-09-30 12:06:25 -04:00
flake.lock init 2026-09-30 12:06:25 -04:00
flake.nix init 2026-09-30 12:06:25 -04:00
LICENSE init 2026-09-30 12:06:25 -04:00
README.md add readme 2026-09-30 12:13:25 -04:00

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.