Guide
Getting started
Hermet is a framework for building websites in Rust that run on Cloudflare Workers. In this guide, you first create a one-page site, view it in a browser, and change one piece of text. You can read the steps for deploying, and features such as login, when you need them.
When you build a page, you can combine the following parts.
- Shared HTMLThe HTML that is the same for everyone who views the same page. On a statute page, it holds the headings, the menu, the text of the statute and so on.
- Server IslandA part that the server renders and adds on every request. Use it for things like the signed-in user's name or the number of items in the cart.
- Client IslandA part that runs JavaScript in the browser. Use it for things like buttons that change a quantity.