A music server for cows

Implemented:
To-do:
See the prioritized backlog
cargo server 8001
RUST_BACKTRACE=1 RUST_LOG="moosicbox=debug" cargo server:debug 8001
WS_HOST="wss://tunnel2.moosicbox.com/ws" TUNNEL_ACCESS_TOKEN='your access token here' STATIC_TOKEN='your static token here' ./do-deploy.sh moosicbox-tunnel-server
TUNNEL_ACCESS_TOKEN='your access token here' cargo tunnel-server 8005
TUNNEL_ACCESS_TOKEN='your access token here' RUST_BACKTRACE=1 RUST_LOG="moosicbox=debug" cargo tunnel-server:debug 8005
TUNNEL_ACCESS_TOKEN='your access token here' AWS_ACCESS_KEY_ID='token here' AWS_SECRET_ACCESS_KEY='key here' ./do-deploy.sh moosicbox-tunnel-server
The SQLite database stores the music library data:
diesel migration run --migration-dir migrations/server/sqlite --database-url library.db
diesel migration revert --migration-dir migrations/server/sqlite --database-url library.db
diesel migration generate --migration-dir migrations/server/sqlite migration_name
diesel migration run --migration-dir migrations/server/postgres --database-url postgres://username:password@host/dbname
diesel migration revert --migration-dir migrations/server/postgres --database-url postgres://username:password@host/dbname
diesel migration generate --migration-dir migrations/server/postgres migration_name
The Postgres database stores the tunnel server configurations:
diesel migration run --migration-dir migrations/tunnel/postgres --database-url postgres://username:password@host/dbname
diesel migration revert --migration-dir migrations/tunnel/postgres --database-url postgres://username:password@host/dbname
diesel migration generate --migration-dir migrations/tunnel/postgres migration_name
The MySQL database stores the tunnel server configurations:
diesel migration run --migration-dir migrations/tunnel/mysql --database-url mysql://username:password@host/dbname
diesel migration revert --migration-dir migrations/tunnel/mysql --database-url mysql://username:password@host/dbname
diesel migration generate --migration-dir migrations/tunnel/mysql migration_name
$ claude mcp add MoosicBox \
-- python -m otcore.mcp_server <graph>