pardeike/Harmony
A library for patching, replacing and decorating .NET and Mono methods during runtime observed · 2026-08-28
Health v2 · maintenance only
79/100
- Activity 97
- Release rhythm 44
- 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: 68
- age_days: 3528
- days_rel: 294
- days_push: 18
- n_releases_24m: 6
Adoption not part of the score
6627 stars · 572 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Harmony is a C# library for patching, replacing, and decorating .NET and Mono methods at runtime without modifying files on disk. It is widely used for game modding in titles like RimWorld, Rust, and Stardew Valley, as well as in unit testing.
Use cases
- patch .NET methods at runtime from a plugin
- create mods for Unity games like RimWorld or Stardew Valley
- wrap original methods with prefix and postfix hooks
- replace method bodies with IL code processors
- apply multiple non-conflicting patches to the same method
- intercept and modify behavior of a host application's assemblies
When to choose
- you are writing a mod or plugin loaded into a .NET/Mono host application
- you need non-destructive runtime patches that keep the original method intact
- multiple independent patches must coexist on the same methods
- you target Unity or other Mono-based games
When to avoid
- you need to patch ahead-of-time or modify files on disk
- you are not working in a .NET or Mono environment
- you need Harmony 1.x compatibility, which is deprecated and incompatible with 2.x
Facets
library · maturity stable
middleware developer-tools plugin-system developer-tools gaming-tools programming-languages dotnet cross-platform windows runtime-patching method-detour monkey-patching unity-modding il-rewriting csharp mono game-mods linux macos
3 sources
- readme: https://github.com/pardeike/Harmony · fetched 2026-08-28 · 5c12ab901b48
- homepage: https://www.patreon.com/pardeike · fetched 2026-08-29 · c3796f5fba7f
- site_page: https://www.patreon.com/pardeike/about · fetched 2026-08-29 · 49787c9b5133
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| pardeike/Harmony | main | 79 |
For agents
markdown · JSON · MCP: product_card(name="pardeike/Harmony")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem