mirror of
https://github.com/anomalyco/hex.git
synced 2026-11-28 13:02:21 +01:00
| Filename | Latest commit message | Latest commit date |
|---|---|---|
Hex Preview (the Android build outside Google Play, published today as android-preview-2305) had only a GitHub README as its download page: on a phone the link sits under GitHub's own bars. Ryan asked for a served page at anoma.ly/hex/android that mirrors the iPhone one. Added: - /hex/android (src/iphone.ts renderAndroid, written by scripts/iphone.ts with its social card and sitemap entry): the iPhone page's look and structure, with a Download Hex Preview button, the install steps, how updates work, questions, and help. Its labels and numbers are the Android app's own (Get started, Allow from this source, the 190 MB model, Android 12, hold the Hex key, Check for updates automatically). - /hex/download/android (worker.ts): a 302 to the APK that latest.json on the android-preview branch names, so the button follows every new build without a site deploy. It redirects only to this repository's releases/download/android-preview-* files and answers 404 or 502 in plain text otherwise. - Privacy policy, Hex for Android section: one item for Hex Preview's update check and update download (the same statement the app's own privacy text makes), a link to the Android page, and the policy's date. Nothing is removed. The iPhone page is unchanged. Verified: bun test in site/ (15 pass, two new cases in worker.test.ts for the redirect, its refusal of another origin, and the unpublished case); bun run build --mode dev (typecheck, 3 pages written); the built page and card viewed at phone and desktop widths in Chrome, no horizontal overflow. The redirect against the real branch is checked on dev.anoma.ly after the deploy. |
||
| .. | ||
| og | ||
| og-video | ||
| build.ts | ||
| card.ts | ||
| check-downloads.ts | ||
| generate-og.ts | ||
| generate-poster.ts | ||
| iphone.ts | ||
| labs.ts | ||
| prerender.ts | ||
| release-data.ts | ||