Build Your Own X
Source: GitHub: codecrafters-io/build-your-own-x ⭐ 513K
What I cannot create, I do not understand — Richard Feynman
A curated compilation of step-by-step guides for recreating your favorite technologies from scratch.
Categories
Systems & Infrastructure
| Topic | Build your own… |
|---|
| Database | Redis, SQLite, LevelDB, Cassandra, etc. |
| Docker | Container from scratch |
| Git | Version control from scratch |
| Kafka | Distributed messaging system |
| Network Stack | TCP/IP, HTTP from scratch |
| Operating System | OS kernel, bootloader |
| Shell | Command-line shell |
| Web Server | HTTP server from scratch |
| Web Browser | Browser engine, rendering |
| BitTorrent Client | P2P file sharing |
Programming & Languages
| Topic | Build your own… |
|---|
| Programming Language | Compiler, interpreter, parser |
| Regex Engine | Regular expression matcher |
| Template Engine | Template rendering |
| Memory Allocator | malloc from scratch |
| Command-Line Tool | CLI utilities |
Graphics & Games
| Topic | Build your own… |
|---|
| 3D Renderer | Ray tracer, rasterizer, OpenGL |
| Game | Chess, platformer, RPG |
| Physics Engine | 2D/3D physics simulation |
| Voxel Engine | Minecraft-style engine |
| Visual Recognition | Image classifier |
AI/ML
| Topic | Build your own… |
|---|
| Neural Network | Deep learning from scratch |
| AI Model | LLM from scratch, diffusion models, RAG |
| Search Engine | Full-text search |
Emulation & Hardware
| Topic | Build your own… |
|---|
| Emulator / VM | Chip-8, GameBoy, NES emulator |
| Processor | CPU from scratch |
| Augmented Reality | AR with OpenCV, Unity |
Notable Tutorials
By CodeCrafters.io — also offers hands-on coding challenges for building these from scratch.