pickuma.
AI & Dev Tools

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.

Updated 2026-11-19 7 min read
Diagram: Side-by-side comparison: tutorial hell means watching courses and copying apps without understanding them, while the article's tips are to rebuild one tool from scratch, finish it, type every line, and use AI only to explain unfamiliar syscalls.

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 withLanguageSize (from the tutorial itself)What you end up with
How a database stores rowsLet’s Build a Simple Database (cstack)C15 partsA SQLite clone with a REPL, persistence to disk and a B-tree
How Git worksWrite yourself a Git! (Thibault Polge)Python983 lines of Python, per the authorinit, cat-file, log, checkout, status, add and commit on the real .git format
How programming languages runCrafting Interpreters (Robert Nystrom)Java, then C30 chaptersThe Lox language twice: a tree-walk interpreter in Java, then a bytecode VM in C with closures and garbage collection
Terminal programs and editorsBuild Your Own Text Editor (snaptoken, based on antirez’s kilo)C184 steps, about 1,000 linesA terminal text editor with search and syntax highlighting
Processes and Unix shellsTutorial - Write a Shell in C (Stephen Brennan)COne blog postlsh: a read-parse-execute loop built on fork, execvp and waitpid, with built-ins such as cd
What a container really isLinux containers in 500 lines of code (Lizzie Dixon)CAbout 570 lines; the author says it grew by roughly 70 since publishingA small container runtime: namespaces, capabilities, mounts, a syscall allow/deny list and resource limits
Network protocolsBuilding a BitTorrent client from the ground up in Go (Jesse Li)GoOne long postA client that finds peers and downloads a Debian ISO
Front-end frameworksBuild your own React (Rodrigo Pombo)JavaScript8 stepsDidact: createElement, render, fibers, reconciliation, function components and hooks
Neural networks and LLMsNeural Networks: Zero to Hero (Andrej Karpathy)Python8 video lecturesmicrograd (backpropagation), makemore (character-level models), then a GPT and its tokenizer
Web serversLet’s Build A Web Server (Ruslan Spivak)Python3 partsAn 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 own X” 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.
SectionTutorialsLanguages listed (most common first)
3D Renderer12C++, JavaScript, Java, C#, TypeScript + 2 more
AI Model6Python
Augmented Reality6C#, Python
BitTorrent Client5C#, Go, Nim, Node.js, Python
Blockchain / Cryptocurrency21JavaScript, Python, Go, TypeScript, ATS + 6 more
Bot14Python, Node.js, Haskell, R, Rust
Command-Line Tool9Go, Rust, Nim, Node.js, Zig
Database16Go, Rust, Python, C, C++ + 6 more
Distributed Systems1Java
Docker6Go, Python, C, Shell
Emulator / Virtual Machine13C++, C, Common Lisp, JavaScript, Python + 1 more
Front-end Framework / Library16JavaScript, TypeScript
Game35C, C++, JavaScript, C#, Java + 5 more
Git8Python, JavaScript, Haskell, PHP, Ruby
Memory Allocator2C
Network Stack4C, Python, Ruby
Neural Network20Python, Go, F#, JavaScript, C# + 3 more
Operating System20C, Assembly, C++, Rust, any
Physics Engine8C++, JavaScript, C, C#
Processor1Verilog
Programming Language44C, Python, JavaScript, Haskell, C++ + 14 more
Regex Engine9JavaScript, C, Go, Perl, Python + 1 more
Search Engine7Python, CSS, Java
Shell8C, C++, Go, Rust
Template Engine5JavaScript, Python, Ruby
Text Editor6Python, C, C++, Ruby, Rust
Visual Recognition System2Python
Voxel Engine1C++
Web Browser2Rust, Python
Web Server11Python, Node.js, C#, PHP, Ruby
Uncategorized64Python, 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.

How to use it without stalling

Animated diagram: Side-by-side comparison: tutorial hell means watching courses and copying apps without understanding them, while the article's tips are to rebuild one tool from scratch, finish it, type every line, and use AI only to explain unfamiliar syscalls.

  • 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?
A GitHub repository, codecrafters-io/build-your-own-x, whose README links to step-by-step tutorials for recreating existing technology from scratch. As of 2026-11-19 it lists 382 tutorials in 30 categories plus an Uncategorized section. It is a link list, not a course.
Which build-your-own-x project should I start with?
Pick by what you want to understand: cstack's Let's Build a Simple Database for databases, Write yourself a Git! for Git, Crafting Interpreters for programming languages, Build your own React for front-end frameworks. Choose a tutorial in a language you already read comfortably.
Is build-your-own-x free?
The README is released under CC0. Most linked tutorials are free blog posts, books or videos, but a few are partly paid, such as the second half of build-your-own.org's database and web server books.
Who maintains build-your-own-x?
Daniel Stefanovic started it; CodeCrafters, Inc. maintains it now. CodeCrafters separately sells guided challenges with automated tests for projects such as Redis, Git and SQLite.
Are the tutorials up to date?
The README shows no dates or difficulty levels. Some tutorials are old or no longer maintained, and 7 entries link to web.archive.org copies, so check each tutorial's date and status before starting.

Related tools

Some links above are affiliate links. We may earn a commission if you sign up. See our disclosure for details.

Related reading

See all AI & Dev Tools articles →

Get the best tools, weekly

One email every Friday. No spam, unsubscribe anytime.