Write the application in TypeScript. Run it in Rust.
SnapFire is a web stack with no Node. You write pages, loaders and actions in TypeScript and a Rust server renders them.
Nothing needs Node, at build time or on the request path. There is no node_modules.
Demos, documentation, tutorials and guides are on the SnapFire website.
SnapFire FSR is the flagship. It is a full-stack runtime: file routes, data loading, actions, service clients, sessions, identity, caching, streaming and client navigation, with React, Vue, Svelte or Tera for the UI.
cargo install snapfire_compiler snapfire_fsr_cli
cd fsr/examples/shopping_react_ts
cargo build
fsr dev app- The guide teaches it one question per chapter, with a lab on the running example.
- The examples are complete applications in reading order.
| What you want | Where it is |
|---|---|
| TypeScript and CSS compiled to browser ES modules | SnapFire Compiler, the snapfirec executable |
| Types checked against a pinned TypeScript that it fetches and verifies | SnapFire Typecheck, the snapfiretc executable |
| ESLint's rules over TypeScript, Vue, Svelte, Markdown and Tera | snapfire_lint, which fsr lint runs |
| Tailwind CSS v4 built in Rust | snapfire_tailwind |
| Image sizes and EXIF orientation, font families, weights and fallback metrics | snapfire_media |
| Sitemaps that enforce every protocol limit when you build them | snapfire_sitemap |
| Tera templates with live reload inside an Actix application | SnapFire Web, the snapfire crate |
Each one installs and is used from its own README.
Mozilla Public License 2.0. See LICENSE.