- feat(library): walk each root, plan the changes, read tags with N parallel workers and write from a single goroutine - feat(library): detect renames by size and mtime only when the match is unambiguous; mark vanished files missing instead of deleting them - fix-safe: an unreadable root, an unreadable subdirectory or an interrupted scan never marks files as missing; symlinks are skipped - feat(library): event hub that fans scan progress out to subscribers without ever blocking the scan (ready for a websocket client) - feat(library): TagLib (WASM, no CGO) reader for MP3 and FLAC tags and audio properties, with title and artist fallbacks - feat(storage): library repository for SQLite and PostgreSQL - feat(api): POST/GET /api/v1/library/scan to start a scan and read its status - feat(config): library.scan_workers
65 lines
2.7 KiB
Modula-2
65 lines
2.7 KiB
Modula-2
module codeberg.org/squidd/sonda
|
|
|
|
go 1.27.1
|
|
|
|
require (
|
|
github.com/gin-gonic/gin v1.12.0
|
|
github.com/golang-jwt/jwt/v5 v5.3.1
|
|
github.com/jackc/pgx/v5 v5.12.0
|
|
github.com/pelletier/go-toml/v2 v2.4.3
|
|
github.com/uptrace/bun v1.3.0
|
|
github.com/uptrace/bun/dialect/pgdialect v1.3.0
|
|
github.com/uptrace/bun/dialect/sqlitedialect v1.3.0
|
|
go.senan.xyz/taglib v0.15.0
|
|
go.uber.org/zap v1.28.0
|
|
golang.org/x/crypto v0.58.0
|
|
modernc.org/sqlite v1.62.0
|
|
)
|
|
|
|
require (
|
|
github.com/bytedance/gopkg v0.1.3 // indirect
|
|
github.com/bytedance/sonic v1.15.0 // indirect
|
|
github.com/bytedance/sonic/loader v0.5.0 // indirect
|
|
github.com/cloudwego/base64x v0.1.6 // indirect
|
|
github.com/dustin/go-humanize v1.1.0 // indirect
|
|
github.com/gabriel-vasile/mimetype v1.4.12 // indirect
|
|
github.com/gin-contrib/sse v1.1.0 // indirect
|
|
github.com/go-playground/locales v0.14.1 // indirect
|
|
github.com/go-playground/universal-translator v0.18.1 // indirect
|
|
github.com/go-playground/validator/v10 v10.30.1 // indirect
|
|
github.com/goccy/go-json v0.10.5 // indirect
|
|
github.com/goccy/go-yaml v1.19.2 // indirect
|
|
github.com/google/uuid v1.6.0 // indirect
|
|
github.com/jackc/pgpassfile v1.0.0 // indirect
|
|
github.com/jackc/pgservicefile v0.0.0-20240606120523-5a60cdf6a761 // indirect
|
|
github.com/jackc/puddle/v2 v2.2.3 // indirect
|
|
github.com/jinzhu/inflection v1.0.0 // indirect
|
|
github.com/json-iterator/go v1.1.12 // indirect
|
|
github.com/klauspost/cpuid/v2 v2.3.0 // indirect
|
|
github.com/leodido/go-urn v1.4.0 // indirect
|
|
github.com/mattn/go-isatty v0.0.24 // indirect
|
|
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
|
|
github.com/modern-go/reflect2 v1.0.2 // indirect
|
|
github.com/ncruces/go-strftime v1.1.0 // indirect
|
|
github.com/puzpuzpuz/xsync/v3 v3.5.1 // indirect
|
|
github.com/quic-go/qpack v0.6.0 // indirect
|
|
github.com/quic-go/quic-go v0.59.0 // indirect
|
|
github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec // indirect
|
|
github.com/tetratelabs/wazero v1.11.1-0.20260428013916-2bbd517b7633 // indirect
|
|
github.com/tmthrgd/go-hex v0.0.0-20190904060850-447a3041c3bc // indirect
|
|
github.com/twitchyliquid64/golang-asm v0.15.1 // indirect
|
|
github.com/ugorji/go/codec v1.3.1 // indirect
|
|
github.com/vmihailenco/msgpack/v5 v5.4.1 // indirect
|
|
github.com/vmihailenco/tagparser/v2 v2.0.0 // indirect
|
|
go.mongodb.org/mongo-driver/v2 v2.5.0 // indirect
|
|
go.uber.org/multierr v1.11.0 // indirect
|
|
golang.org/x/arch v0.22.0 // indirect
|
|
golang.org/x/net v0.60.0 // indirect
|
|
golang.org/x/sync v0.24.0 // indirect
|
|
golang.org/x/sys v0.49.0 // indirect
|
|
golang.org/x/text v0.43.0 // indirect
|
|
google.golang.org/protobuf v1.36.10 // indirect
|
|
modernc.org/libc v1.80.1 // indirect
|
|
modernc.org/mathutil v1.7.1 // indirect
|
|
modernc.org/memory v1.12.1 // indirect
|
|
)
|