Claude Code rewritten as a bash script
Get picks like this daily. Today's launch numbers, the top launches, AI and tech news, and a daily opportunity pick, straight to your inbox.
Want to reach these readers? Sponsor an issue.
Have you ever wondered if Claude Code could be rewritten as a bash script? Me neither, yet here we are. Just for kicks I decided to try and strip down the source, removing all the packages.
HN · launched Mar 31, 2026 · 62 upvotes (top 14%) · 0 views
Niche: ai coding agents · 473 launches, 25 in the last 7 days ▼ -40% · Explore this niche →
Category and tags
- Horizontal
- Agent / copilot
- Developer
- AI-native
- Hobby / open-source project
Visit website ↗ Source listing ↗
More like this: all 473 launches in ai coding agents →
Could you build this?
Yes Re-implementing a simplified CLI coding assistant in Bash using curl, jq, and Anthropic API tool-use calls is completely achievable via vibe coding.
Discussion
19 comments analyzed.
Competitors mentioned: Claw-code, Original Claude code
Concerns raised: Built by studying leaked source code, not truly clean-room rewrite, Significant bloat and feature creep in codebase, Heavy interface design with unnecessary complexity, Only basic --resume option with minimal implementation, Unclear how much was AI-generated vs. human-written
Feature requests: Websearch and webfetch tools, Rust rewrite for performance, Simplified TUI without React overhead
Competitors
Other products that read as similar to this one : 840 launches clear the similarity bar, closest 8 shown.
Attention rank: #153 of 841 (itself plus its competitors, highest first, normalized so YC and Product Hunt are compared fairly).
Launched 152 days after the earliest competitor.
- Claude Code's Source Code Got Leaked, Let's Talk About It · hn · 2026-03-31 · 5 upvotes · similarity 0.56
- Claude-File-Recovery, recover files from your ~/.claude sessions · hn · 2026-02-27 · 99 upvotes · similarity 0.56
- lmux · ph · 2026-11-11 · 1 upvotes · similarity 0.55
- Executable Markdown files with Unix pipes · hn · 2026-01-09 · 126 upvotes · similarity 0.54
- claude-code-github-examples · github · 2026-09-21 · 10 upvotes · similarity 0.52
- Claudebin · hn · 2026-02-19 · 30 upvotes · similarity 0.51
- I built a tool to un-dumb Claude Code's CLI output (Local Log Viewer) · hn · 2026-02-13 · 69 upvotes · similarity 0.50
- claude-code-hub-go · github · 2026-09-14 · 6 upvotes · similarity 0.50
The niche, labels, vibe code rating and competitor comparison on this page are analysis by Nicheloom. If you use them, please credit nicheloom.com. How you may use our data.