eleme/lancet
A lightweight and fast AOP framework for Android App and SDK developers observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3422
- days_rel: n/a
- days_push: 1103
- n_releases_24m: 0
Adoption not part of the score
2209 stars · 342 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Lancet is a lightweight, fast AOP (aspect-oriented programming) framework for Android apps and SDKs, implemented as a Gradle plugin that weaves bytecode at compile time. It uses annotations like @TargetClass and @Proxy to intercept method calls with no runtime overhead or runtime jar.
Use cases
- intercept all calls to android.util.Log across an Android app
- apply aspect-oriented code weaving to an Android project at build time
- hook third-party SDK method calls without modifying their source
- instrument Android SDK code with compile-time bytecode transformation
- add cross-cutting behavior like logging or analytics to existing Android methods
- support incremental compilation while weaving bytecode in an Android build
When to choose
- you need compile-time AOP on Android with zero runtime dependency
- you are an SDK developer who wants to hook app or system code non-invasively
- you need fast, incremental bytecode weaving in a Gradle-based Android build
When to avoid
- you need runtime dynamic AOP or proxying rather than build-time weaving
- your project is not Android/Gradle based
- you need a project with an explicit license or active recent maintenance
Facets
framework · maturity maintenance
middleware developer-tools build-tool mobile-development developer-tools android-tools jvm aop bytecode-manipulation android-plugin gradle-plugin aspect-oriented-programming code-weaving android gradle
1 source
- readme: https://github.com/eleme/lancet · fetched 2026-08-28 · 6d0bc0c227d7
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| eleme/lancet | main | 32 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem