Simple Computer

Simple Computer

A complete 16-bit computer built from first principles in Go, based on But How Do It Know? by J. Clark Scott. 18 phases from a single NAND gate to a running CPU with RAM, keyboard, display, and assembler.

Go Computer Architecture CPU Assembler Simulation
circle-db

circle-db

A Datomic-inspired EAV database built from scratch in Python and Clojure. Four indexes (EAVT/AVET/VEAT/VAET), CRUD write path, transactions, query planning, query execution, time-travel, and graph traversal — 9 phases.

Python Clojure Database EAV Indexes
Simple App Builder

Simple App Builder

A minimal AI app builder. Build full-stack web apps from natural language in a browser-based IDE. Generates React + Vite projects, manages files in SQLite via Prisma, and previews live in WebContainer.

TypeScript Next.js React Prisma SQLite WebContainer
Video Platform System Design

Video Platform System Design

YouTube architecture, made local and runnable. Upload → async HLS transcode → MongoDB metadata → adaptive streaming. A working reference implementation paired with the YouTube system design blog post.

Go HLS MongoDB FFmpeg Docker Redis
Twitter System Design Demo

Twitter System Design Demo

Hybrid fanout feed, celebrity follow problem, load balancing, caching and message queues — all running locally with FastAPI, React, PostgreSQL, Redis, RabbitMQ and Nginx.

Python FastAPI React PostgreSQL Redis RabbitMQ Nginx
MIT 6.5840 Distributed Systems Labs

MIT 6.5840 Distributed Systems Labs

All labs from MIT's graduate distributed systems course: MapReduce, Raft consensus, fault-tolerant key-value store, and sharded KV with dynamic rebalancing. All tests passing.

Go Raft MapReduce RPC Concurrency
DBDB — Dog Bed Database

DBDB — Dog Bed Database

A persistent key-value store in 665 lines, rebuilt from 500 Lines or Less. Append-only binary file, immutable BST, copy-on-write, compaction, concurrent access safety, CLI tool. Extended with AVL tree and B-tree variants.

Python BST AVL Tree B-Tree pytest-bdd