facebookincubator/fastmod
A fast partial replacement for the codemod tool. Assists with large-scale codebase refactors via regex-based find and replace with human oversight and occasional intervention. observed · 2026-08-28
Health v2 · maintenance only
65/100
- Activity 94
- Release rhythm 8
- 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: n/a
- age_days: 3061
- days_rel: n/a
- days_push: 36
- n_releases_24m: 0
Adoption not part of the score
1923 stars · 55 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
fastmod is a fast, Rust-based partial replacement for the codemod tool that assists with large-scale codebase refactors via regex-based find and replace. It emphasizes an interactive workflow where users verify their regex with colored diffs before applying replacements everywhere, with options to accept, reject, or edit each change.
Use cases
- find and replace across an entire codebase with regex
- interactively review and apply bulk code refactors
- deprecate an API or HTML tag across many files
- apply a verified regex replacement everywhere in a large repo
- rewrite patterns across files with per-match accept/reject/edit control
When to choose
- you want codemod-like interactive find-and-replace with much better performance
- you need to verify a regex interactively then apply it across a whole codebase
- you want fast parallel directory traversal for bulk edits
When to avoid
- you rely on codemod's --start, --end, or --count options
- you need codemod's Python API or programmatic integration
- your regexes require lookaround or backreferences (Rust regex syntax differs)
Facets
cli-tool · maturity active
developer-tools cli search-engine developer-tools version-control windows cli rust codemod find-and-replace refactoring regex bulk-editing command-line linux macos
2 sources
- readme: https://github.com/facebookincubator/fastmod · fetched 2026-08-28 · 737c4151f5cf
- registry_crates: https://crates.io/api/v1/crates/fastmod · fetched 2026-08-29 · ef519d4deede
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| facebookincubator/fastmod | main | 65 |
For agents
markdown · JSON · MCP: product_card(name="facebookincubator/fastmod")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem