Stario: Bringing Back the Joy of Web Development
Stario is a lightweight Python web framework built for the modern era of real-time collaborative web apps. Building on the simplicity of Datastar, Stario lets you build reactive, multiplayer web applications without the complexity of modern JavaScript silos. Keep application state where it belongs: on the server, and focus on things that actually matter.
Get Started Instantly
The fastest way to build your first Stario app is using uv:
# Initialize a new Stario project based on one of the templates
uvx stario@latest init
Note: Stario v2 requires Python 3.14+ (v1 supported >=3.12). Always use
stario@latestto ensure you get the current version - without it,uvxmay use a cached older release.
Alternatively, install it via your favorite package manager:
# Using uv
uv add stario
# Using pip
pip install stario
90-Second Intro to Stario
What's Next?
- Tutorial: Tiles Walkthrough - Explore a working real-time app and learn the core patterns.
- Tutorial: Hello World - Build a reactive app from scratch, step by step.
- Reference: Handlers - Learn the simple Go-style handler pattern.
- Explanation: The Storyboard Approach - Understand the philosophy behind Stario.
- How-to: Real-time Streaming - Dive deep into SSE and Relay.
