Skip to content
excsnPublic

About

Write apps in TypeScript, run it in Rust. File routes, loaders, actions, typed OpenAPI and gRPC clients, sessions, streaming and island hydration, with no Node in the build or on the request path. Plus snapfirec, TypeScript to browser ESM and the original Tera and Actix live-reload library.

Topics

Resources

Stars

8 stars

Watchers

0 watching

Forks

Repository files navigation

SnapFire Project

License: MPL 2.0

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

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.

The tools

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.

License

Mozilla Public License 2.0. See LICENSE.

Excerion Sun LLC

About

Write apps in TypeScript, run it in Rust. File routes, loaders, actions, typed OpenAPI and gRPC clients, sessions, streaming and island hydration, with no Node in the build or on the request path. Plus snapfirec, TypeScript to browser ESM and the original Tera and Actix live-reload library.

Topics

Resources

Stars

8 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages