Initial commit: playlink music library hardlink deduplicator
Go backend (chi, SQLite) with an embedded React/TypeScript UI that finds songs present in both a host and a slave music library and replaces the slave copy with a hardlink to the host copy. - Path-first matching with format/title/album-folder fallbacks - Auto-linking of byte-identical files, re-verified with cmp before linking - Manual review with ffprobe quality comparison, downgrade guard and promote-to-host override - Build mode to populate an empty slave library from the host - Dry run by default, atomic stage+rename replacement, quarantine with retention, undo, path confinement and authenticated UI - Dockerfile and compose file for Unraid Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
commit
ac47e61b08
42 files changed
+8892
No files matched your search
@@ -0,0 +1,18 @@
|
||||
.PHONY: build web test run docker
|
||||
|
||||
build: web
|
||||
CGO_ENABLED=0 go build -trimpath -o playlink ./cmd/playlink
|
||||
|
||||
web:
|
||||
cd web && npm ci && npm run build
|
||||
|
||||
test:
|
||||
go vet ./...
|
||||
go test -race ./...
|
||||
cd web && npx tsc -b
|
||||
|
||||
run: build
|
||||
PLAYLINK_DATA_DIR=./config PLAYLINK_ALLOWED_ROOTS=$(PWD)/testdata ./playlink
|
||||
|
||||
docker:
|
||||
docker build -t playlink:latest .
|
||||
Reference in new issue
Block a user