Claude Code rewritten as a bash script. ~1500 lines, zero npm packages. Just curl + jq.
claude.sh is a lightweight bash script that creates a terminal-based coding assistant powered by Claude AI, offering real-time chat, file tools, shell execution, git integration, and session persistence with minimal dependencies.
How It Works
You find this handy coding helper script on a sharing site while looking for simple ways to get AI assistance in your terminal.
You download the script to your computer and make it ready to run with a quick permission tweak.
You link it to a smart AI service by sharing a private access code, so it can understand and respond like a coding expert.
You start the script and see a welcoming screen with fun animations, ready for your first question about your code.
You type questions or paste code snippets, and watch answers appear word-by-word in real time, feeling like a conversation with a pro coder.
The AI offers to read files, run safe commands, or suggest edits— you approve each one, keeping everything under your control.
Use simple commands to save your chat session or pick up later, tracking costs and switching ideas effortlessly.
Your coding sessions become super productive with ongoing AI guidance, git help, and zero hassle setup.
Star Growth
Repurpose is a Pro feature
Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.
Unlock RepurposeSimilar repos coming soon.