hex/site
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Luke Parker 8efd9909bd
feat: Windows beta with streaming dictation, Hold/Toggle shortcut mode, and x64 + ARM64 release (#141)
* feat: Windows beta with streaming dictation, Hold/Toggle shortcut mode, and release pipeline

Ports the windows-shell branch onto main, adds a GPU streaming finish for Parakeet Unified English with a whole-clip fallback, a cross-platform Hold/Toggle shortcut mode, x64 and ARM64 Windows CI and release feeds, and the website Windows download.

* copy: Enabled/Disabled status on Linux and in the shared Activity labels

* ci: install SPIRV-Headers for the x64 Vulkan build and gate the Windows-only device query

* refactor: one implementation per concept across macOS, Linux, and Windows

The Windows port carried its own copies of modules main already has. Each
concept now has one implementation:

- UI: Windows uses main's design system (design_tokens, desktop_ui,
  text_input, desktop_transcription_picker types) instead of a Fluent copy.
  Windows-only bits are small cfg additions: Segoe Fluent Icons for Icon,
  Windows text-editing key bindings, fixed-height and read-only text inputs,
  and the shared slider_track component. windows_ui keeps the window chrome
  and the anchored dropdowns, now drawn with menu/menu_item.
- Windows chrome: the sidebar runs the full window height as on macOS. The
  caption row is split: the brand sits over the sidebar, the window buttons
  over the content, and both halves stay OS drag regions.
- Commands: Windows uses main's commands, command_grammar, context, keys,
  and personal_commands. The SDK provisioner accepts the embedded TypeScript
  src layout; Windows execute() opens URLs and paths with ShellExecuteW.
- OpenCode: dictation_processor is the one client and ordered policy
  (corrections, rewrite, transformations) on macOS and Windows. Windows keeps
  its opencode2 api CLI transport in a cfg'd submodule; the ranked catalog,
  prompts, Voice Action generation, and the transformation stage are shared.
- desktop_activity is shared; the Windows Settings contract is
  windows_desktop_host, without #[path] aliases.
- self_update is the signed-feed core for both the Linux and Windows
  updaters.
- Windows copy follows the design system: sentence case and "Hex".

* chore(windows): flat app icon that stays crisp at taskbar sizes

* chore: mark the Windows-only screens to consolidate with app_window after #138

* fix(linux): wait for partial X11 grabs to be released before reporting a conflict
2026-10-19 11:00:46 +10:00
..
public refactor: simplify codebase and align desktop UI with OpenCode 2026-10-06 23:29:09 -07:00
scripts feat(site): upgrade teeth rendering and add a delayed entrance 2026-09-11 13:09:52 -07:00
src feat: Windows beta with streaming dictation, Hold/Toggle shortcut mode, and x64 + ARM64 release (#141) 2026-10-19 11:00:46 +10:00
.gitignore feat: add HEX marketing site 2026-07-19 14:18:50 -04:00
bun.lock refactor: simplify codebase and align desktop UI with OpenCode 2026-10-06 23:29:09 -07:00
index.html feat: Windows beta with streaming dictation, Hold/Toggle shortcut mode, and x64 + ARM64 release (#141) 2026-10-19 11:00:46 +10:00
package.json refactor: simplify codebase and align desktop UI with OpenCode 2026-10-06 23:29:09 -07:00
README.md feat(site): refine the teeth and foreshadow their entrance with a spotlight 2026-09-11 13:31:20 -07:00
tsconfig.app.json feat: add HEX marketing site 2026-07-19 14:18:50 -04:00
tsconfig.json feat: add HEX marketing site 2026-07-19 14:18:50 -04:00
tsconfig.node.json feat: add HEX marketing site 2026-07-19 14:18:50 -04:00
vite.config.ts feat: add HEX marketing site 2026-07-19 14:18:50 -04:00
wrangler.jsonc fix(downloads): publish Hex 2.1.17 through a custom host and GitHub mirror 2026-09-11 12:00:52 -07:00

HEX marketing site (.dev)

bun run dev starts Vite. bun run build checks TypeScript and builds the site; wrangler deploy publishes it to hex.kitlangton.dev.

The wind-up teeth in src/ChatteringTeeth.tsx use separate body and foot groups: the soles remain planted during anticipation, the whole toy travels during the hop, and the body settles after contact. Wide screens use the perimeter; narrow screens use the space above the copy. A warm spotlight fades in from 1.4–2.4 seconds, foreshadowing the landing. The toy stays hidden for three seconds, then hops in from the left to the center above the headline. The light fades away as roaming begins. Reduced motion reveals the light and toy as still poses at their respective delays. The canvas is click-through and decorative; the site has no microphone control or microphone access.

Rounded teeth, teal irises, and cherry-red lacquer use a three-softbox procedural studio environment for enamel and metal reflections, plus soft directional shadows. The environment is generated locally, with no remote model or lighting asset request.

Social image

The Open Graph and Twitter image is public/og-teeth.png (1200 × 630). It is rendered from the same Three.js model, using ?og for a deterministic poster pose. With the dev server running, regenerate after changing the model:

bunx playwright install chromium
bun run generate:og
# If Vite chose another port:
HEX_SITE_URL=http://127.0.0.1:5174 bun run generate:og

Inspect the resulting image, rebuild, then deploy. Verify the production HTML's image metadata and fetch the published PNG. The separate .com site lives in /Users/kit/code/projects/hex-marketing-site and deploys through Vercel.