Tool Open source
Topcoat is a modular, batteries-included Rust framework for building full-stack web applications with server-side rendering, components, API routes, Tailwind CSS support, asset handling, and client-side interactivity. Its `view!` macro combines HTML-like templates with Rust control flow, while components can be asynchronous and access server-side resources such as databases directly.
Topcoat evaluates `$()` expressions on the server for the initial render and translates them to JavaScript for browser-side reactivity without a WebAssembly bundle or separate client build step. Server-dependent updates can be implemented with `#[shard]` components, which re-render on the server when their arguments change and replace the resulting HTML in place. It also provides signals, event handlers, server procedures, request-context and per-request memoization, live updates, module-based route discovery, cookies and sessions, a CLI formatter, vendored editable UI components, and an asset bundler. The repository describes it as early-stage and experimental, with breaking changes expected.
1 use taken from transcripts — each links to the moment in the video.
A Rust web framework for building interactive web applications with server-side rendering, API endpoints, components, Tailwind CSS support, and client-side interactivity. It compiles selected Rust expressions to JavaScript and provides server-side procedures, shards, request memoization, and live UI updates with minimal boilerplate.
1 in the library.