Minimal CLI-first redesign + real in-browser gate demo#14
Merged
Conversation
Replace the fabricated dashboard-mockup hero (fake trace waterfall, fake receipts, fake token counts) with the real install command and a real recorded CLI transcript -- matching how bun.sh/resend.com/raycast actually market CLI tools: lead with the install command, never a staged product screenshot. Adds a "Run it for real" button that boots an actual WebContainer, npm-installs the real published `proofloop` package from the registry, and runs real `init`/`gate` against a tiny fixture app inside the visitor's own browser -- no server execution, no fabricated output. Falls back to the static transcript on unsupported (non-Chromium) browsers or boot failure. - public/index.html, styles.css, app.js: minimal single-column layout, live-run UI wired to the bundle, unused dashboard SVG removed - site-src/webcontainer-demo.js + scripts/build-site.mjs: new esbuild step bundling @webcontainer/api + @xterm/xterm, folded into `build` - vercel.json: COOP/COEP headers required for WebContainers; dropped two stale /start /how rewrites from the removed page sections - tests/site.test.ts: rewritten to check the real invariants (install commands present, honesty-boundary phrases intact, no forms/fetch/ XHR, page version matches package.json) instead of exact old copy
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
prooflooppackage, and runs realinit/gateagainst a tiny fixture app inside the visitor's own browser. No fabricated output, no server-side execution. Falls back to the static transcript on unsupported browsers.tests/site.test.tsto check real invariants (install commands present, honesty-boundary phrases intact, no forms/fetch/XHR, page version matchespackage.json) instead of the old page's exact copy.Note on WebContainers licensing
StackBlitz's WebContainers API is free for open-source/prototype use; this qualifies (proofloop is MIT, this is the OSS marketing site). Commercial production use of the hosted-runs concept mentioned on the page would need a conversation with StackBlitz before scaling — flagged, not blocking this ship.
Test plan
npm test— 78/78 passing🤖 Generated with Claude Code