Introducing Vipr: See What's Wrong Before It Ships
Vipr is a free, local-first static analysis platform for TypeScript, React, and Next.js that tracks codebase health over time. It runs entirely on your machine and your code never leaves it.
Frontend codebases grow fast. What starts as a clean project with clear boundaries turns into a maze of tangled imports, bloated components, and functions nobody wants to touch. Linters catch syntax problems and type checkers catch type problems, but neither catches the structural decay underneath: the creeping complexity that makes every feature take twice as long to build. Vipr is built for that gap.
Vipr is a free, local-first static analysis platform for TypeScript, React, and Next.js that tracks codebase health over time. It runs entirely on your machine and your code never leaves it. It understands modern frontend code at a level generic tools cannot. It computes cyclomatic complexity, Halstead metrics, and maintainability indices. It maps component hierarchies, detects oversized render functions, flags prop-drilling chains, and identifies dead exports.
We built Vipr around the idea that one analysis engine should power every surface a developer touches. The CLI is free. It runs in CI pipelines, outputs JSON or Markdown, and supports quality gates that fail a build when complexity thresholds are exceeded. The VSCode extension brings those same insights inline: CodeLens annotations, sidebar tree views, and a Copilot Chat participant that can answer questions about your codebase’s health. The Desktop app adds a persistent SQLite-backed dashboard with 40+ widgets, historical tracking across git commits, and snapshot comparisons so you can see how a refactor changed the numbers.
Under the hood, the analysis engine uses a plugin architecture. Each analyzer (Core, React, Next.js, TypeScript) runs independently, publishes typed results, and registers presenters through a central registry. This means the engine is extensible without coupling. A Next.js analyzer can claim files that a React analyzer would otherwise process, and the coordination happens automatically through canHandle() checks. The result is accurate, deduplicated analysis even when frameworks overlap.
The CLI is available today. Install it with npx @vipr/cli analyze src/. The VSCode extension installs from the Marketplace or Open VSX, and the desktop app is a free download for macOS on Apple Silicon. The core analysis is free forever, and Pro upgrades are a one-time purchase. No subscriptions and no telemetry on your source.