Latest / Developer tools

mpatch

github.com · Package · Active

Context-aware patch tool with fuzzy matching for diffs

Visit github.com ↗Share

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 mpatch

Confirmed 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

  • 2 releases in the first 7 days: v0.1.0 (18 Jun 2025), v0.1.1 (18 Jun 2025)

Checked , later than day 7 because tracking began after.

Day 30 2 releases shipped

  • 2 releases in the first 30 days: v0.1.0 (18 Jun 2025), v0.1.1 (18 Jun 2025)

Checked , later than day 30 because tracking began after.

Release timeline every entry links to its source

Releases per month, last 24 months (24 in total, busiest month 9).
  1. Repository created on GitHub: romelium/mpatch
  2. Found: it was first published on crates.io. crates.io
  3. Release v0.1.0
  4. Release v1.4.4
  5. Release v1.5.0
  6. Release v1.6.4
  7. Release v1.7.0
  8. Release v1.8.0
  9. Release v1.8.1
  10. Day-7 check recorded by Kip (details)
  11. 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

SourceRecordLast checked
crates.iolisting
official API record
GitHub repositoryromelium/mpatch
REST API record
GitHub Releasesrelease list
REST API record

Stable ID crates-mpatch. Summary written by KipFound’s editor.

Share

Similar tools

More in Developer tools

Made this, or spotted a mistake? Ask for a correction or removal. No account or email address needed.