Open the mirror's registry on what is current, not an empty search box

The mirror page lists Hugging Face's trending models without anything
typed, with views for what is new this month and what is most
downloaded, filters for task and size, and each repository's parameter
count, architecture, context length and age from one registry call.
"Only what these nodes can run" is on by default and leaves out
architectures the nodes' llama.cpp cannot load, and adapters, saying how
many it hid. Listings are remembered for ten minutes.

The stylesheet is now linked by a hash of its content. It is cached for
a day, so under a fixed name a deploy's new styles reached people a day
after its markup.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Ilker ManapandClaude Opus 5.5 committed 2026-09-28 21:56:58 +02:00
1 parent 5aa5675a9c
commit 02fa639657
20 files changed
+632 -52

No files matched your search

+21 -1
View File
@@ -60,7 +60,7 @@ li { margin: .25rem 0; }
a { color: var(--accent); }
.wrap.narrow { max-width: 30rem; }
label { display: block; margin: .9rem 0; font-size: .9rem; font-weight: 600; }
input[type=text], input[type=email], input[type=password] {
input[type=text], input[type=email], input[type=password], input[type=search] {
display: block; width: 100%; margin-top: .3rem; font: inherit; font-weight: 400;
padding: .5rem .6rem; border: 1px solid var(--line); border-radius: 6px;
background: var(--card); color: var(--fg);
@@ -456,3 +456,23 @@ table.held .use .as { display: block; font-size: .72rem; color: var(--muted);
table.held .use .opt { font-size: .75rem; line-height: 1.3; }
table.held td.num { white-space: nowrap; }
table.held select.mode { width: 100%; padding: .15rem .3rem; font-size: .8rem; }
/* Link pills: the same look as .tabs, for choices that are addresses rather
than panels on one page — a filtered listing should survive a reload and be
worth sending to somebody. */
.pills { display: flex; flex-wrap: wrap; gap: .35rem; margin: .5rem 0; }
.pills a { font-size: .85rem; font-weight: 600; color: var(--muted); padding: .35rem .85rem;
border: 1px solid transparent; border-radius: 999px; text-decoration: none; }
.pills a:hover { color: var(--fg); }
.pills a.on { color: var(--fg); background: var(--card); border-color: var(--line); }
.pills.small a { font-size: .78rem; font-weight: 500; padding: .2rem .65rem; }
.explore-filters { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }
.explore-search { display: flex; flex-wrap: wrap; gap: .5rem .75rem; align-items: center; margin: .5rem 0 .75rem; }
.explore-search input[type=search] { flex: 1 1 18rem; width: auto; margin: 0; }
.explore-search label.check { font-size: .85rem; color: var(--muted); display: inline-flex; gap: .35rem; align-items: center; margin: 0; }
table.explore td:first-child { max-width: 28rem; overflow-wrap: anywhere; }
table.explore td.num { white-space: nowrap; }
table.explore .cannot { color: var(--bad); }
.tag { display: inline-block; font-size: .7rem; font-weight: 600; color: var(--muted);
border: 1px solid var(--line); border-radius: 999px; padding: 0 .4rem; margin-left: .3rem; vertical-align: 1px; }
.tag.new { color: var(--accent); border-color: var(--accent); }