Skip to content

Repository files navigation

Feature Flag Removal Dashboard

A Next.js dashboard that automates the detection and removal of feature flags from your codebase using Devin AI.

Features

  • 🔍 Automated Flag Detection - Scans repositories for feature flags (custom, LaunchDarkly, environment variables, etc.)
  • 📊 Risk Assessment - Analyzes impact and assigns risk scores to flag removal
  • 🤖 AI-Powered Removal - Uses Devin to automatically remove flags and create PRs
  • 📈 Real-time Tracking - Monitor removal sessions with live status updates
  • 🔗 GitHub Integration - Direct links to PRs and code previews

Tech Stack

Frontend: Next.js 14, React, TypeScript, Tailwind CSS | Backend: Next.js API Routes | AI: Devin API for autonomous code changes | Auth: NextAuth.js

Setup

  1. Clone the repository 2. Install dependencies: npm install 3. Configure environment variables: DEVIN_API_URL=your_devin_api_url DEVIN_API_KEY=your_devin_api_key NEXTAUTH_SECRET=your_nextauth_secret 4. Run the development server: npm run dev

Usage

  1. Navigate to /dashboard 2. Click "Scan Repository" to detect feature flags 3. Review flags and their risk assessments 4. Click "Analyze" to view detailed impact analysis 5. Initiate removal to have Devin automatically create a PR

Project Structure

src/app/api/ - API routes (Devin integration) | src/app/dashboard/ - Dashboard page | src/components/ - React components | src/components/ui/ - Reusable UI components | src/lib/ - Utilities and helpers

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages