Share a document, not a workspace.
Publish Markdown or standalone HTML to your own S3-compatible storage and get a browser-viewable URL. Protected artifacts are encrypted before upload and unlock locally in the recipient's browser. No accounts, database, application server, or GitHub access required for viewers.
xbt publish design.md --jsonexhibit and xbt are two binaries pointing at the same entrypoint.
Locally validated initial release. Node 24 build, installed-dependency tests, desktop/mobile HTTP browser flows, package contents, and Terraform validation pass. Live S3/CDN qualification is still pending. See verification.
Markdown or standalone HTML
→ render / scan
→ encrypt in the CLI
→ private S3
→ public HTTPS CDN URL
→ password entered and decrypted in the browser
The URL delivers ciphertext, not server-side authentication. A password holder can save the document. Removing the current object cannot revoke copies already downloaded. Read the security model.
Running Exhibit requires Node 24. With installation authorization, choose one package manager to install the public npm package:
npm install --global @tkstang/exhibit@latest
# Or with pnpm:
pnpm add --global @tkstang/exhibit@latestBoth install exhibit and xbt. To pin an approved published version, replace
@latest with @0.1.0. A version being prepared in this repository is not yet
available from npm. See the installation guide
for verification and approved archive/source alternatives. Do not use sudo or
automatically clone or fetch a checkout for installation.
For source development, use Node 24 and pnpm 11:
cd exhibit
pnpm install --frozen-lockfile
pnpm check
pnpm exec playwright install chromium
pnpm test:browser
pnpm add -g . # Makes BOTH exhibit and xbt available with pnpm 11.pnpm setup may be needed to configure pnpm's global binary directory. Review
shell changes before running it. Alternatively use node dist/cli.js directly.
Try the local example without AWS:
pnpm preview
# Open http://localhost:8787/protected.html
# Demo password: exhibit-demo-passwordThe demo password is only for the non-sensitive example.
For a new checkout/worktree, pnpm worktree:init installs locked dependencies,
configures hooks, builds, and refreshes project OAT views. See Development.
Provision private S3 + CloudFront, or connect an existing bucket and CDN. Credentials come from the AWS SDK's normal provider chain, not from Exhibit config.
exhibit init \
--bucket my-exhibit-artifacts \
--region us-east-1 \
--prefix exhibit/ \
--public-base-url https://share.example.com
exhibit doctor # Read-only signed listing/configuration checks.
exhibit doctor --probe # Explicit temporary write/fetch/conditional-delete checks.
xbt publish examples/artifacts/plan.md --jsonA successful publication returns one JSON object:
{
"schema_version": 1,
"ok": true,
"command": "publish",
"data": {
"slug": "exhibit-<random-id>",
"url": "https://share.example.com/exhibit-<random-id>.html",
"protected": true,
"password": "<generated-password>",
"warnings": []
}
}This is an abbreviated example. The actual result also includes identity, ETag, dates, size, and state-persistence details. Treat publication output as a secret because it contains the password. Diagnostics never include passwords.
xbt publish plan.md # New opaque URL, fresh random password.
xbt publish report.html --slug review # Deliberately named URL.
xbt publish report.html --slug review --overwrite
xbt publish announcement.md --no-encrypt # Readable plaintext, NOT encrypted.
xbt publish plan.md --dry-run --json # Validate/render/scan locally; no S3 request.
xbt list --json # Remote objects, no passwords by default.
xbt list --show-passwords --json # Explicitly include matching local receipts.
xbt rm review --dry-run
xbt rm review
xbt receipts review --json # Local receipt metadata only; no cloud requests.Use --dir to place artifacts beneath the configured storage prefix and URL base:
xbt publish plan.md --dir repositories/exhibit --json
xbt list --dir repositories/exhibit --json
xbt rm <slug> --dir repositories/exhibit --json
xbt publish plan.md --dir public/repositories/exhibit --json
xbt publish report.html --dir projects/reviews --no-encrypt --jsonEncryption stays on by default in every directory. --no-encrypt deliberately
disables it. Naming a directory internal
does not restrict access: VPN/Basic Auth must already be enforced by your hosting
infrastructure. See directory scope.
For a suggested exhibits/ hierarchy and matching config, see the
proposed bucket layout. It includes repository/project
namespaces and leads with a gated-by-default policy: only /public/ descendants
bypass VPN or Basic Auth. The /internal/-only policy
is an alternative. Neither policy is enforced by the CLI or the unmodified
new-bucket Terraform example. The split-DNS example
shows public and VPN delivery through one hostname without assuming deployment.
Overwrites are explicit and conditional on the observed ETag. Deletion is limited to a recognized Exhibit artifact at an exact slug. There is no bucket-wide delete.
Generated passwords are 192-bit random values. Safer custom-password interfaces
are --password-env NAME and --password-file PATH; direct --password is
supported but can expose the secret in shell history and process arguments.
- Markdown with GFM tables, tasks, code, headings, and responsive light/dark styling.
- Standalone HTML with inline JavaScript preserved inside an opaque-origin sandbox.
- An optional location contract so HTML can read and update the link's query and hash.
- Upstream StatiCrypt encryption, generic protected gate, no remembered browser keys.
- AWS SDK v3 storage, conditional updates, paginated listing, and local-only receipts.
- Agent-first JSON CLI with stable error codes and no interactive prompts.
- Publishing and setup agent skills.
- Self-contained standalone skill bundles and an agent plugin, generated from
src/skills/with bundled references and CLI preflight guidance. - An organization wrapper example with bundled deployment and branding config.
- AWS Terraform, Fastly guidance, and S3-compatible notes.
- Unit/contract tests, browser tests, a local preview, and development guidance.
No ZIP/directory hosting, exact expiry, burn-after-read, remote MCP, accounts, comments, collaboration, or CloudFront/S3 access-log configuration in this version. Access logging is deliberately omitted from the reference infrastructure; operators must separately design and approve logging, retention, and access controls when required. External images/scripts/fonts and network requests are deliberately blocked. Publish self-contained HTML.
Start with Getting started, Configuration,
and Security. The documentation index
covers infrastructure, agent usage, implementation decisions, and troubleshooting.
See receipt recovery after uncertain uploads or before
forgetting a local password receipt. Dry runs validate custom passwords but return
remote_checked: false with W_DRY_RUN_LOCAL; they do not verify remote readiness.
MIT licensed. @tkstang/[email protected] is published on npm and as a GitHub release.
A source merge does not publish the next release. See npm releases for
the separate validation, approval, and publication steps.
Inspired by Hushdrop. Encryption uses StatiCrypt. See third-party notices for attribution and licenses.