build-your-own-x: Rebuild Git, Docker or a database from scratch, step by step
Added · Updated
Made by CodeCrafters
View profile on GitHub (opens in a new tab)A curated index of step-by-step guides for recreating the technologies you use every day.
The premise is Feynman’s — what I cannot create, I do not understand — and the categories run from a 3D renderer, a database, Docker, Git, an operating system and a programming language to a regex engine, a shell, a text editor, a web browser, a web server and a neural network. Each entry names the language it is written in and links out to the original tutorial, so the repository is a map rather than the material itself.
What it does
Most learning material explains how to use a thing. This collects the guides that explain how to build one, on the theory that writing a toy version teaches you more about the real one than reading its documentation ever will. The categories cover a wide spread of computing: 3D renderers and ray tracers, AI models including a language model and a diffusion model from scratch, augmented reality, BitTorrent clients, blockchains, bots, command-line tools, databases, Docker, emulators and virtual machines, front-end frameworks, games, Git, memory allocators, network stacks, neural networks, operating systems, physics engines, processors, programming languages, regex engines, search engines, shells, template engines, text editors, visual recognition systems, voxel engines, web browsers and web servers. Entries are grouped by language so you can find a route through in something you already write, and many are the well-known reference tutorials in their area.
You could use it to…
- Follow a guide to rebuild Git from scratch
- Pick a language and write your own tiny database
- Learn how Docker works by recreating a piece of it
Can I use this?
You'll need A programming language you already know · Ready to use
Worth knowing This is a list of links to other people’s writing, so quality, depth and how current each guide is vary enormously, and a tutorial from several years ago may target versions of things that have moved on. Nothing here is a maintained course with support attached. The repository itself publishes no licence, and each linked guide carries its own terms.
Why it's here
Getting attention on GitHub this week
- 3,157 people starred it on GitHub this week — 560,937 in total.
Numbers as of 8 November 2026, from BuildTube’s latest daily refresh.
Behind it
View sourceBuildTube has not run or verified this project. Everything above is written from what the creator published.
Made this?
Quick questions
- What is build-your-own-x?
- Most learning material explains how to use a thing.
- What can I use build-your-own-x for?
- Follow a guide to rebuild Git from scratch; Pick a language and write your own tiny database; Learn how Docker works by recreating a piece of it
- Can I run build-your-own-x on my computer?
- No install needed: it runs in your web browser.
- What do I need to use build-your-own-x?
- A language you are comfortable in and time. The guides are external links; each one names its own prerequisites.
- What license does build-your-own-x use?
- The repository itself publishes no licence, and each linked guide carries its own terms.
More from this week
- free-for-dev Find hosted services with free developer tiers
Compare hosted services with free tiers, from web hosting to email.
- agent-desktop Let AI agents read and click desktop apps
For developers building computer-use agents: agent-desktop lets an AI agent read and operate desktop apps on Mac, Windows or Linux from a command line.
- Auto-Ontology Give AI agents checked business meanings for your database
Help AI agents answer questions about company databases using reviewed definitions and SQL, with each answer showing its steps.
Explore by topic
Post this
Download share imageFor makers
Made this? Show it’s on BuildTube — add the badge to your README or embed the card on your site.
README badge (Markdown)
[](https://buildtube.app/p/gh-codecrafters-io-build-your-own-x/)Embed card (HTML)
<iframe src="https://buildtube.app/embed/gh-codecrafters-io-build-your-own-x/" width="560" height="240" style="border:0;max-width:100%" loading="lazy" title="build-your-own-x on BuildTube"></iframe>