SnapFire FSR (Full Stack Runtime) is a web application framework where you write the application in TypeScript and a Rust host runs it. Routes, loaders, actions and pages live under app/ as TypeScript. There is no JavaScript engine on the server, no node_modules and no npm install.
The build reads your TypeScript and turns it into data instead of running it. A loader that awaits two service calls and returns an object becomes two rows and a shape in a plan file; a page becomes a render tree; an action becomes a small program the host's interpreter runs. FSR calls this lowering. When the build cannot lower something, it names the line. A loader or action it cannot understand stops the build; a component it cannot lower renders in the browser only.
Backend services are described by a contract imported from the OpenAPI documents or .proto files they already publish. TypeScript types are generated from it for the editor and the runtime checks every call and response against it, so you never write a client. HTTP, gRPC and mock transports sit behind the same boundary.
Pages render on the server in Rust. Interactive parts hydrate as islands on load, when visible or when idle. React, Svelte, Vue and Tera can all take part in one application. Loaders run concurrently and a failing backend only degrades the segment that asked for it. Actions are typed, validated against their schema and protected against CSRF. They work from JavaScript or plain HTML forms. Browser dependencies are vendored into the repository with fsr add, so a checkout runs with no network.
The project ships as two crates: snapfire_fsr is the host and snapfire_fsr_cli provides the fsr binary, which discovers routes, lowers loaders and actions and writes the plan file.
Website at https://snapfirers.com and source at https://github.com/excsn/snapfire. Licensed under MPL-2.0.
