Windy3f3f3f3f / claude-code-from-scratch
PublicBuild your own coding agent from scratch in ~1300 lines of TypeScript. / 从零构建你自己的 Claude Code,~1300 行代码,分步教程
A step-by-step tutorial and minimal TypeScript implementation recreating the core capabilities of Claude Code, a coding agent with tools for file operations, shell execution, and interactive CLI sessions.
How It Works
You find this project on GitHub, a simple guide to create your own smart coding assistant that helps with files and tasks.
You download the files and follow easy steps to prepare it on your machine so everything is ready to go.
You link it to an AI service, like giving it a thinking partner to understand and act on your requests.
You start the interactive chat window where you can talk to your assistant right away.
You describe what you need, like 'fix this bug' or 'add a feature', and watch it read files, make changes, and even run checks.
It automatically saves your conversation so you can pause, come back later, and pick up right where you left off.
Your project is now better—bugs fixed, features added—and you feel empowered with your personal coding sidekick.
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.