Initial workspace scaffold

Cargo workspace with 5 crates: buh-entity (pure data structs),
buh-data (Turso/libsql data access), buh-util (scraper, rules,
processor, sync modules), buh-cli (binary "buh" with client/daemon
subcommands), and buh-ws (axum WebSocket server).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-03-20 09:46:15 +02:00
commit b11a0b7c56
26 changed files with 4131 additions and 0 deletions

38
daemon.toml Normal file
View File

@@ -0,0 +1,38 @@
[database]
url = "libsql://your-db.turso.io"
auth_token = "your-token"
[[indexers]]
name = "example-indexer"
url = "https://example.com/api"
media_types = ["show", "movie"]
[[sync]]
name = "jellyfin-shows"
media_type = "show"
path = "/mnt/media/shows"
[[sync]]
name = "jellyfin-movies"
media_type = "movie"
path = "/mnt/media/movies"
[[sync]]
name = "jellyfin-music"
media_type = "music"
path = "/mnt/media/music"
[[sync]]
name = "jellyfin-books"
media_type = "book"
path = "/mnt/media/books"
[[sync]]
name = "jellyfin-audiobooks"
media_type = "audio-book"
path = "/mnt/media/audiobooks"
[routines]
scrape = true
process = true
sync = true