mirror of
https://github.com/tiennm99/ghglance.git
synced 2026-10-11 12:18:55 +00:00
`ghglance -serve :8080` runs a web UI from the same binary: submit a username, a background job renders every card in every theme, and /u/<user> shows them again with a theme picker and embed URLs. - Cards are stored on disk with atomic symlink publishing and deleted after -retention (default 24h); -cooldown limits token-less regeneration. - Token-less jobs use a public-only server token with private and org scope forced off; a submitter's own token is used for that job only and never stored or logged. The form links to GitHub's new-token page with the needed scopes pre-ticked. - The CLI and web share one fetch helper; CLI output is unchanged. - compose.yml deploys to Coolify with a data volume and /healthz check.
8 lines
180 B
HTML
8 lines
180 B
HTML
{{define "content"}}
|
|
<section class="hero">
|
|
<h1>{{.Heading}}</h1>
|
|
<p class="lead">{{.Message}}</p>
|
|
<p><a class="button" href="/">Back to the start</a></p>
|
|
</section>
|
|
{{end}}
|