# bytedance/ByteX

ByteX is a bytecode plugin platform based on Android Gradle Transform API and ASM.  字节码插件开发平台

Repository: https://github.com/bytedance/ByteX
Canonical: https://ross.abutalabs.com/products/bytex
Language: Java
License: Apache-2.0
License Family: permissive
Topics: gradle, asm, bytecode, gradle-plugin
Archived: true
Last push: 2024-01-20T15:06:58+00:00

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

## Adoption (not part of the score)
Stars 3246, forks 476 (observed 2026-08-28T04:07:50.671161+00:00)

## What it is
ByteX is a bytecode plugin platform built on the Android Gradle Transform API and ASM, developed by ByteDance's TikTok/Douyin Android team. It lets developers write independent bytecode plugins that are automatically merged into a single efficient Transform during APK builds.

## Use cases
- instrument android bytecode during gradle builds
- write custom gradle transform plugins with asm
- speed up apk builds by merging multiple transforms into one
- add method tracing or logging to android classes at build time
- develop reusable bytecode plugins without coupling code

## When to choose
- you need to manipulate android app bytecode at build time
- you have multiple gradle transform plugins and want to reduce build time
- you want a decoupled, extensible platform for asm-based plugins

## When to avoid
- you need a general-purpose jvm bytecode tool outside android gradle builds
- your project does not use the android gradle plugin transform api
- you need actively developed features with frequent releases

## Facets
- artifact type: framework
- maturity: maintenance
- function: build-tool, developer-tools, compiler
- domain: developer-tools, android-tools
- platform: jvm
- tags: gradle-plugin, asm, bytecode-manipulation, android-build, transform-api, apk-optimization, automation, android, gradle

## Member repositories
- bytedance/ByteX (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:50.671161+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-29T18:43:54.719862+00:00, confidence not recorded.
  - readme: https://github.com/bytedance/ByteX (fetched 2026-08-28T04:07:50.671161+00:00, sha e16d6ee32733)
- Data as of 2026-08-30T08:39:29.467469+00:00.
