# Leaking/Hunter

A fast, incremental, concurrent framework to develop compile plugin for android project to manipulate bytecode

Repository: https://github.com/Leaking/Hunter
Canonical: https://ross.abutalabs.com/products/leaking-hunter
Language: Java
License Family: other
Topics: gradle, android, hugo, asm, gradle-plugin, okhttp, bytecode-manipulation
Last push: 2026-04-26T06:10:18+00:00

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

## Adoption (not part of the score)
Stars 1417, forks 187 (observed 2026-08-28T04:04:40.094938+00:00)

## What it is
Hunter is a framework for developing Android Gradle plugins that manipulate bytecode using ASM and the modern AGP Instrumentation API. It ships with ready-made plugins (e.g., OkHttp hacking, method timing) and supports incremental, concurrent builds.

## Use cases
- develop a custom android gradle plugin to transform bytecode
- inject a global interceptor into all OkHttpClients including third-party libraries
- time ui-thread methods and dump slow method traces
- monitor or enhance third-party dependencies at build time
- instrument android framework classes without slowing builds

## When to choose
- you need bytecode weaving in an Android build with AGP 7.4-8.7+
- you want incremental, parallel instrumentation with minimal build-time overhead
- you need to patch behavior of libraries you don't control, like OkHttp

## When to avoid
- your project still uses AGP 4.x with the legacy Transform API (use Hunter 1.2.x)
- you need non-Android JVM bytecode tooling
- you want a no-code runtime-only solution rather than build-time transformation

## Facets
- artifact type: framework
- maturity: active
- function: build-tool, developer-tools, monitoring, logging
- domain: mobile-development, developer-tools, android-tools
- platform: jvm
- tags: gradle-plugin, bytecode-manipulation, asm, android-gradle-plugin, instrumentation, aop, android, gradle

## Member repositories
- Leaking/Hunter (main) score 68

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:40.094938+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-30T04:37:59.560141+00:00, confidence not recorded.
  - readme: https://github.com/Leaking/Hunter (fetched 2026-08-28T04:04:40.094938+00:00, sha 4a752f1b7300)
- Data as of 2026-08-30T08:39:29.467469+00:00.
