orchard
mirrorEvery site I host, in one repo, along with the Cloudflare Tunnel and Caddy that front them. It's all Go, Vite, and SQLite, and it runs on a desktop at home with nothing listening on an inbound port.
blogbuncaddycloudflare-tunneldockergogolanghomelabhtml-templatemonorepoself-hostedseosqlitestatic-sitetypstuptime-monitoringviteweb-analytics
1{{define "content"}}
2{{$d := .Data}}{{$c := $d.Ctx}}
3{{template "repohead" (dict "Ctx" $c "Tab" "branches")}}
4
5<h2>Branches <span class="count">{{len $c.Branches}}</span></h2>
6<table class="refs">
7 <tbody>
8 {{range $c.Branches}}
9 <tr>
10 <td class="name">
11 <a href="/{{$c.Repo.Name}}/tree/{{.Name}}">{{.Name}}</a>
12 {{if eq .Name $c.Head}}<span class="badge default">default</span>{{end}}
13 </td>
14 <td class="subject"><a href="/{{$c.Repo.Name}}/commit/{{.Target}}">{{.Subject}}</a></td>
15 <td class="when"><time title="{{.When.Format "2006-01-02 15:04:05 MST"}}">{{humanTime .When}}</time></td>
16 <td class="dl"><a href="/{{$c.Repo.Name}}/archive/{{.Name}}.tar.gz">tar.gz</a></td>
17 </tr>
18 {{end}}
19 </tbody>
20</table>
21{{end}}