# YPLiang19/Mango

MangoFix is a DSL which syntax is very similar to Objective-C，MangoFix is also an iOS  App hotfix SDK. You can use MangoFix method replace any Objective-C or Swift method.

Repository: https://github.com/YPLiang19/Mango
Canonical: https://ross.abutalabs.com/products/ypliang19-mango
Language: Objective-C
License: GPL-3.0
License Family: copyleft
Topics: hotfix, mangofix, jspatch, ios, swift-hotfix
Last push: 2025-06-19T11:04:08+00:00

## Health v2 (maintenance only)
Score: 35/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 27, release rhythm 8, longevity 100
- inputs: {"age_days": 3107, "days_push": 440, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1194, forks 219 (observed 2026-08-28T04:03:56.760980+00:00)

## What it is
MangoFix is an iOS hotfix SDK built around a DSL whose syntax closely resembles Objective-C, allowing developers to replace any Objective-C or Swift method at runtime via downloaded or bundled scripts. It includes a lexer/parser/interpreter for the Mango language and supports AES-encrypted script execution.

## Use cases
- hotfix a crashing iOS app without an App Store release
- patch Objective-C methods at runtime
- replace Swift methods in a shipped iOS app
- run encrypted patch scripts downloaded from a server
- fix production bugs in iOS apps instantly

## When to choose
- you need to patch both Objective-C and Swift code in production iOS apps
- you want a JSPatch alternative with Objective-C-like syntax
- you need encrypted hotfix scripts for security

## When to avoid
- you target the App Store and cannot accept GPL-3.0 licensing implications
- you need a cross-platform hotfix solution beyond iOS
- your app review strategy forbids runtime code patching

## Facets
- artifact type: library
- maturity: active
- function: interpreter, parser, sdk, developer-tools
- domain: mobile-development, programming-languages, developer-tools
- platform: cpp
- tags: hotfix, dsl, objective-c, runtime-patching, jspatch-alternative, swift-hotfix, ios, mobile, swift

## Member repositories
- YPLiang19/Mango (main) score 35

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:56.760980+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:22:09.063959+00:00, confidence not recorded.
  - readme: https://github.com/YPLiang19/Mango (fetched 2026-08-28T04:03:56.760980+00:00, sha 0826b5b900b5)
- Data as of 2026-08-30T08:39:29.467469+00:00.
