SL

Shipped

Things I built to understand them. One rule: no magic I cannot explain. Each is open source and tested.

PyRedis

A Redis-compatible server in Python, from scratch.

A single-threaded reactor over non-blocking sockets and a selectors event loop, with a cursor-threaded RESP parser that serves pipelined commands without re-scanning buffered bytes. Built to understand why Redis is fast, not to replace it.

28 commands175 testsmypy --strict cleanlazy + active expiry

A JavaScript sketch of the same keyspace, running in your tab, with lazy expiry on read. The real server is Python and speaks RESP over TCP.

try it · 127.0.0.1:6379
>PING
PONG
>

Worked example · three pipelined commands in one read

*1
$4
PING
*2
$3
GET
k
*1
$4
PING

After each frame, scan the buffer again from byte zero. Red cells are bytes it has already handled.

cells read 0parsed 0/3
rt_1
rt_2
rt_3

Sign in. A refresh token is issued.

OathKeeper

An auth library for Node.js, Express and PostgreSQL.

argon2id hashing at OWASP parameters, pinned-algorithm JWTs, and refresh tokens that rotate on every use. If a spent token is ever replayed, the whole token family is revoked. Raw pg, no ORM.

271 tests18 suitesTOTP MFARBAC + ABACaudit log
review 1review 2no review

Engram

Spaced repetition for LeetCode, automatically.

A Chrome extension and Node.js backend that capture every accepted submission by reading LeetCode's own network calls, then schedule reviews into Notion and Google Calendar.

Chrome extensionNode.jsNotionCalendar

bgsave

Freeze a window of tabs. Restore it exactly.

Saves a set of tabs as a named workspace with scroll positions, text selections and highlights, and reopens them where you left off. Local only, no account, no telemetry.

TypeScript200+ testslocal-only

Cerebro

Multiplayer awareness for VS Code.

See what your teammates are doing in your codebase in real time. Figma cursors, but for code.

TypeScriptVS Code extensionreal-time

TicTacTurbo

Real-time multiplayer tic-tac-toe.

Create a room, share the invite code, and play over a live socket. The Node.js server validates every move, owns the game state, and broadcasts it to both players.

ReactNode.jsExpressSocket.IO

PdfShareX

Upload a PDF, share it with a link.

Multer handles and validates the multipart upload, Cloudinary stores the file, and MongoDB keeps its metadata, all behind an Express REST API with a Next.js frontend.

Next.jsExpressMongoDBCloudinaryMulter