mpatch
github.com · Package · Active
Context-aware patch tool with fuzzy matching for diffs
- Developer tools
- Package
- Rust
- Day-7 check
- Day-30 check
- diff
- patch
- fuzzy matching
- ai
- automation
- cli
- cli app
- code generation
- command line tool
- context aware
- Stars
- 24
- Forks
- 3
- Open issues
- 0
- Last commit
- Releases
- 24
- Found
- 17 months ago
GitHub figures as of . They are context, not a ranking.
mpatch applies diffs by finding where each change belongs from its surrounding context, rather than trusting line numbers. It is aimed at applying AI-generated patches to code that has drifted, and is available as a Rust crate, a command-line tool and a Python package.
Repository description on GitHub: “Applies diffs by context, not line numbers. Paste a diff from ChatGPT, Claude or Gemini and mpatch finds where each hunk belongs, even when git apply and patch reject it. If it can't be sure, it says what's needed. CLI, Rust, Python.”
What it does
- Applies diffs using fuzzy context matching
- Does not rely on line numbers to place hunks
- Available as a Rust crate and a Python package
- Command-line interface
Good for
- Apply LLM-generated patches to code that has shifted
- Use the patch engine from Rust or Python code
Suits: Developers automating code patches from AI tools.
What you can try
Install the crates.io package with cargo, or use the Python package from PyPI.
Install
cargo install mpatchConfirmed against the package registry. Read the project’s own instructions before running anything.
Links go to third-party sites KipFound does not control. KipFound has not installed, audited or tested this software.
Found vs. released
Kip first saw mpatch on , when it was first published on crates.io. The oldest published release on GitHub is v0.1.0, dated . Its first tagged release landed the same day it was found. 24 releases have been published in total; the latest is v1.8.1 ().
Day-7 and day-30 updates
Day 7 2 releases shipped
Checked , later than day 7 because tracking began after.
Release timeline every entry links to its source
- Repository created on GitHub: romelium/mpatch
- Found: it was first published on crates.io. crates.io
- Release v0.1.0
- Release v1.4.4
- Release v1.5.0
- Release v1.6.4
- Release v1.7.0
- Release v1.8.0
- Release v1.8.1
- Day-7 check recorded by Kip (details)
- Day-30 check recorded by Kip (details)
Showing the first and the 6 latest of 24 releases. All releases on GitHub
Quick answers
- When was mpatch released?
- Its first tagged release on GitHub is dated 18 Jun 2025. Kip found it on crates.io on 18 Jun 2025.
- Is mpatch open source?
- Its source is public on GitHub at romelium/mpatch under the MIT licence.
- What does mpatch run on?
- Command line, Library.
- Is mpatch free?
- It is open source, so the code is free to read and run; check the licence for terms.
- Is mpatch still maintained?
- Yes. It had a commit or release in the last 90 days as of the latest check.
Provenance
| Source | Record | Last checked |
|---|---|---|
| crates.io | listing official API record | |
| GitHub repository | romelium/mpatch REST API record | |
| GitHub Releases | release list REST API record |
Stable ID crates-mpatch. Summary written by KipFound’s editor.
Share
Similar tools
Made this, or spotted a mistake? Ask for a correction or removal. No account or email address needed.