gitwtfhub

wtf is learn-code?

cj-vana/learn-code — explained in plain English

Analysis updated 2026-05-18

0PythonAudience · vibe coderComplexity · 3/5LicenseSetup · moderate

TL;DR

A self hosted, Docker based platform with over 1,300 original Python exercises, lessons, and quizzes, running entirely on your own machine.

Mindmap

mindmap
  root((Learn Code))
    What it does
      Autograded exercises
      Lessons and quizzes
      Learning paths
    Tech stack
      Python and FastAPI
      React and Vite
      Docker sandboxing
    Use cases
      Learn Python
      Interview prep
      AI from scratch
    Audience
      Beginners
      Career switchers
      Self learners

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Why would anyone build with this?

REASON 1

Learn Python from fundamentals through advanced topics with autograded practice exercises.

REASON 2

Prepare for coding interviews using the built-in algorithm and data structure catalogue.

REASON 3

Study how AI building blocks like tokenization and attention work by implementing them from scratch.

REASON 4

Self host a private, offline learning environment with no accounts or tracking.

What's in the stack?

PythonFastAPIReactViteDockerSQLiteTyper

How it stacks up

cj-vana/learn-code0xallam/my-recipe0xhassaan/nn-from-scratch
Stars00
LanguagePythonPythonPython
Last pushed2022-11-22
MaintenanceDormant
Setup difficultymoderatemoderatemoderate
Complexity3/52/54/5
Audiencevibe codergeneraldeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you spin it up?

Difficulty · moderate Time to first run · 30min

Requires Docker with Compose v2 installed before the app can run.

MIT license: free to use, copy, modify, and distribute, as long as you keep the original copyright notice.

Wtf does this do

Learn Code is a self hosted platform for learning Python that runs entirely on your own machine through Docker. It packages over 1,300 original items across more than 70 topic areas: 910 autograded exercises where you write a single Python function and it gets checked against hidden tests, 235 lessons with self check questions, 180 multiple choice quizzes, and 30 structured learning paths covering 7 career tracks and 23 focused skill tracks. The content spans everything from first variables up through the full set of interview style algorithm topics like two pointers, dynamic programming, graphs, and bit manipulation. It also covers professional Python practices such as object oriented programming, generators, decorators, typing, and testing, plus practical tooling like working with files, dates, command line interfaces, HTTP requests, SQLite, and logging. There is also a track that builds AI concepts from scratch in plain Python, including a small autodiff engine, n-gram language models, tokenization, embeddings, and the attention mechanism used in transformers. Career paths end with larger capstone projects, like building a market ledger or a courier dispatch board, that pull together everything taught along the way. To run it, you need Docker with Compose v2 installed. A short setup script downloads a compose file and starts the app with a single command, and everything opens in your browser at a local address with no separate build step required. Your progress is saved locally in a SQLite database tied to a Docker volume, and code you write is executed inside short lived sandboxed containers so nothing touches your main computer directly. Under the hood, the browser app is built with Vite and React, the backend is a FastAPI service, and there is also a command line interface built with Typer that talks to the same backend. The project currently supports Python only, with JavaScript, TypeScript, and Go planned for later versions. It is designed to work fully offline with no accounts, no telemetry, and only a single daily check for new releases that can be turned off. The project is released under the MIT license, which allows free use, modification, and distribution as long as the original copyright notice is kept.

Yoink these prompts

Prompt 1
Help me set up learn-code with Docker Compose and get it running on my machine.
Prompt 2
Walk me through the CLI commands to enroll in a learning path in learn-code.
Prompt 3
Explain how the AI-from-scratch track in learn-code builds attention mechanisms in plain Python.
Prompt 4
Show me how content authoring and validation works for adding new exercises to learn-code.

Frequently asked questions

wtf is learn-code?

A self hosted, Docker based platform with over 1,300 original Python exercises, lessons, and quizzes, running entirely on your own machine.

What language is learn-code written in?

Mainly Python. The stack also includes Python, FastAPI, React.

What license does learn-code use?

MIT license: free to use, copy, modify, and distribute, as long as you keep the original copyright notice.

How hard is learn-code to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is learn-code for?

Mainly vibe coder.

View the repo → Decode another repo

This repo across BitVibe Labs

Don't trust strangers blindly. Verify against the repo.