topcoat: A batteries-included web framework for Rust, from the Tokio team
Added · Updated
Made by Tokio
View profile on GitHub (opens in a new tab)Build a whole web app in Rust, with pages, routing, a database and in-browser interactivity, from one framework.
For Rust developers, Topcoat renders pages on the server and lets you write small interactive pieces as type-checked Rust that it also turns into JavaScript, so they run in the browser without a separate client build. Routes can follow your folder layout, and the recommended starter includes Tailwind CSS and a todo example on SQLite. It is published under the tokio-rs organisation on GitHub, home of the Tokio async runtime, and the source calls it early-stage and experimental.
What it does
Rust web development has historically meant wiring together separate libraries for routing, templates, databases, and more. Topcoat bundles the common pieces into one coherent framework with documentation on docs.rs, so a new project starts from a working full-stack skeleton.
How to use it
Install Rust and Cargo, then run cargo install topcoat-cli. Create an app with topcoat new hello-world --recommended, set up its database with the two cargo run -- toasty migration commands (generate, then apply), and start topcoat dev. Open http://127.0.0.1:3000 in a browser; the dev server rebuilds and refreshes the page whenever you edit files under src/app.
Common use cases
- Run topcoat new with --recommended and get a working todo app backed by SQLite, with Tailwind styling, icons and fonts, to edit as a starting point.
- Add a file such as src/app/about.rs and get a matching /about page, because the router can read routes from your module tree.
- Mark a search results component as a shard, and the list re-renders on the server and swaps into the page as the user types.
Can I use this?
Requirements The Rust toolchain with Cargo, plus the topcoat-cli tool. The recommended starter stores data with SQLite through Toasty in a local data.db file; the minimal preset skips the database. The source does not list operating system or hardware requirements.
Caveat The source calls it early-stage and experimental and says to expect breaking changes. Deployment docs, validations and background jobs are still listed on its roadmap rather than built in.
Worth knowing A young framework: the source calls it early-stage and experimental and says to expect breaking changes. Licensed under MIT.
Why it's here
Not trending this week
Last seen on the GitHub trending list on 4 October 2026. It stays on BuildTube so you can still find it.
- 6,347 people have starred it on GitHub.
Numbers checked on 8 November 2026; not refreshed since.
Behind it
View sourceBuildTube has not run or verified this project. Everything above is written from what the creator published.
Made this?
Quick questions
- What is topcoat?
- Rust web development has historically meant wiring together separate libraries for routing, templates, databases, and more.
- What can I use topcoat for?
- Run topcoat new with --recommended and get a working todo app backed by SQLite, with Tailwind styling, icons and fonts, to edit as a starting point; Add a file such as src/app/about.rs and get a matching /about page, because the router can read routes from your module tree; Mark a search results component as a shard, and the list re-renders on the server and swaps into the page as the user types
- Can I run topcoat on my computer?
- Yes. Topcoat is a Rust web framework you install with Cargo and use inside your own code. Its dev server then shows your app in a browser on your own computer.
- What do I need to use topcoat?
- Install the Rust toolchain, add the crate, and build — standard Rust workflow.
- What license does topcoat use?
- Licensed under MIT.
More from this week
- Astryx Build React app screens from ready-made accessible components
Build React app interfaces with 150+ ready-made components and themes.
- agent-desktop Let AI agents read and click desktop apps
For developers building computer-use agents: agent-desktop lets an AI agent read and operate desktop apps on Mac, Windows or Linux from a command line.
- Auto-Ontology Give AI agents checked business meanings for your database
Help AI agents answer questions about company databases using reviewed definitions and SQL, with each answer showing its steps.
Explore by topic
Post this
Download share imageFor makers
Made this? Show it’s on BuildTube — add the badge to your README or embed the card on your site.
README badge (Markdown)
[](https://buildtube.app/p/gh-tokio-rs-topcoat/)Embed card (HTML)
<iframe src="https://buildtube.app/embed/gh-tokio-rs-topcoat/" width="560" height="240" style="border:0;max-width:100%" loading="lazy" title="topcoat on BuildTube"></iframe>