Show HN: Claude Code rewritten as a bash script
1–10 of 24 posts
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.
Re: Show HN: Claude Code rewritten as a bash script
#2ok this is actually impressive, really.
idk why no one commented yet
Re: Show HN: Claude Code rewritten as a bash script
#3I'd say websearch and webfetch tools are very important but missing here. Great direction though, I also wonder about how much bloat could be eliminated...
Re: Show HN: Claude Code rewritten as a bash script
#4I am now waiting for, Claude Code rewritten in assembly project :)
(Maybe it can be a good project for anyone who works low-level)
Re: Show HN: Claude Code rewritten as a bash script
#5How much of this was written using / by Claude? Not hating or snarking, BTW, just curious.
Why (especially if the answer above is 'yes' / 'most') do we collectively think Anthropic built such a heavy interface?
Re: Show HN: Claude Code rewritten as a bash script
#6I am now waiting for, Claude Code rewritten in assembly project :) (Maybe it can be a good project for anyone who works low-level)
we’re going to have a bunch of CC rewritten in
Re: Show HN: Claude Code rewritten as a bash script
#7I'd say websearch and webfetch tools are very important but missing here. Great direction though, I also wonder about how much bloat could be eliminated...
agree, I was more focused on bloat than pure utility
Re: Show HN: Claude Code rewritten as a bash script
#8How much of this was written using / by Claude? Not hating or snarking, BTW, just curious. Why (especially if the answer above is 'yes' / 'most') do we collectively think Anthropic built such a heavy interface?
all of it, and I think the answer is
1. feature creep
2. a lot of nice-to-haves. the TUI alone is responsible for a lot of bloat
Re: Show HN: Claude Code rewritten as a bash script
#9That sure is a lot of lines to avoid using getopts...