Hacker

Balaji Natarajan

@gl1tche0

Joined Nov 2026Student at Amrita Vishwa VidyapeethamIndia

Elsewhere

Projects

  • FlagKit: Multi-Stack Starter Templates for Self-Hosted Flagsmith

    Flagsmith Experimentation HackathonNov 2026

    What we built: FlagKit is a zero-dependency, polyglot starter template platform built around self-hosted open-source Flagsmith. With one interactive command (./start.sh), anyone—from a complete beginner to an experienced engineer—can select from 9 backends (Node.js, Python, Rust, Go, Java, .NET, Ruby, PHP, Elixir) and 4 frontends (React, Next.js, Vanilla JS, API-only) across 2 template modes: a Minimal "blank canvas" light bulb and a Full Showcase "Mission Control" rocket launchpad. What problem it solves: Setting up feature flagging traditionally requires deep technical knowledge: configuring databases, managing dual-key architectures (client keys vs. server-side local evaluation), bypassing Docker SSRF restrictions on internal webhooks, dealing with organization limits, and writing boilerplate code across different programming languages. FlagKit eliminates this entire barrier, transforming days of complex configuration into a guided, 60-second interactive setup that requires no local runtimes installed—only Docker and Bash. Who would use it & Use Cases: 1. Beginners & Students: Anyone learning feature flags, web development, or modern deployment practices for the first time. • Beginner Use Case: A student or new learner can choose the Minimal template (e.g. Node.js + React or Plain JavaScript). In 60 seconds, they have a fully working, self-hosted Flagsmith dashboard and a live webpage. By simply flipping the "demo_feature" switch in the dashboard, they can immediately see the light bulb turn on and off in real time and see that their database and Flagsmith SDK are healthy. It provides an instant, interactive "sandbox" where beginners can understand feature flags visually without getting stuck in backend plumbing or configuration hell. 2. Developers, Tech Leads & DevOps Teams: Professional teams adopting self-hosted Flagsmith who want production-ready scaffolding for their exact tech stack without spending days writing boilerplate, configuring webhooks, or troubleshooting network aliases. How it works: 1. Orchestration: Boots untouched official Flagsmith, PostgreSQL, and task-processor via Docker Compose. 2. Automated Seeding: An idempotent bootstrap seeder creates organisations (FlagKit: <project>), projects, keys, flags, user segments, and webhooks via Flagsmith's REST Management API. 3. Dual-Key Local Evaluation: Backends use the server-side key (ser.) to evaluate guards in RAM with zero network latency. Frontends use client-side keys via official SDKs. 4. Real-Time Sync: Dashboard updates trigger an HMAC-verified webhook to the backend, which invalidates its in-memory cache and broadcasts a flag_update event via Server-Sent Events (SSE) to the browser for instant UI re-rendering without polling (30–120ms round-trip latency). 5. Bidirectional CLI: Includes tools to push schemas to Flagsmith and pull remote flags to auto-generate TypeScript type definitions and keep local schemas synchronized.

    SCP-001@gmharish