Your website, finally yours. Pane is the free, open source website builder a
small business runs on its own account. Today it runs a five-page website
(Home, About, Services, Hours and Contact) with a contact inbox: prepare a
draft, preview every page, publish, and roll back in one step. Pane is free and
open source under the MIT license. Your installation stores the site and inbox
in Cloudflare D1. CONTRACT.md is the product Pane is being built
toward, clause by clause, with how close the code is today.
From the README
Try the demo
demo.run-pane.com opens your own throwaway copy of Pane,
signed in as Elena Ortega, owner of Ortega Bakery in San Antonio, with two
months of versions, Mateo's wedding-cakes draft waiting for approval and a
stream of inquiries. It ends
after an hour and sends nothing to anyone. rerdemo runs the same copy on your computer.
The installer brings its own Node when you have no Node 22 or later. If it ends
with a line to run, run it before the second line. Already have Node 22 or
later? One line does both:
npx-y@runeditrun/rerdevjust-every/run-pane
To start it again later, run cdrun-pane&&rerdev. Pane pins Node
22.20.0 and pnpm 10.12.4; rer selects them.
rerdev installs the pinned dependencies, sets up a fresh local installation and
prints progress. Allow ten minutes on a fresh computer. A repeated invocation
resumes the same installation. Open its private RER_OPEN link to sign in as the
local owner, then confirm the owner at Finish setup. Keep that link private.
Development sends no external mail. Stop with rerdev--stop before building,
verification or export. rerdev--asadmin and rerdev--asmember provide local
role journeys; they do not grant access on a hosted install.
For an installation with your real mailbox, run npx-y@runeditrun/rersetupjust-every/run-pane
in place of the one line and enter it at the prompt, then cdrun-pane&&rerdev.
Set it up for a business
An agent setting Pane up for a business gives rersetup what it already knows from the business's current website and the proposal, as company in the private answers file, and runs rersetup--answersFILE--non-interactive (then rerdeploy to host it):
Setup prints what it applied and what it assumed; tell the owner those in one line. On its first start Pane publishes the business's first version of its five pages from those details (Home, About, Services with prices, Hours and location, and Contact with its form, whose messages arrive in the Inbox once rerdeploy has made the form's Turnstile widget), recorded as the installer's version, so /site opens to customers at once. It publishes only on an installation where nothing was ever prepared or published; from then on the owner edits, republishes or rolls back under Versions as usual.
Do the first jobs
Open your workspace at /app. Start with your own five pages or copy the
documented example from fixtures/static-site.json.
The five route slugs are home, about, services, hours, contact.
Start your site takes a title and text for each page, while Moves
accepts the whole fixture. Page bodies are plain text;
HTML is escaped.
Prepare a draft, follow its preview link, and inspect all five pages. The
owner chooses Approve & publish. Open /site to see the live version. Admins may
prepare and preview; members may read the workspace. Only owners publish,
roll back or erase inbox messages. /auth/operators manages invitations.
Send a message from the live Contact page. Return to the inbox at /app.
Messages stay in D1; there is no email forwarding. The visit totals count
page views without cookies or visitor IDs, respect DNT/GPC, and are approximate
(reloads count; bots can count). No IP address, user agent or referrer is stored.
Prepare a changed draft and preview it. Publish it, then choose Restore live
on the earlier revision. Publishing and rollback records show the approving
operator's ID, exact revision and time.
Use Imports → Paste an export → Check import to review a whole static-site JSON export,
and approve its fingerprint. It creates an unpublished draft. Undo it before
publishing. See MOVE-IN.md for validation and conflict rules.
Agents prepare; a person reviews the preview and approves publication. The API
uses the same native session and server permissions as the forms. Store a session
Cookie header in a private mode-0600 file, outside this checkout; never commit it.
The helper does not read browser cookies or print credentials.
Use the origin printed by rerdev. status returns revision IDs; previews are
/preview/REVISION/home. The person publishes from the browser. Owner-authorized
publish--revisionID and rollback--revisionID use the same recorded approval
path. Other helper verbs: import-plan--inputFILE, import-apply--inputFILE--fingerprintHASH, import-undo--jobID, and erase--idID.
Archives contain customer data: keep them private. Local restore retains owner records;
rerdev opens a fresh local session and may ask you to confirm the owner again. Active sessions, local dev
identities, secrets and transient runtime state are excluded. To fence a backup
made before an erasure, supply the later archive from the same installation:
rerimport--inputOLD--journalLATER--yes. A backup containing erased rows
is refused. A fresh destination cannot know about an erasure without that later
journal. Do not reset the only copy of your data. rerreset--yes deletes local
state and settings.
Deployment uses your own RunEditRun Cloudflare account and the Base owner-account
kit, never this repository's author credentials:
rerdeploy--dry-runrerdeployrersignin
The dry run validates and builds without provider calls. For real deployment,
follow the credential/setup prompts and RUN-LOCALLY.md; provide
the account, Worker/D1 permissions, owner mailbox and session/setup secrets.
To deploy without outbound email, set MAIL_PROVIDER=none. Otherwise configure
your mail provider and verified sender through setup. Commit reviewed source
before a real deploy. rersignin supplies the hosted owner's one-time sign-in
link when mail is off. The deployed Worker's /site is the business website.
The contact form needs a Cloudflare Turnstile widget for its spam check, and
rerdeploy makes it for the Worker's own address and sets TURNSTILE_SITE_KEY
and TURNSTILE_SECRET (declared as turnstile in deploy.json). With your own
Cloudflare token, give the token the Turnstile:Edit permission; a deploy under
a Business grant gets the widget from the Business. If the deploy cannot make it,
its last lines name the one thing missing, and until then the form tells
visitors plainly that it cannot take messages yet.
Business-site custom domains are outside the current release. The separate public
run site includes the landing page, /run and these docs. It is published at
https://run-pane.com, and its run page is
https://run-pane.com/run. To see the same page from
a local checkout, use the local /run page on the RER_SITE address printed by
rerdev. The run-site deployment workflow stays disabled unless
RUN_SITE_DEPLOY is explicitly enabled.
Tests exercise the real Worker/D1 and native authentication through HTTP, plus
backup/restore through Base's transfer transport. CI shards build/types and the
product journey, then keeps the required Verify result. Build and deploy do not
run tests. New clone/installer journeys belong on release tags and nightly.
See PROVENANCE.md for Base and sibling source origins.