Settings

Theme

Show HN: Decompile and deminify Bun using an LLM

npmjs.com

1 points by shepherdjerred 15 days ago · 0 comments · 1 min read

Reader

I'm working on a tool that wraps Claude Code. In the process, I wanted to know some implementation details of the Claude Code CLI.

Claude Code is just a Bun CLI app, so I figured it could be decompiled.

This program will:

1. Decompile a Bun app

2. For each minified method, it will call an LLM (OpenAI, Anthropic, etc.) with the method and some context

3. The LLM will reply with suggested names for methods/variables/etc

4. Babel will apply those renames in a deterministic manner, so that functionality cannot be broken

No comments yet.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection