Hacker

sandman

@sandman

Joined Aug 2026developerIndia
  • FlagTop

    Flagsmith Experimentation HackathonNov 2026

    I built flagtop, an open-source k9s / lazygit-style Terminal TUI, universal CLI, and 1-command Docker bootstrapper for Self-Hosted Flagsmith (github.com/sandman-sh/flagtop). The problem it solves: Self-hosting Flagsmith gives teams full control, but daily developer workflows still suffer from five major pain points: Silent Environment Drift: Features pass in Development and fail in Staging or Production when toggles or JSON remote configs drift out of sync. Context Switching: Engineers working in terminals, SSH sessions, or CI pipelines have to leave their terminal and click through multiple browser screens just to inspect or flip a flag. Production Risk: Flipping flags quickly without environment-level safeguards risks accidental Production outages. Hard-to-Debug User Targeting: Testing what a specific user + traits (plan=enterprise, beta=true) receives across Development, Staging, and Production takes manual trial and error. Code-to-Flag Drift & Setup Friction: Codebases call flags that haven't been created in Flagsmith yet (or leave stale flags behind), and spinning up a fresh self-hosted Flagsmith Docker instance still requires manual admin, org, API key, environment, and segment setup. flagtop solves all of these directly from the terminal in one tool. 2. Who would use it, and how does it work? Who would use it: Backend, Frontend, and Full-Stack Engineers running self-hosted Flagsmith who want k9s/lazygit-style speed in the terminal across TypeScript/JS, Python, Go, Java, Ruby, C#, PHP, and OpenFeature codebases. DevOps / SRE / Platform Teams who want automated DEV | STG | PRD drift checks (flagtop diff --exit-code --json), Git pre-push drift guards (flagtop init --hook), reproducible JSON snapshots (flagtop export / flagtop apply --dry-run), and live rollout monitoring (flagtop watch). New Flagsmith Adopters & Hackathon Teams who want a zero-friction, 1-command local Flagsmith stack (flagtop up). How it works: 1-Command Self-Hosted Stack (flagtop up): Generates local runtime credentials into .env, starts official flagsmith/flagsmith:latest + postgres:15.5-alpine + run-task-processor via Docker Compose, and automatically bootstraps an admin user, Organisation Master API Key, Development / Staging / Production environments, user segments (enterprise_users, beta_testers), and sample boolean/multivariate flags. Management & Edge API Engine: Connects to Flagsmith's REST API (/api/v1/projects/, /environments/, /features/, /featurestates/, Feature Versioning v2 /versions/) with Authorization: Api-Key and evaluates live user traits via POST /api/v1/identities/ (X-Environment-Key). Interactive Split-Pane Ink TUI (flagtop): Left Pane (Flags & Env Matrix): Displays DEV | STG | PRD side-by-side with ≠ DIFF highlighting, [d] Diffs-Only filter, [w] 3s Live Watch auto-polling, Space toggle with a [y/N] Production Safety Guard, [s] 1-key DEV → STG sync, [v] remote value editing, and [n]/[x] create/delete. Right Pane Tabs (Tab): [i] Inspector: Environment values, multivariate percentage splits, and [L] multi-language SDK snippets (TS, Python, Go, OpenFeature). [t] Trait Simulator: Evaluates an identity + traits live and compares results across DEV | STG | PRD ([m]) alongside matched segments. [c] Code Drift Scanner: Scans repositories for Flagsmith & OpenFeature SDK calls, flags missing/unused flags by file:line, creates missing flags in Flagsmith with Enter/A, and generates strict TypeScript types (flagsmith.generated.d.ts via [G] / flagtop types). Offline Preview Mode (flagtop --demo): Works out of the box with zero Docker or network setup so anyone can try the full TUI and CLI immediately.

  • BlastShield AI

    Graph HacksOct 2026

    Cloud incidents are connected-data problems. A compromised Kubernetes pod may call an authentication service, assume an IAM role, read a secret, reach a database, and spread through multiple downstream relationships. Traditional dashboards show individual logs and metrics, but incident commanders still have to manually reconstruct the dependency path and decide what to isolate. BlastShield AI is an evidence-first incident commander for connected infrastructure. It stores a synthetic cloud topology in FalkorDB, uses live OpenCypher traversals to calculate the downstream blast radius, applies Tarjan's articulation-point algorithm to find candidate containment points, and compares graph reachability before and after isolation. KIMO, our tool-calling AI incident commander, explains the graph evidence and proposes a remediation. It cannot silently mutate the topology: a human operator must explicitly approve the action first. Approved actions quarantine the selected node, sever dangerous relationships, persist a SHA-256 audit record, and store an episodic memory for future incident analysis. The project is designed for SREs, security engineers, platform teams, and incident commanders who need explainable, graph-native decisions instead of an AI guess or a fixed shutdown rule.