Skip to content
Pane
Documentation · Pane overview

Start here

Pane

Pane

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. rer demo runs the same copy on your computer.

Guides

Run Pane on your computer

Install rer, then start Pane. These are the same two lines as the Run page:

curl -fsSL https://runeditrun.com/install.sh | sh
rer dev just-every/run-pane

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/rer dev just-every/run-pane

To start it again later, run cd run-pane && rer dev. Pane pins Node 22.20.0 and pnpm 10.12.4; rer selects them.

rer dev 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 rer dev --stop before building, verification or export. rer dev --as admin and rer dev --as member provide local role journeys; they do not grant access on a hosted install.

For an installation with your real mailbox, run npx -y @runeditrun/rer setup just-every/run-pane in place of the one line and enter it at the prompt, then cd run-pane && rer dev.

Set it up for a business

An agent setting Pane up for a business gives rer setup what it already knows from the business's current website and the proposal, as company in the private answers file, and runs rer setup --answers FILE --non-interactive (then rer deploy to host it):

{
  "OWNER_EMAIL": "owner@business.example",
  "company": {
    "name": "Ortega Bakery", "about": "A family bakery and cake shop in San Antonio, Texas, baking since 2004.",
    "timeZone": "America/Chicago", "phone": "+1 210 555 0144", "email": "hello@ortegabakery.example",
    "address": "2214 Fredericksburg Road, San Antonio, TX 78201", "website": "https://ortegabakery.example",
    "offers": [{ "name": "Custom cakes", "description": "Birthdays and weddings, 8 to 150 servings.", "price": 45 }],
    "hours": { "mon": "06:00-18:00", "sat": "06:00-16:00", "sun": "07:00-13:00" }
  }
}

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 rer deploy 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

  1. 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.
  2. 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.
  3. 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.
  4. 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.
  5. 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.

The first release is described in ACCEPTANCE.md.

Agent commands

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.

node scripts/pane.mjs status --origin http://127.0.0.1:8787 --session-file /private/path/session
node scripts/pane.mjs prepare --origin http://127.0.0.1:8787 --session-file /private/path/session --input fixtures/static-site.json

Use the origin printed by rer dev. status returns revision IDs; previews are /preview/REVISION/home. The person publishes from the browser. Owner-authorized publish --revision ID and rollback --revision ID use the same recorded approval path. Other helper verbs: import-plan --input FILE, import-apply --input FILE --fingerprint HASH, import-undo --job ID, and erase --id ID.

Backup, restore and deploy

rer dev --stop
rer export --output /private/path/pane.rer
# In an empty destination with the same code and dependencies:
rer import --input /private/path/pane.rer --yes
rer dev

Archives contain customer data: keep them private. Local restore retains owner records; rer dev 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: rer import --input OLD --journal LATER --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. rer reset --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:

rer deploy --dry-run
rer deploy
rer signin

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. rer signin 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 rer deploy 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 rer dev. The run-site deployment workflow stays disabled unless RUN_SITE_DEPLOY is explicitly enabled.

Development

pnpm install --frozen-lockfile
pnpm run build
pnpm run typecheck
pnpm test
rer verify

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.