Build Your Own X GitHub Repo: 382 Tutorials, 10 to Start With
Build your own x is codecrafters-io's GitHub list of 382 from-scratch tutorials (563k stars). How it is organised, and which 10 to start with by goal.
Build your own x is codecrafters-io/build-your-own-x, a single GitHub README that links to step-by-step guides for rebuilding real software from scratch: databases, Git, shells, interpreters, React, Docker, operating systems and more. As of 2026-11-19 it lists 382 tutorials in 30 categories plus an “Uncategorized” section, has 563,708 stars (the most-starred repository on GitHub) and is released under CC0. Each entry is only a language tag, a title and a link to someone else’s blog post, book or video. Nothing is graded for difficulty, so the hard part is choosing. The table below picks one tutorial per common goal.
10 build-your-own-x tutorials to start with, by goal
| If you want to understand… | Start with | Language | Size (from the tutorial itself) | What you end up with |
|---|---|---|---|---|
| How a database stores rows | Let’s Build a Simple Database (cstack) | C | 15 parts | A SQLite clone with a REPL, persistence to disk and a B-tree |
| How Git works | Write yourself a Git! (Thibault Polge) | Python | 983 lines of Python, per the author | init, cat-file, log, checkout, status, add and commit on the real .git format |
| How programming languages run | Crafting Interpreters (Robert Nystrom) | Java, then C | 30 chapters | The Lox language twice: a tree-walk interpreter in Java, then a bytecode VM in C with closures and garbage collection |
| Terminal programs and editors | Build Your Own Text Editor (snaptoken, based on antirez’s kilo) | C | 184 steps, about 1,000 lines | A terminal text editor with search and syntax highlighting |
| Processes and Unix shells | Tutorial - Write a Shell in C (Stephen Brennan) | C | One blog post | lsh: a read-parse-execute loop built on fork, execvp and waitpid, with built-ins such as cd |
| What a container really is | Linux containers in 500 lines of code (Lizzie Dixon) | C | About 570 lines; the author says it grew by roughly 70 since publishing | A small container runtime: namespaces, capabilities, mounts, a syscall allow/deny list and resource limits |
| Network protocols | Building a BitTorrent client from the ground up in Go (Jesse Li) | Go | One long post | A client that finds peers and downloads a Debian ISO |
| Front-end frameworks | Build your own React (Rodrigo Pombo) | JavaScript | 8 steps | Didact: createElement, render, fibers, reconciliation, function components and hooks |
| Neural networks and LLMs | Neural Networks: Zero to Hero (Andrej Karpathy) | Python | 8 video lectures | micrograd (backpropagation), makemore (character-level models), then a GPT and its tokenizer |
| Web servers | Let’s Build A Web Server (Ruslan Spivak) | Python | 3 parts | An HTTP server that runs WSGI apps, then serves several clients at once with fork() |
How these ten were chosen: each is listed in the README, its link resolved on 2026-11-19, it ends in a working program rather than a single concept, and it rebuilds a tool most developers use. The size column comes from each tutorial’s own table of contents or introduction, not from timing a run-through, so it says nothing about how many evenings a project takes you. If you can only do one, take the row closest to code you touch every week.
How the repo is organised
- One file. Everything lives in
README.md: 30 “Build your ownX” sections in alphabetical order, then “Uncategorized” with 64 entries. - One line per tutorial. Each line reads Language: Title, linked to an external page. 36 entries are marked
[video], and 7 point to web.archive.org copies because the original page is gone. - Uneven depth. Programming Language has 44 entries and Game has 35; Distributed Systems, Processor and Voxel Engine have one each.
- Language tags. Python appears on 76 entries, JavaScript on 57 (plus 15 tagged Node.js), C on 53, C++ on 35, Go on 24 and Rust on 20.
- No metadata. There are no difficulty levels, time estimates or publication dates.
| Section | Tutorials | Languages listed (most common first) |
|---|---|---|
| 3D Renderer | 12 | C++, JavaScript, Java, C#, TypeScript + 2 more |
| AI Model | 6 | Python |
| Augmented Reality | 6 | C#, Python |
| BitTorrent Client | 5 | C#, Go, Nim, Node.js, Python |
| Blockchain / Cryptocurrency | 21 | JavaScript, Python, Go, TypeScript, ATS + 6 more |
| Bot | 14 | Python, Node.js, Haskell, R, Rust |
| Command-Line Tool | 9 | Go, Rust, Nim, Node.js, Zig |
| Database | 16 | Go, Rust, Python, C, C++ + 6 more |
| Distributed Systems | 1 | Java |
| Docker | 6 | Go, Python, C, Shell |
| Emulator / Virtual Machine | 13 | C++, C, Common Lisp, JavaScript, Python + 1 more |
| Front-end Framework / Library | 16 | JavaScript, TypeScript |
| Game | 35 | C, C++, JavaScript, C#, Java + 5 more |
| Git | 8 | Python, JavaScript, Haskell, PHP, Ruby |
| Memory Allocator | 2 | C |
| Network Stack | 4 | C, Python, Ruby |
| Neural Network | 20 | Python, Go, F#, JavaScript, C# + 3 more |
| Operating System | 20 | C, Assembly, C++, Rust, any |
| Physics Engine | 8 | C++, JavaScript, C, C# |
| Processor | 1 | Verilog |
| Programming Language | 44 | C, Python, JavaScript, Haskell, C++ + 14 more |
| Regex Engine | 9 | JavaScript, C, Go, Perl, Python + 1 more |
| Search Engine | 7 | Python, CSS, Java |
| Shell | 8 | C, C++, Go, Rust |
| Template Engine | 5 | JavaScript, Python, Ruby |
| Text Editor | 6 | Python, C, C++, Ruby, Rust |
| Visual Recognition System | 2 | Python |
| Voxel Engine | 1 | C++ |
| Web Browser | 2 | Rust, Python |
| Web Server | 11 | Python, Node.js, C#, PHP, Ruby |
| Uncategorized | 64 | Python, JavaScript, Nim, C, C++ + 13 more |
Counts are from the README as of 2026-11-19. Entries tagged with two languages (for example “C / Python”) are counted under both.
Picks if you want to stay in one language
The concepts matter more than the language, so start in one you already read comfortably. All of these are README entries.
- Python: Write yourself a Git!, Let’s Build A Web Server, Browser Engineering (Pavel Panchekha and Chris Harrelson), LLMs-from-scratch (Sebastian Raschka; “a ChatGPT-like LLM in PyTorch”) and Let’s Build A Simple Interpreter.
- Go: Jesse Li’s BitTorrent client, Build Your Own Database from Scratch (James Smith; Part I is free on the web, while Part II, with tables, transactions and SQL, is only in the paid book) and Liz Rice’s Containers From Scratch talk from GOTO 2018.
- Rust: Writing an OS in Rust (Philipp Oppermann), Hecto (a text editor), Mini-LSM (a database storage engine) and Build Your Own Shell using Rust.
- JavaScript / TypeScript: Build your own React, Gitlet (Git), chibivue (Vue, step by step, in TypeScript) and Build Your Own Web Server From Scratch In JavaScript (Node.js; Part II is in the paid book).
- C: the database, editor, shell and container rows above, plus Operating System in 1,000 Lines (a RISC-V kernel in 16 chapters plus intro and outro) and Russ Cox’s Regular Expression Matching Can Be Simple And Fast.
How to use it without stalling

- Choose by goal, then by language. Crafting Interpreters is the exception where switching languages (Java, then C) is part of the design.
- Check the tutorial before you commit. cstack’s database tutorial says it is no longer under active development, and build-your-own.org puts the second half of its database and web server books behind a purchase. The README will not tell you either.
- Finish one before opening a second. A link list this long makes it easy to start four projects and finish none.
- Type the code yourself. If you use an AI assistant, ask it to explain an unfamiliar syscall or error, not to write the part you are trying to learn.
build-your-own-x vs CodeCrafters
The README says the list was started by Daniel Stefanovic and is now maintained by CodeCrafters, Inc. CodeCrafters sells guided “build your own” challenges (Redis, Git, SQLite, a shell, an HTTP server, Kafka and others) where you git push your code and automated tests check each stage. It has a free tier with limited content and a paid membership.
The trade-off: the README is free and covers far more topics, but it gives no tests and no fixed path. CodeCrafters covers fewer projects with a structured path and automated feedback. cstack’s database tutorial itself points readers to CodeCrafters for continuing beyond its 15 parts.
FAQ
What is build-your-own-x?
Which build-your-own-x project should I start with?
Is build-your-own-x free?
Who maintains build-your-own-x?
Are the tutorials up to date?
Related tools
Some links above are affiliate links. We may earn a commission if you sign up. See our disclosure for details.
Related reading
2026-11-18
Local LLMs on a 16GB M4 Mac: What Fits and What Breaks
A 16GB M4 Mac lets the GPU use about 11.45 GB (macOS 15) or 12.7 GB (macOS 26+). Which 4B-14B models fit at 4-bit, and why 20B+ breaks.
2026-11-18
How Much Mac Memory a 30B or 70B Local Model Needs
Weights plus KV cache must fit the GPU share of unified memory. What 32GB, 48GB, 64GB and 128GB Macs run at 30B and 70B, with the context math.
2026-11-18
Picking an MoE Model for a 24GB Mac with MLX
Total parameters decide whether an MoE model fits in 24GB; active parameters decide speed. File sizes for gpt-oss, Gemma 4, LFM2.5, Qwen and Nemotron.
2026-10-15
What Muse Spark Open's 816B size means for developers
Meta's new open-weight coding model runs like a 42B model but needs the memory of an 816B one. Here's what that means for running it.
2026-10-14
What Anthropic's Scion means for Git and AI coding
Anthropic swapped Git for a custom system called Scion after merges jumped to 30,000 a day. Here is the background and what it means for your workflow.
Get the best tools, weekly
One email every Friday. No spam, unsubscribe anytime.