Commit graph

24 commits

Author SHA1 Message Date
Philip Peterson
450d38c6da Extract shared site framework into internal/site and internal/component
Reduces sites/quintodrome and sites/hyper to their genuinely site-specific
parts: a Config (branding, GitHub repo, Linux download-format list),
classifyAsset, and landing-page content/mockup. Everything else — the HTTP
server, routes, release cache, update-check protocol, and page chrome —
now lives once in internal/site and internal/component.

The Linux format toggle's button list, order, and per-format arch
availability is now driven entirely by Config.LinuxFormats, reproducing
each site's current behavior as data (quintodrome shows Snap on both
arches; hyper hides it on arm64) rather than as forked logic. The one
deliberate behavior change: platformLabel's "linux-*" normalization
(previously only applied to linux-rpm on hyper's side) now applies to all
linux-* formats, fixing a cosmetic label bug on hyper's deb/pacman/flatpak
download rows ("linux-deb · x64.deb" -> "Linux · x64.deb").

Also unifies top-level tooling: a single SITE-parameterized Makefile and
Dockerfile, a single tailwind.config.js scanning internal/** and sites/**,
and a shared public/ with both product logos.

Verified: go build/vet/test pass for both sites, and `make dev
SITE=quintodrome` / `SITE=hyper` were run and curl-checked against /,
/download (including each site's Linux format toggle and arch-filtering),
and /api/update-check, matching pre-refactor behavior.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-26 03:55:36 -08:00
Philip Peterson
79e9269673 Move quintodrome app into sites/quintodrome
Fixes up "app/http" and "app/html" import paths to their new
sites/quintodrome-prefixed locations. Also folds in the pending
gofmt whitespace fix to releases_test.go and the rebuilt app.css
that were sitting uncommitted before this move.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-26 03:34:14 -08:00
Philip Peterson
0048a3f0b9 Merge hyper.quineglobal.com history into sites/hyper 2026-09-26 03:28:18 -08:00
Philip Peterson
b83d258953 quintodrome 2026-09-26 01:39:26 -08:00
Philip Peterson
c9e4e2514f Support flatpak 2026-09-22 00:13:54 -08:00
Philip Peterson
0ecd1d9602 Name canary yellow 2026-05-29 03:19:15 -07:00
Philip Peterson
d4e5f89a4e Name some colors 2026-05-29 03:18:26 -07:00
Philip Peterson
e6d8c8bb6b Use seafoam green 2026-05-29 03:16:04 -07:00
Philip Peterson
b6d6ed916f Styling 2026-05-29 03:14:01 -07:00
Philip Peterson
faa69b9612 Stable section 2026-05-29 02:55:37 -07:00
Philip Peterson
92a8c5e49b Fixes to support snap, deb 2026-05-28 23:56:15 -07:00
Philip Peterson
246364feef Copy updates 2026-05-28 23:42:30 -07:00
Philip Peterson
c77fce2ff2 Colors 2026-05-28 23:30:01 -07:00
Philip Peterson
1db854d481 Fix rpm classification 2026-05-28 23:10:49 -07:00
Philip Peterson
f26928306b Fixes for version selection 2026-05-28 16:59:09 -07:00
Philip Peterson
12b6654c2f Remove fallback releases 2026-05-28 00:10:16 -07:00
Philip Peterson
fcedfa754d
feat: support Hyper auto-update feed protocol via query params (#1)
Implements the Hazel/Squirrel-style update endpoint expected by the
Hyper Electron app (and the custom Linux updater).

- Endpoint at /api/update-check and /update
- Accepts query params: version, platform (or os), arch, channel
- Returns 204 or the classic {name, notes, pub_date, url?} JSON
- Supports explicit channel=canary so stable-installed clients can opt in
- Updated Release model to carry TagName and PublishedAt for proper responses

This pairs with the corresponding client change in the hyper repo
(branch: update-endpoint-quine).
2026-05-28 00:07:53 -07:00
Philip Peterson
f5e53841b6 Add api version route 2026-05-26 01:13:59 -07:00
Philip Peterson
0c30391f54 Refresh 2026-05-26 01:05:37 -07:00
Philip Peterson
1e51831b5d fixes 2026-05-26 00:49:16 -07:00
Philip Peterson
1dc3e04f11 Fixes 2026-05-26 00:27:36 -07:00
Philip Peterson
0a292ab8a9 move logo 2026-05-25 23:57:25 -07:00
Philip Peterson
8248657e23 Finishing touches 2026-05-25 23:54:40 -07:00
Philip Peterson
68712b627a initial commit 2026-05-25 22:40:39 -07:00