Announcing Flagit: Self-Hosted Feature Flags for Everyone
Today we are excited to launch Flagit, a lightweight, self-hosted feature flag service built in Rust. After years of using various feature flag solutions, we decided to build the tool we always wanted.
Why We Built Flagit
Feature flags are essential for modern software development. They let you ship code continuously while controlling when features become visible to users. But the existing options left us wanting more:
- Cloud services charge per seat or per MAU, making costs unpredictable as you scale
- Self-hosted alternatives often require PostgreSQL, Redis, and complex infrastructure
- Simpler tools lack features like real-time updates and proper targeting
We wanted something in between: powerful enough for production use, simple enough to run anywhere.
What Makes Flagit Different
Single Binary, Zero Dependencies
Flagit is a single ~15MB binary. No Java runtime, no PostgreSQL, no Redis. Just download and run. It uses SQLite for storage, which means your entire feature flag database is a single file you can backup with cp.
Built in Rust
We chose Rust for its performance and reliability. Flagit handles 16,000+ requests per second with ~2ms average latency on modest hardware. Memory usage stays under 100MB even under load.
Real-Time Updates
When you toggle a flag, connected SDKs receive the update instantly via Server-Sent Events (SSE). No polling, no delays. Your flags update in milliseconds, not minutes.
Proper Targeting
Target users by ID, email, plan type, or any custom attribute. Run percentage rollouts with sticky assignment. Schedule flags to activate at specific times.
Getting Started
You can have Flagit running in under a minute:
docker run -p 8080:8080 -v flagit-data:/data s4labs/flagit
Then open http://localhost:8080, create your first flag, and integrate with our SDK:
import { init, isEnabled } from '@flagit/node';
await init({
url: 'http://localhost:8080',
key: 'your-sdk-key'
});
if (isEnabled('new-feature')) {
// Ship it!
} Self-Hosted, Your Way
Flagit runs entirely on your infrastructure. Your data never leaves your servers. We believe feature flags are critical infrastructure, and you should own and control them completely.
The Community tier is free forever with up to 5 flags. For teams that need more, we offer Pro and Enterprise plans with unlimited flags, advanced features, and support.
What's Next
This is just the beginning. On our roadmap:
- More SDKs (Python, Go, Java)
- A/B testing and experimentation
- Webhooks for integrations
- Flag dependencies and prerequisites
We would love to hear your feedback. Try Flagit and let us know what you think!
Get Started
Try Flagit today. Community tier is free forever with up to 5 flags.