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

TopicBuild your own…
DatabaseRedis, SQLite, LevelDB, Cassandra, etc.
DockerContainer from scratch
GitVersion control from scratch
KafkaDistributed messaging system
Network StackTCP/IP, HTTP from scratch
Operating SystemOS kernel, bootloader
ShellCommand-line shell
Web ServerHTTP server from scratch
Web BrowserBrowser engine, rendering
BitTorrent ClientP2P file sharing

Programming & Languages

TopicBuild your own…
Programming LanguageCompiler, interpreter, parser
Regex EngineRegular expression matcher
Template EngineTemplate rendering
Memory Allocatormalloc from scratch
Command-Line ToolCLI utilities

Graphics & Games

TopicBuild your own…
3D RendererRay tracer, rasterizer, OpenGL
GameChess, platformer, RPG
Physics Engine2D/3D physics simulation
Voxel EngineMinecraft-style engine
Visual RecognitionImage classifier

AI/ML

TopicBuild your own…
Neural NetworkDeep learning from scratch
AI ModelLLM from scratch, diffusion models, RAG
Search EngineFull-text search

Emulation & Hardware

TopicBuild your own…
Emulator / VMChip-8, GameBoy, NES emulator
ProcessorCPU from scratch
Augmented RealityAR with OpenCV, Unity

Notable Tutorials


By CodeCrafters.io — also offers hands-on coding challenges for building these from scratch.