1. Build & Authoring Plane
Author sites declaratively with sws-ir, pure-Rust sws-css, and deterministic sws-compiler. Use the unified sws CLI and local stdio MCP server for CI and AI-assisted editing.
Open Source · MIT OR Apache-2.0 · Rust + Cloudflare Workers
Solo Website System (SWS) turns declarative site IR into deterministic, WCAG 2.2 Level AA static websites and lean Rust/Wasm edge Workers — with byte-identical security headers, progressive-enhancement forms, and $0 free-tier Cloudflare hosting.
100% Rust Core
Typed IR, pure-Rust CSS emission (zero copyleft/MPL crates), deterministic HTML compiler, CLI, and wasm32 edge Workers.
WCAG 2.2 Level AA
Native semantics, verified color contrast, single <h1> hierarchy, and zero third-party accessibility overlay widgets.
Dual Security Headers
Static _headers and Rust Worker middleware stay byte-identical — verified by unit tests, CI, and Playwright.
$0 Free-Tier Edge
Runs on Cloudflare Workers Static Assets, D1 SQLite, and Turnstile without paid SaaS CMS lock-in.
sws CLICross-compiled, single-binary Rust releases for Linux, macOS, and Windows — built exclusively from signed Git tags with SHA-256 checksums.
Tag v0.1.0 · Source Release Prebuilt CLI binaries publish automatically on tagged releases containing sws-cli
Browse published tags and source archives on GitHub Releases, or run the workspace locally from source while sws-cli binary builds are finalized for upcoming v* tags.
| Platform | Rust Target Triple | Release Archive | Download |
|---|---|---|---|
| Linux (x86_64) | x86_64-unknown-linux-gnu |
sws-v0.1.0-x86_64-unknown-linux-gnu.tar.gz |
View on GitHub Releases |
| Linux (ARM64) | aarch64-unknown-linux-gnu |
sws-v0.1.0-aarch64-unknown-linux-gnu.tar.gz |
View on GitHub Releases |
| macOS (Apple Silicon) | aarch64-apple-darwin |
sws-v0.1.0-aarch64-apple-darwin.tar.gz |
View on GitHub Releases |
| macOS (Intel) | x86_64-apple-darwin |
sws-v0.1.0-x86_64-apple-darwin.tar.gz |
View on GitHub Releases |
| Windows (x86_64) | x86_64-pc-windows-msvc |
sws-v0.1.0-x86_64-pc-windows-msvc.zip |
View on GitHub Releases |
# Clone and run locally from source (Node >= 20 LTS + Rust stable + wasm32)
git clone https://github.com/jcusoftware/SWS.git
cd SWS
npm ci
cp .dev.vars.example .dev.vars
npm run db:migrate:local
npm run render
npm run dev
Need full installation prerequisites or Cloudflare setup instructions? Read the Getting Started guide or browse all GitHub Releases.
SWS separates authoring, optional collaborative control, and ultra-lean published edge sites so visitor traffic never pays runtime CMS overhead.
Author sites declaratively with sws-ir, pure-Rust sws-css, and deterministic sws-compiler. Use the unified sws CLI and local stdio MCP server for CI and AI-assisted editing.
Published HTML, CSS, and JSON-LD serve straight from Cloudflare Workers Static Assets. Only /api/* routes invoke the Rust/Wasm Worker for Turnstile verification, D1 storage, and optional notifications.
Upcoming milestones add sws-worker-studio (D1, R2, Queues, SQLite Durable Objects) and a pure-Rust/Wasm visual canvas with sws export emitting standalone Rust Cloudflare Worker apps.
Core crates stay clean and domain-neutral under MIT OR Apache-2.0. Domain schemas, semantic templates, integrations, and compliance linters plug in through sws-plugin.
packs/hospitalityBuilt for restaurants, pubs, and venues with semantic HTML menus + Menu JSON-LD (never PDF-only), structured hours and holiday overrides, private-event and contact inquiry workflows, CAN-SPAM newsletter consent, link-out integrations (Toast, OpenTable, Resy), and an advisory Virginia ABC copy linter.
Inspect the 100% fictional shirlington-hearth-demo showcase demonstrating WCAG 2.2 AA native semantics, 13.97:1 AAA text contrast, progressive-enhancement forms, and live static-vs-Worker header parity.
Start locally in minutes with zero paid services, or browse the guides covering CLI commands, packs, accessibility, security, deployment, and troubleshooting.