mirror of
https://github.com/mudler/LocalAI.git
synced 2026-11-01 10:09:49 -05:00
The star, fork, contributor and release counts were typed into the templates by hand, so they only moved when somebody remembered. They had already drifted: stars read 48,042 against 48,067, forks 4,314 against 4,320, and contributors 224 against 225. They move to website/data/stats.yaml, which .github/ci/refresh-site-counters.sh rewrites from the GitHub API, run weekly by a new workflow. The contributors and releases endpoints never report a total, so the script asks for one item per page and reads the count out of the Link header. It refuses to write a zero or a non-number, which is what a rate-limited or failed call looks like, and the workflow commits only when a number actually moved. The Discord count has no API behind it, so the script reads the existing value back and carries it through. The engine count was wrong in a second way. The hero said 18, the section heading said "Eighteen engines", the timeline said "Nineteen engines of our own", and the /engines/ page derived 19 from the data file. All of them now derive from that same file, so they cannot disagree again. Signed-off-by: Ettore Di Giacinto <mudler@localai.io> Assisted-by: Claude Code:claude-opus-5[1m]
20 lines
888 B
HTML
20 lines
888 B
HTML
{{- $home := .Site.Home.RelPermalink -}}
|
|
<header class="top">
|
|
<a class="brand" href="{{ $home }}"><img src="{{ "img/logo-mark.png" | relURL }}" alt=""> <span>LocalAI</span></a>
|
|
<nav>
|
|
{{/* Anchors resolve against the home page so the nav still works from
|
|
/engines/ and /blog/, not only from the landing page. */}}
|
|
<a href="{{ $home }}#localai">LocalAI</a>
|
|
<a href="{{ $home }}#senses">Senses</a>
|
|
<a href="{{ $home }}#made">Made with it</a>
|
|
<a href="{{ "engines/" | relURL }}">Engines</a>
|
|
<a href="{{ $home }}#apex">APEX</a>
|
|
<a href="{{ "blog/" | relURL }}">Blog</a>
|
|
<a href="{{ .Site.Params.docsURL }}">Docs</a>
|
|
</nav>
|
|
<div class="topright">
|
|
<a class="pill" href="{{ .Site.Params.github }}">★ {{ lang.FormatNumberCustom 0 .Site.Data.stats.stars }}</a>
|
|
<a class="go-btn" href="{{ $home }}#start">Install</a>
|
|
</div>
|
|
</header>
|