Hacker

Arul Tripathi

@hackingsage

Joined Nov 2026Student at MSITIndia

Elsewhere

Projects

  • Flagsmith Lens: live feature flags inside VS Code

    Flagsmith Experimentation HackathonNov 2026

    Flagsmith Lens is a VS Code extension that brings your Flagsmith feature flags into the editor, and it works with self-hosted Flagsmith. The problem: LaunchDarkly, Statsig, PostHog and GrowthBook all have a VS Code extension, but Flagsmith didn't. When you read isFeatureEnabled('new_checkout') in your code, you have to leave the editor, open the dashboard, find the project, the environment and the flag, just to learn whether it's on in production. Who uses it: any developer whose app uses Flagsmith flags, especially teams that self-host Flagsmith. How it works: - A CodeLens line above every flag in your code shows its live state in every environment (for example: Development on, Staging on, Production off). Click it to toggle. - Hover a flag to see its description and its value in each environment. - A Flagsmith sidebar lists every flag with a checkbox per environment. - A production guard: environments that match a pattern (default "prod") ask for confirmation before any change. - Missing-flag warnings: a flag name in an SDK call that doesn't exist in Flagsmith (a typo, or a deleted flag) gets a squiggle, and a quick fix creates the flag. - Find Unused Flags: scans the workspace and lists flags that no code uses any more, including where they're still on. This is a flag-debt cleanup list. It talks to the Flagsmith Admin API with an Organisation API key stored in VS Code Secret Storage. The repo also has a one-command docker compose setup for self-hosted Flagsmith, a seed script that creates a demo project, and a small shop app whose whole page is driven by flags.