- deploy/compose.yaml: KANAME_DATA_DIR bind mount (SQLite) for web and
worker, NFSv4 volume for models (worker only), configured via .env
- entrypoint fails fast with a chown hint if /data or /models isn't writable
- .env.example and README document the server storage layout
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- docker-entrypoint.sh: `web` (default) or `worker`; both apply pending
migrations under a flock on /data, so no start-order dependency
- docker-healthcheck.sh baked into the image for both roles
- deploy/compose.yaml reduced to image, role, env file, volumes, port
- dist/migrate.mjs bundled alongside the worker
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- .gitea/workflows/release.yaml: on vX.Y.Z tags run checks, build and push the
image to the Gitea registry (X.Y.Z, X.Y, latest), create a release from the
CHANGELOG section
- scripts/release-notes.mjs: extract changelog section, create the release
- deploy/compose.yaml: server setup using the released image
- APP_VERSION build arg, shown in the header
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The add form now opens inline from the library instead of living on its own
page with a separate menu entry. After adding, the panel closes and the new
model's download progress shows in the list.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Worker queue with per-model exclusivity and MAX_CONCURRENT_DOWNLOADS,
spawns `hf download --revision <sha> --local-dir ... --include <exact paths>`
with HF_TOKEN via env only
- Progress from bytes on disk (final + .incomplete files matched by etag),
per job and per file, with speed and ETA; post-download size/etag check
- Job logs (sanitized), cancel, graceful interrupt on shutdown,
partial-file cleanup (hf 2.1.1 does not resume partials)
- Single-worker DB lease, free-space check
- SSE live updates for library, model and job pages
- Dockerfile + compose.yaml (web, worker, data/models volumes)
- HF_HUB_DISABLE_XET default on for measurable progress
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Hub API client: resolve revision to SHA, paginated recursive file tree,
gated-access probe, readable error mapping
- Add-model page with quant quick-select, fnmatch-compatible include/exclude
globs, selection summary and free-space hint
- Models stored pinned to the reviewed SHA with full file list and selection rule
- Library list, model detail page, remove (never-downloaded models only)
- Worker reports MODELS_DIR free space; unit tests for selection logic
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>