Skip to content

docs: rewrite the README around the new landing chapters - #325

Merged
doodlewind merged 1 commit into
mainfrom
docs/readme-landing-chapters
Aug 22, 2026
Merged

docs: rewrite the README around the new landing chapters#325
doodlewind merged 1 commit into
mainfrom
docs/readme-landing-chapters

Conversation

@doodlewind

Copy link
Copy Markdown
Collaborator

What

The homepage was rebuilt around what the runtime removes (#311, #313, #315, #316, #317, #323); the README still opened on the old runtime family / four kinds of software / two execution paths framing. This re-orders the README on the landing's chapters.

README section Landing chapter
Keeps JSX, Tailwind and reactive state. Removes every layer below them. Hero
Write components as you already do Modern DX — three frameworks, pocket check, component-to-pixel stack vs a browser's
Animation is compiled Motion
What it asks of the machine Performance — PSP frame budget, markdown editor three ways
The frame contract Architecture — frame transaction, pure fold, flake histogram, subsampling
Beyond 2D UI: mount what the content needs Beyond 2D UI
Compatibility: run on the metal, not emulated Compatibility
Shipped on the runtime Ecosystem
Who builds this Pocket Lab

Fixes along the way

Verification

  • All 28 repo-relative paths in the README resolve on disk; every pocketjs.dev blog and docs slug used exists in site/nav.ts.
  • Rendered through GitHub's own /markdown API locally and read end to end: 7 tables, 18 fenced blocks, both text diagrams and the images render.
  • Prose scanned against the CLAUDE.md documentation red lines (no slogans, imported jargon, or empty intensifiers).

Docs only — no code paths touched.

🤖 Generated with Claude Code

The homepage was rebuilt around what the runtime removes (#311, #313, #315,
#316, #317, #323), so the README no longer matched it. Re-order the README on
the same chapters: the removal thesis, the three frameworks over one native
tree, the component-to-pixel stack against a browser's, compiled motion, the
measured cost on a PSP and on a Mac, the frame contract, cores mounted per
content, hardware compatibility receipts, and what ships on the runtime.

Also:

- drop `bun run vapor:check`, which is not a package script; Pocket Vapor is
  now one section pointing at `vapor:dev`, `vapor:test`, and the compiler CLI
- take the desktop numbers from docs/bench/gpui-vs-tauri-electron-2026-08-18
  and link the report and `tools/bench-desktop.ts`
- turn the platform table into per-entry receipts (post or pull request) and
  keep contracts/spec/platforms.ts as the authoritative inventory

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@doodlewind
doodlewind marked this pull request as ready for review August 22, 2026 16:48
@doodlewind
doodlewind merged commit 846a597 into main Aug 22, 2026
@doodlewind
doodlewind deleted the docs/readme-landing-chapters branch August 22, 2026 16:49
doodlewind added a commit that referenced this pull request Aug 23, 2026
One positioning sentence now carries the project everywhere it is defined:
"PocketJS is a portable application runtime that turns modern component code
into native pixels across radically different hardware." It replaces the
UI-runtime-minus-the-browser framing in the landing hero, the homepage and
site-wide meta descriptions, the docs overview and architecture intros, and the
npm package description. The landing headline becomes "UI runtime for every
kind of computer"; the pinned hero copy in tests/site-stage.test.ts follows.

The README keeps the chapter order it gained in #325 but drops the landing
voice: section names are now plain technical headings (Programming model,
Rendering and execution, Performance, Native modules, Hardware support,
Applications, Getting started, Ahead-of-time compilation, Repository layout,
Building and testing, Documentation), prose is third person, and the frameworks,
styling, animation and target-admission material sits under subsections. Adds a
Contents list and a Documentation index; keeps every measurement, receipt link
and attribution.

Verified: `bun run test` (11/11 stages), `bun run site:build`, and a headless
Chrome measurement of the three-line headline (widest line 445 px against 651 px
of plate at 1600w, no overflow at 1600/1280/820/390 px).

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant