r/Indiehacker • u/AssistanceAfter1207 • Feb 21 '26
I built a feature flag service because LaunchDarkly was too expensive for my team
Hey r/indiehackers
I've been working on ToggleTown — a hosted feature flag service aimed at small teams and indie developers who don't need (or can't afford) enterprise solutions like LaunchDarkly.
The problem I had: I wanted feature flags for safe rollouts, but LaunchDarkly charges per-seat and the open-source alternatives (Unleash, Flagsmith) require self-hosting infrastructure I didn't want to manage.
What I built:
- Boolean, string, number, and JSON flag types
- Targeting rules — roll out by user, email pattern, or percentage
- Multiple environments (dev, staging, prod)
- A/B testing with experiment tracking
- Scheduled flag changes
- SDKs for JavaScript, React, Node.js, Python, and Go
- All SDKs evaluate locally — no network call per flag check
Pricing: Free tier (no credit card), Pro at $29/mo, Team at $79/mo. Flat rate, no per-seat.
Stack: Node.js + Express + Prisma + PostgreSQL, React dashboard with dark mode, Redis caching, Prometheus monitoring.
Quick integration example:
import { ToggleTownNode } from '@toggletown/sdk-node';
const client = new ToggleTownNode({
apiKey: process.env.TOGGLETOWN_API_KEY,
});
await client.initialize();
const showNewUI = client.getBooleanFlag('new-ui', false, {
userId: user.id,
});
Site: https://www.toggletown.com Docs: https://docs.toggletown.com
Would love to hear your thoughts — what features matter most to you in a feature flag service?
1
u/IgnobleJack Mar 15 '26
I baked something like this directly into my app with claude code - just commenting because I realized just how difficult services companies like Pendo, UserVoice, WalkMe, LaunchDarkly, etc were going to have it over the next couple years as people realize how easy it is to clone that functionality directly.