specforge Web UI
A browser-based previewer for the specforge IR.
Usage
- Generate the IR:
specforge emit openapi.yaml > ir.json - Open
index.htmlin a browser - Paste the JSON or upload
ir.json - Browse schemas, operations, and the full IR
Features
- Schema tree browser
- Operation listing
- IR JSON viewer
- Download IR as JSON
- Dark forge-themed UI
WASM Support
For client-side parsing without specforge emit:
- Install wasm-pack:
curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh - Build WASM:
./scripts/build-wasm.sh - Open
index.html— the "Parse Locally (WASM)" button will parse specs directly in the browser
Development
No build step needed — open index.html directly. All CSS and JS are inline.