hex/site/scripts
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Ryan Vogel bdeac1bd08
site: add /hex/iphone and /hex/privacy for the iPhone app's App Store listing (#2056)
App Store Connect needs a support URL and a privacy policy URL for Hex for
iPhone, and both returned 404. Adds them as static pages in the Labs pages'
look:

- /hex/iphone (support URL): what Hex for iPhone is, setup (microphone,
  Keyboards, Allow Full Access, the General › Keyboard fallback), why Full
  Access, a short FAQ (on device, free, languages, music, offline, the
  orange dot) and where to get help (GitHub issues, private security
  reports).
- /hex/privacy: the iPhone app's privacy policy, from the App Store drafts.

Facts checked against ios/: Hex Keyboard makes no network requests; the only
download Hex itself makes is FluidAudio's Parakeet English model from
Hugging Face where Apple's speech model isn't available (before iOS 26);
Custom vocabulary, Learn how I type and Record typing logs are off by
default and stay in the App Group; typing logs skip secure, one-time code
and card fields and are kept 14 days.

src/labs.ts exports its page shell with a crumb and extra styles, so the
iPhone pages reuse its head (title, description, canonical, Open Graph and
Twitter tags) instead of a second template. The social card moves from
scripts/labs.ts to scripts/card.ts with the kicker ("Hex Labs", "Hex for
iPhone") as a parameter; Labs cards are unchanged. scripts/iphone.ts writes
both pages, their cards and their sitemap entries; build.ts runs it after
the Labs pages.

Verified: bun run build --mode dev, bun test (13 pass), both pages served
at /hex/iphone and /hex/privacy with .html fallback and screenshotted at
1280 px and 390 px, and the two cards inspected.
2026-11-20 16:09:10 +00:00
..
og Site: replace the chattering teeth with the Shout hero 2026-10-20 15:12:37 -07:00
og-video site: og:video link preview loop (icon speaks, words pile up) 2026-10-21 12:14:56 -07:00
build.ts site: add /hex/iphone and /hex/privacy for the iPhone app's App Store listing (#2056) 2026-11-20 16:09:10 +00:00
card.ts site: add /hex/iphone and /hex/privacy for the iPhone app's App Store listing (#2056) 2026-11-20 16:09:10 +00:00
check-downloads.ts Windows Setup.exe, one site, and a download section that works (#166) 2026-10-19 19:26:41 -07:00
generate-og.ts Site: replace the chattering teeth with the Shout hero 2026-10-20 15:12:37 -07:00
generate-poster.ts Site: replace the chattering teeth with the Shout hero 2026-10-20 15:12:37 -07:00
iphone.ts site: add /hex/iphone and /hex/privacy for the iPhone app's App Store listing (#2056) 2026-11-20 16:09:10 +00:00
labs.ts site: add /hex/iphone and /hex/privacy for the iPhone app's App Store listing (#2056) 2026-11-20 16:09:10 +00:00
prerender.ts Every install path serves the newest dev build until the first stable release (#397) 2026-10-29 15:51:19 -04:00
release-data.ts ci: read release secrets from aws secrets manager (#1606) 2026-11-09 15:18:26 -05:00