Skip to content

johndotpub/clawsprawl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

164 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

ClawSprawl 🕶️🤖

Version License: Unlicense Node Astro Tests QA Coverage Docs Coverage CodeQL Security Dependabot Branch Protection Built with OpenCode Profile Theme

ClawSprawl is the Astro-based operations surface for autonomous agent swarms. It combines a terminal-themed narrative shell with a live dashboard connected to the OpenClaw gateway via server-side SSR integration.

Default indexing posture: pages are shipped with noindex, nofollow meta robots tags because ClawSprawl is an internal operations surface by default.

Documentation Hub

Quickstart

npm install
npm run dev

The app runs at http://localhost:4321. Copy .env.example to .env, set OPENCLAW_GATEWAY_TOKEN, and pick a CLAWSPRAWL_MODE (public, token, or insecure).

Architecture

ClawSprawl uses an SSR boundary: browser clients call ClawSprawl APIs, and the server talks to the OpenClaw gateway.

Design details and data flow live in docs/technical-design-plan.md.

Auth Model

ClawSprawl keeps gateway credentials server-side only.

  • OPENCLAW_GATEWAY_TOKEN is read by the SSR server and never exposed to the browser.
  • Public cards load through /api/public/* routes.
  • In token mode, private cards unlock through /api/private/session and a secure httpOnly session cookie.
  • insecure mode is for private-network deployments only.

Operational setup guidance: docs/deployment-guide.md. Incident guidance: docs/operations-runbook.md.

Dashboard States

Public locked state:

Public locked dashboard thumbnail

Private unlocked state:

Private unlocked dashboard thumbnail

Profile Configuration

Profiles control branding and identity chrome; live operational data always comes from the gateway.

Initialize a local profile scaffold:

npm run profile:local:init

Theme Configuration

The dashboard ships with 6 built-in dark-mode themes. Switch via the theme selector in the top-right corner of the dashboard — your choice persists in the browser via localStorage.

  • Built-in themes: sprawl (default), cyberpunk, midnight, ember, mono, slate
  • Theme presets: src/config/themes/presets.ts
  • Server default: PUBLIC_CLAWSPRAWL_THEME=sprawl in .env

Set the server-default theme via the ops CLI:

npm run ops -- theme list
npm run ops -- theme set midnight

Quality Pass

Recommended release gate:

npm run qa:strict

Additional commands:

npm run test
npm run build
npm run test:e2e

Coverage targets are enforced in CI:

  • Unit coverage: 84%+ via npm run test:unit:coverage
  • E2E runtime coverage: 80%+ via npm run test:e2e:coverage
  • Docs coverage: 98%+ via npm run test:docs:coverage

Documentation Screenshots

Regenerate documentation screenshots:

npm run docs:screenshots

Images are stored in docs/screenshots/.

Release Automation

Community

About

Open‑source observability dashboard for OpenClaw agents and their real‑time signals.

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Contributors