Repository for the wasmCloud homepage including our community, team, docs, links, and as an ingress point for interested developers. This site is built with Docusarus.
npm ci
npm run startThis command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.
npm run buildThis command generates static content into the build directory and can be served using any static contents hosting service.
To serve the generated static content:
npm run serveThe wasmCloud docs use Excalidraw for diagrams. Source .excalidraw files live in versioned_docs/version-next/images/ alongside the exported PNGs.
Colors, typography, and the official wasmCloud Excalidraw library are defined in the brand-guidelines skill. The skill is open source and donated by Cosmonic — for this repository, use the wasmCloud sections.
The wasmCloud palette in brief:
| Color | Hex | Use |
|---|---|---|
| Green Aqua | #00C389 |
Primary brand color, main elements |
| Space Blue | #002E5D |
Dark backgrounds, outlines |
| Gunmetal | #253746 |
Text, secondary backgrounds |
| Light Gray | #768692 |
Secondary text |
| Gainsboro | #D9E1E2 |
Light backgrounds, borders |
| Yellow | #FFB600 |
Highlights, CTAs |
The brand-guidelines skill is the canonical source; defer to it when the palette here conflicts with the skill content.
To load the wasmCloud and Wasm Excalidraw library in the Excalidraw web UI, click the link and confirm the library install.
The skill ships as a project-level Claude Code skill, pinned in skills-lock.json. To install or restore it on a fresh checkout:
npx skills experimental_installIf you prefer to add the skill manually (or to a different agent):
npx skills add cosmonic-labs/skills --skill brand-guidelines --agent claude-codeThe installed skill content is gitignored; only skills-lock.json is committed.
Two options:
- VS Code Excalidraw extension — install the Excalidraw extension and open
.excalidrawfiles directly in VS Code. - excalidraw.com — open excalidraw.com and drag-and-drop the
.excalidrawfile onto the canvas. Save by downloading the file back (hamburger menu > Save to disk).
With the brand-guidelines skill installed, ask Claude Code to create a diagram and the skill will surface the wasmCloud palette, typography, and Excalidraw library to use. For example:
Create an Excalidraw flowchart showing the component deployment pipeline, using the brand-guidelines skill.
Diagrams must be exported as transparent PNGs at 3x scale before committing.
One-time setup:
cd scripts
npm install
npx playwright install chromiumExport a diagram:
node export-excalidraw-png.js <input.excalidraw> [output.png]If no output path is given, the PNG is written next to the .excalidraw file with the same name.
If you don't want to install Playwright:
- Open the
.excalidrawfile at excalidraw.com - Select all elements (Ctrl+A / Cmd+A)
- Open the export dialog (hamburger menu > Export image)
- Toggle Background off
- Set Scale to 3x
- Click Copy to clipboard or Save as PNG