Release 0.4.0: Kaname, search, filters and tags
Release / release (push) Successful in 11m41s

- 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:
Pascal LinxweilerandClaude Opus 5.5 committed 2026-10-05 19:49:17 +02:00
1 parent 2167ea0950
commit 67191b3e16
37 files changed
+2028 -206

No files matched your search

+41
View File
@@ -75,12 +75,53 @@ export const models = sqliteTable(
lastCheckError: text("last_check_error"),
lastVerifiedAt: ts("last_verified_at"),
downloadedAt: ts("downloaded_at"),
// Hub metadata (for search/filters), refreshed by the worker. Null until fetched.
/** e.g. ["Qwen/Qwen3-8B"] (cardData.base_model, or base_model:* tags). */
baseModels: text("base_models", { mode: "json" }).$type<string[]>(),
/** e.g. "qwen3" (gguf.architecture or config.model_type). */
architecture: text("architecture"),
pipelineTag: text("pipeline_tag"),
license: text("license"),
/** Hub tags, minus noise like arxiv:/region:/deploy:. */
hubTags: text("hub_tags", { mode: "json" }).$type<string[]>(),
metadataFetchedAt: ts("metadata_fetched_at"),
createdAt: createdAt(),
updatedAt: updatedAt(),
},
(t) => [uniqueIndex("models_repo_uq").on(t.repoType, t.repoId)],
);
// ---------------------------------------------------------------------------
// User tags (e.g. "roleplay", "security")
// ---------------------------------------------------------------------------
export const tags = sqliteTable(
"tags",
{
id: id(),
/** Display name as entered. */
name: text("name").notNull(),
/** Lowercased, trimmed name; unique. */
slug: text("slug").notNull(),
createdAt: createdAt(),
},
(t) => [uniqueIndex("tags_slug_uq").on(t.slug)],
);
export const modelTags = sqliteTable(
"model_tags",
{
modelId: text("model_id")
.notNull()
.references(() => models.id),
tagId: text("tag_id")
.notNull()
.references(() => tags.id),
createdAt: createdAt(),
},
(t) => [primaryKey({ columns: [t.modelId, t.tagId] }), index("model_tags_tag_idx").on(t.tagId)],
);
/** History of SHAs a model has been pinned to. */
export const modelRevisions = sqliteTable(
"model_revisions",