1
0
mirror of https://git.freebsd.org/ports.git synced 2026-06-02 11:08:52 +00:00
Files

14 lines
587 B
Plaintext

bun-decompile extracts and de-minifies source code from Bun-compiled
executables using AI. Originally developed to inspect the Claude Code CLI,
which ships as a Bun-compiled binary.
Features:
- Binary extraction: parse Bun's embedded module graph to extract all bundled
sources
- Sourcemap recovery: automatically recover original TypeScript/JSX sources
from embedded sourcemaps
- AI de-minification: use OpenAI or Anthropic to rename minified identifiers
back to meaningful names
- Functional equivalence: Babel-based renaming guarantees the de-minified
code works identically