Documentation
Hearth renders the initial view on the server and compiles browser interactions to JavaScript. Start with a page, then add scoped tables and local queries.
Start here
- Getting started: install the CLI and render a first page.
- Views: write markup and reactive expressions in Rust.
- Server-only table fields: declare a table and choose what reaches the browser.
- Persistence and sync: learn what is cached locally and what the server checks.
Start
Project setup, request context and static assets.
Local-first
Tables, authorization and how browser data stays in sync.
Views and runtime
Markup, components and the expressions that run in the browser.
Server
Routing, errors, cookies, sessions and fonts.
More guides
- Alpine AJAX
- Macro formatting
- Application context
- Functions, not middleware
- Request memoization
- Datastar
- Deployment
- Font declarations
- Font faces
- Fontsource families
- Fontsource faces
- Tauri
- Toasty-models
- HTMX
- Iconify icons
- Including icon sets
- Icon
- Mail: Mail
- Content: Multipart
- Content: Sitemap
- Server-sent events
- WebSockets
- Router: Content
- Typed links
- Router: Layer
- Router: Layout
- Module parameters
- Not-found pages
- Router: Page
- Path parameters
- Query parameters
- Router: Route
- Router: Segment
- Router: Tower
- Rust and JavaScript parity
- Runtime
- View: Attributes
- Classes
- View: Live
- Component properties
- View