openrewrite/rewrite
Automated mass refactoring of source code. observed · 2026-08-28
Health v2 · maintenance only
95/100
- Activity 99
- Release rhythm 87
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 1.0
- age_days: 2304
- days_rel: 7
- days_push: 7
- n_releases_24m: 239
Adoption not part of the score
3673 stars · 563 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
OpenRewrite is an open-source automated refactoring ecosystem that parses source code into Lossless Semantic Trees and applies prepackaged recipes to make minimally invasive changes. It supports multiple languages (Java, Kotlin, Groovy, JavaScript/TypeScript, Python, C#) and integrates via Maven and Gradle plugins.
Use cases
- migrate a Java project to a new framework version
- automatically fix security vulnerabilities across a codebase
- enforce stylistic consistency like static imports
- eliminate technical debt with mass code changes
- write custom refactoring recipes for my team's conventions
- search and transform code via an abstract syntax tree
When to choose
- you need large-scale, repeatable code migrations or security patches
- you want changes that preserve original formatting
- your project is JVM-based (Maven/Gradle) or uses a supported language
When to avoid
- you need a one-off manual edit better done in an IDE
- your language or framework has no available recipes
- you need real-time in-editor refactoring rather than batch transformations
Facets
library · maturity active
parser developer-tools build-tool search-engine developer-tools version-control programming-languages jvm cli cross-platform refactoring ast lossless-semantic-trees code-migration recipes static-analysis technical-debt framework-migrations security-fixes automation
4 sources
- readme: https://github.com/openrewrite/rewrite · fetched 2026-08-28 · e61aa746d552
- homepage: https://docs.openrewrite.org · fetched 2026-08-29 · 7a9d5f80c11c
- site_page: https://docs.openrewrite.org/running-recipes/getting-started · fetched 2026-08-29 · 3c5edcc18e8f
- site_page: https://docs.openrewrite.org/changelog · fetched 2026-08-29 · 9f5a5d95ce0d
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| openrewrite/rewrite | main | 95 |
For agents
markdown · JSON · MCP: product_card(name="openrewrite/rewrite")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem