Portable HTML mini-apps. One file. Email it.

The CLI compiles your project tree into a single self-contained .html — runtime, code, and source bundled inside. The artifact runs in any browser. Recipients can unbundle it back to source and iterate.

npm install -g @work.books/cli

Then workbook init my-thing && cd my-thing && workbook build. Out comes dist/my-thing.html — runs anywhere a browser runs.

Use with Claude Code

Install the Workbooks skill so Claude Code knows how to scaffold, lint, and ship workbooks — file format, runtime API, build pipeline, and deploy guidance all on hand.

curl -fsSL https://workbooks.sh/skill | sh

How it works

workbook build compiles your project — Svelte, React, vanilla, whatever — into a single .html. Three things land inside:

The .html is the only thing that ships. Email it, drop it on a USB stick, attach it to a ticket. It opens anywhere a browser runs.

When you need persistence

Bare .html artifacts are stateless — perfect for one-shot deliverables (a chart, a presentation, a calculator, a tool). When recipients need state to survive a session — a binder shared between teammates, a notebook many people co-edit — share via the hosted viewer at workbooks.sh. The artifact stays portable; the hosted view adds login, storage, and per-user state.

You don't have to host a workbook to share it. Hosting is the path when recipients need to keep their own state across sessions.

What it doesn't do