- Rename the app to Kaname - Hub metadata per model (base models, architecture, license, Hub tags), backfilled by the worker for existing models - Library search across repo/author/family/quant/tags and multi-select facet filters (author, family, quant, tag, status) kept in the URL - Custom tags (model page editor, on add, click-to-filter) - README rewritten around a quick install, with banner and screenshots - deploy/compose.yaml: models in a host folder (KANAME_MODELS_DIR) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
2167ea0950
commit
67191b3e16
37 files changed
+2028
-206
No files matched your search
+38
-26
@@ -1,32 +1,44 @@
|
||||
# Hugging Face token (server-side only; passed to the hf CLI via environment)
|
||||
# ---------------------------------------------------------------------------
|
||||
# Required
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
# URL you open Kaname at in the browser. Your OIDC redirect URI is
|
||||
# <AUTH_URL>/api/auth/callback/pocket-id
|
||||
AUTH_URL=http://localhost:3000
|
||||
# Random secret for session cookies: `openssl rand -base64 33`
|
||||
AUTH_SECRET=
|
||||
|
||||
# OIDC provider (e.g. Pocket ID): authorization code flow with PKCE
|
||||
OIDC_ISSUER=https://auth.example.com
|
||||
OIDC_CLIENT_ID=
|
||||
OIDC_CLIENT_SECRET=
|
||||
# Optional, comma-separated: only members of these groups (`groups` claim) can log in.
|
||||
OIDC_ALLOWED_GROUPS=
|
||||
|
||||
# Hugging Face token: read-only is enough. Needed for gated/private repos, recommended anyway
|
||||
# (higher rate limits). Stays on the server; never sent to the browser or written to logs.
|
||||
HF_TOKEN=
|
||||
# Where models are stored: <MODELS_DIR>/<org>/<repo>
|
||||
MODELS_DIR=/models
|
||||
# SQLite database (keep on a local volume, not NFS)
|
||||
DATABASE_URL=file:/data/app.db
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# Folders on the Docker host (deploy/compose.yaml); both must be owned by uid 1000
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
# SQLite database, shared by web and worker. Must be on local disk, not NFS.
|
||||
KANAME_DATA_DIR=./data
|
||||
# Downloaded models. Can be a NAS share mounted on the host, e.g. /mnt/nas/models.
|
||||
KANAME_MODELS_DIR=./models
|
||||
# Host port of the web UI
|
||||
WEB_PORT=3000
|
||||
# Image tag to run, e.g. 0.4.0 (default: latest)
|
||||
KANAME_VERSION=
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# Optional tuning
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
MAX_CONCURRENT_DOWNLOADS=1
|
||||
# 0 disables the periodic update check
|
||||
# Hub update check interval; 0 disables it
|
||||
UPDATE_CHECK_INTERVAL_HOURS=12
|
||||
# 1 (default): hf downloads over plain HTTP, so progress can be measured from bytes on disk.
|
||||
# 0: use Xet (chunk-level dedup on updates), but progress only advances in large jumps.
|
||||
HF_HUB_DISABLE_XET=1
|
||||
|
||||
# Auth.js: generate with `npx auth secret` or `openssl rand -base64 33`
|
||||
AUTH_SECRET=
|
||||
# Public URL of this app; OIDC redirect URI is <AUTH_URL>/api/auth/callback/pocket-id
|
||||
AUTH_URL=https://models.example.com
|
||||
OIDC_ISSUER=https://auth.example.com
|
||||
OIDC_CLIENT_ID=
|
||||
OIDC_CLIENT_SECRET=
|
||||
# Optional, comma-separated. If set, only members of these groups (from the `groups` claim) can log in.
|
||||
OIDC_ALLOWED_GROUPS=
|
||||
|
||||
# --- deploy/compose.yaml only -------------------------------------------------
|
||||
# Image tag to run (default: latest)
|
||||
KANAME_VERSION=
|
||||
# Host folder for the SQLite DB, shared by web and worker. Local disk, not NFS. Owner uid 1000.
|
||||
KANAME_DATA_DIR=./data
|
||||
WEB_PORT=3000
|
||||
# NFS export for the models (NFSv4, writable by uid 1000)
|
||||
NFS_SERVER=truenas.lan
|
||||
NFS_EXPORT=/mnt/tank/models
|
||||
Reference in new issue
Block a user