Build Modern Web Apps in Vala
Spry is a component-based web framework featuring HTMX integration, reactive templates, and dependency injection. Fast, type-safe, and elegant.
Why Choose Spry?
Build powerful web applications with a framework designed for developer happiness
HTMX Integration
Build dynamic UIs without writing JavaScript. HTMX handles the complexity, you handle the logic.
Dependency Injection
Clean architecture with Inversion of Control. Inject services, stores, and components effortlessly.
Reactive Templates
Declarative templates with outlets and automatic updates. Your UI stays in sync with your data.
Type-Safe
Full Vala type safety means fewer runtime errors. The compiler catches bugs before you do.
High Performance
Built on Astralis for maximum throughput. Native code performance with web framework convenience.
Modular Design
Use what you need, extend what you want. Clean separation of concerns at every level.
Clean, Intuitive Code
Write components that are easy to understand and maintain
class CounterComponent : Component {
private int count = 0;
public override string markup {
owned get {
// Use spry-action for interactivity
return @"Counter: $(count)
[Button: spry-action=':Increment' +]
[Button: spry-action=':Decrement' -]";
}
}
public async override void handle_action(string action) {
if (action == "Increment") count++;
else if (action == "Decrement") count--;
}
}
Free as in Freedom
Spry is Free/Libre Open Source Software. Use it, study it, modify it, and share it freely. Built by the community, for the community.