Hacker

Varun Damani

@varun_2045

Joined Nov 2026Software Engineer at AWCIndia

Elsewhere

Projects

  • FlagLens — Live Flagsmith Feature Flags in VS Code

    Flagsmith Experimentation HackathonNov 2026

    FlagLens is an open-source VS Code extension (published on the VS Code Marketplace as varun2045.flaglens) that brings self-hosted Flagsmith feature flags, remote config, and multivariate A/B experiments directly into your editor. The Problem: Developers shipping behind feature flags constantly alt-tab between VS Code and the Flagsmith dashboard just to check whether a flag is enabled in Development vs. Production, inspect multivariate split weights, verify flag spelling, or hunt down stale flags left behind in code. Who Uses It: Engineering teams using self-hosted (or Cloud) Flagsmith who want live flag visibility, 1-click toggles, and automated flag hygiene across JavaScript/TypeScript, React, Python, Go, Java, and Dart codebases without leaving VS Code. How It Works: FlagLens connects to Flagsmith's Management REST API (supporting both v1 and Feature Versioning v2 environments) and scans your workspace for Flagsmith SDK calls (hasFeature, getValue, useFlags, is_feature_enabled, IsFeatureEnabled, GetFeatureValue). It provides: - Inline Live Badges: Real-time ON/OFF states across environments, remote config values, and A/B split percentages next to every flag call. - Cross-Environment Hover Cards: Hover any flag to see its Dev/Staging/Prod matrix with 1-click Toggle, Edit Remote Config Value, and Open in Flagsmith Dashboard actions. - Wrap Selection in Flagsmith Flag: Highlight any code block to wrap it in a feature check and automatically create the flag in Flagsmith. - Ghost & Stale Flag Auditing: Underlines misspelled/unknown flags with 1-click Levenshtein Quick Fixes (replace or create in Flagsmith) and lists unused flags (0 workspace references) in the Flag Health sidebar. - Live Demo & Zero-Setup Sandbox: Includes ToggleShop (https://flaglens-demo-app.vercel.app/), a live storefront synced with Flagsmith, plus an embedded local sandbox when localhost:8000 is offline.