qmetrics.net

Open-Source Code Analysis & Transformation Software

145 open-source projects in Code Analysis & Transformation, compared by GitHub stars, license and self-hosting.

Sort:Most starsRecentA–Z

ILSpy

Cross-platform .NET assembly browser and decompiler

ILSpy browses and decompiles .NET assemblies to C# on Windows, Linux, and macOS. It also ships PowerShell cmdlets and a cross-platform CLI.

★ 27.2k⟳ 3 days agoMIT

Biome

Unified web code formatter, linter and check toolchain

Biome formats and lints JavaScript, TypeScript, JSX, CSS, JSON, HTML, Markdown, YAML, and related web languages from the CLI or editor LSP.

★ 26.2k⟳ todayApache-2.0

highlight.js

JavaScript syntax highlighter with automatic language detection

Highlight.js colors code in the browser or on Node.js servers. It supports many languages, optional themes, and runs without framework dependencies.

★ 25k⟳ 17 days agoBSD-3-Clause

Oxc

Rust-based JavaScript and TypeScript compiler toolkit

Oxc bundles a parser, linter, formatter, transformer, resolver, and minifier for JavaScript and TypeScript. Oxlint and Oxfmt run via npx for everyday lint and format tasks.

★ 23.6k⟳ todayMIT

Slim

Container inspection, minification and security profiling CLI

SlimToolkit is a command-line toolkit for inspecting, shrinking and hardening container images without rewriting your Dockerfile. It analyzes what your application actually needs and strips unused layers and files.

★ 23.6k⟳ 2 months agoApache-2.0

SVGO

Node.js SVG optimizer library and command-line tool

SVGO shrinks SVG files by stripping editor metadata, comments, hidden elements, and other data that does not affect rendering. It runs as an npm package API or a CLI.

★ 22.8k⟳ 20 days agoMIT

Flow

Static type checker and typed dialect for JavaScript

Flow adds static typing to JavaScript with a checker binary and optional parser package. Binary builds are available for macOS arm64, Linux x64 and arm64, and Windows x64.

★ 22.3k⟳ todayMIT

Autoprefixer

PostCSS plugin adding CSS vendor prefixes from Can I Use

Autoprefixer parses stylesheets and inserts vendor prefixes for rules based on Browserslist targets and current Can I Use support data.

★ 22.2k⟳ 5 days agoMIT

React Scan

React render performance highlighting for web apps

Detects React performance problems in running apps and highlights components worth optimizing, with no application code changes required.

★ 21.9k⟳ 3 months agoMIT

Roslyn

Open-source C# and Visual Basic compiler platform APIs

Roslyn implements the .NET C# and Visual Basic compilers and exposes APIs for analyzing, refactoring, and generating .NET code in tools and applications.

★ 20.8k⟳ todayMIT

Mypy

Optional static type checker for Python

Mypy checks Python programs against PEP 484 type hints before you run them. It supports gradual typing so you can add annotations over time.

★ 20.7k⟳ todayMIT · open core

SwiftLint

Swift style and convention enforcement tool

SwiftLint checks Swift source against community style rules. Most rules use SwiftSyntax; some use Clang and SourceKit for type-aware linting.

★ 19.8k⟳ 3 days agoMIT

Golangci-lint

Parallel Go linter runner with bundled checks

Golangci-lint orchestrates many Go static analyzers in one run with shared caching. It reads YAML settings and fits local editors as well as CI pipelines.

★ 19.6k⟳ 3 days agoGPL-3.0

Compiler Explorer

Interactive web compiler for assembly and IR inspection

Compiler Explorer lets you edit source in dozens of languages and see live compiler output, including assembly and intermediate representations. Multiple compiler versions and analysis panes run side by side in the browser.

★ 19.2k⟳ yesterdayBSD-2-Clause

GitDiagram

GitHub repository architecture diagrams and short explainer videos

GitDiagram turns a GitHub repository URL into an interactive architecture map with AI narration. You can also request about one-minute explainer videos with downloadable captions.

★ 19.1k⟳ 4 days agoMIT

ANTLR

Parser generator for structured text and binary formats

ANTLR generates parsers and tree walkers from grammars so you can read, process, execute, or translate structured text or binary data.

★ 19.1k⟳ 29 days agoBSD-3-Clause

sqlc

Command-line SQL compiler for type-safe application code

sqlc turns SQL queries into typed code for your language. You write SQL, run the tool, then call generated interfaces from application code.

★ 18.5k⟳ 1 month agoMIT

AssemblyScript

TypeScript-like language compiling to WebAssembly modules

AssemblyScript compiles a typed JavaScript variant to WebAssembly through Binaryen. It targets WASM specifically and installs via npm.

★ 18k⟳ 4 months agoApache-2.0

Semgrep

Pattern-based static analysis for many languages

Semgrep scans source code with rules that resemble real code to find bugs and enforce standards. It runs locally in the CLI, IDE hooks, pre-commit, or CI.

★ 18k⟳ 7 days agoLGPL-2.1

Harper

Private on-device English grammar and spell checker

Harper checks English grammar and spelling locally on your device, without sending your writing to remote servers.

★ 18k⟳ yesterdayApache-2.0
Open Source Alternative to:Grammarly

PHP Parser

PHP library for parsing and manipulating PHP ASTs

A PHP package that parses PHP source into an abstract syntax tree for analysis and code transformation. It targets static analysis and programmatic rewriting workflows.

★ 17.5k⟳ yesterdayBSD-3-Clause

rust-analyzer

Rust language server for editor tooling

A language server that adds IDE-style features when you write Rust. It works with any editor that speaks the Language Server Protocol.

★ 17k⟳ yesterdayApache-2.0

Codon

Ahead-of-time Python compiler to native code

Codon compiles Python to native machine code with large speedups over CPython on a single thread. It supports multithreading without a GIL, GPU kernels, and a compiled NumPy implementation.

★ 16.9k⟳ 4 days agoApache-2.0

ast-grep

Structural code search, lint, and rewrite CLI

ast-grep (sg) is a command-line tool for structural search, linting, and rewriting across many programming languages. It matches abstract syntax tree patterns instead of plain text.

★ 16.7k⟳ yesterdayMIT

Related categories