README.md |
When you want to check the detailed rules that this guide leaves out. It also covers webhooks, middleware, scheduled jobs, redirecting by user preference (redirect_with), HTML from external sources (TrustedHtml) and more. |
examples/min-form |
The smallest form site: the step after hermet new. It has only a contact page, the form that receives the message, and a page shown after sending. It uses no storage. It also shows examples of files in public/ (favicon.svg, robots.txt). |
examples/knowledge-base |
A knowledge base: articles (cached pages), search (a Client Island and Api::get), your own posts as CSV (a download that needs login), and a Server Island that receives the query. Read it when you want an example of a different entry point for each kind of data. It also shows components placed in separate folders. |
examples/status |
A demo that uses Cloudflare's public status data. It mixes pages rendered at build time and pages rendered on each request in one site. Its D1 tables are created with hermet d1 migrate. |
examples/shop |
A shop sample: product list, product pages, cart, members-only pages, offers by member type, and login. Read it when you want to see Server Islands and Client Islands used together. |
examples/law |
A site for reading statutes: Japanese fonts, audio, webhooks and more. Read it when you build a large site for reading. |
examples/guide |
Static generation with a Rust program in a package of its own. It converts Markdown to HTML and puts it into pages. An example CI workflow for deploying is in docs/ci-examples/deploy-guide.yml (an example to copy; it is not run from this repository). |
examples/prerender-worker |
Static generation with a Rust program in the site's own package. Its name contains "worker", but the HTML is generated on the machine that runs the build. |
docs/verification.md |
Records of what was verified for each feature and how, and the edge-case rules. |