Samples
Sample Packages
personal-blog
A personal blog: three Markdown-style posts served as static HTML, with a YAML dataset of post metadata (dates, tags, slugs). The post list is rendered client-side from /api/v1/data/posts.
interactive-quiz
A 5-question quiz that scores answers via a JS handler route. Questions come from a JSON dataset; high scores persist via the writable overlay. Demonstrates handlers + writable datasets end-to-end.
portfolio
A single-page portfolio: dark-mode CSS, image gallery, JSON dataset of projects rendered client-side. The whole site (HTML + CSS + JS + assets + data) ships in one signed .cap.
Capsium Demo
A tiny two-page dark-themed site with one JSON dataset. Exercises page routes, static assets, dataset routes, and introspection endpoints.
cap-story
An interactive storybook ("Story of Claire") demonstrating narrative content, multiple chapters, and character bios. The showcase Capsium package.
docs-site
A multi-page documentation site with a sidebar table of contents rendered from a JSON dataset. Five pages across three sections, responsive grid layout.
photo-gallery
An image gallery with six gradient-placeholder photos, a JSON dataset of titles and tags, and a live client-side filter. Native lazy-loading keeps the page light.
data-dashboard
Single-page dashboard reading from a YAML dataset. Exercises the core + layered-storage modules: client-side JS fetches /api/v1/data/metrics and renders rows in a table.
composite-demo
Parent package depending on composite-base. Demonstrates route inheritance, remap, exported vs private visibility, and responseRewrite / responseHeaders enhancement.
legacy-format-demo
Annex E legacy config forms read-tolerated by every conformant reactor: object-keyed-by-path routes, target: {file|dataset} shape, datasets-array storage.
signed-encrypted-demo
Same content as data-dashboard, but signed (RSA-SHA256) and encrypted (AES-256-GCM with RSA-OAEP-SHA256 wrapped DEK). TEST-ONLY keys ship alongside for end-to-end decryption.
Building your own?
The full source for every sample above lives incapsiums/capsium-samples. Each sample is a complete .cap source tree you can clone, modify, and repack withcapsium package pack. Pull requests welcome.