Projects

Most of these started with me wondering how something actually works and ended with me building a smaller version of it. Here is what each one does, and the parts I found interesting.

Anim landing page with a generated Riemann sums explainer video

Anim

Next.js / Python / FastAPI

Anim turns a single prompt into an animated explainer video in the style of 3Blue1Brown, by generating and rendering Manim code. It is built for concepts that are hard to grasp from text alone and that nobody has animated yet.

Claude writes the Manim code and the response streams to the browser over WebSockets. Once the code is complete, a render job is pushed onto a Redis list. A task manager on the backend pulls jobs off that queue and only runs as many renders as the server has CPU for, because Manim renders are heavy.

Redis is also the single source of truth for job status, so the frontend just polls for progress and any server can pick up any job. Finished videos end up in S3.

Prompt Lens landing page: monitor your brand in AI responses from ChatGPT, Claude and Perplexity

Prompt Lens

Next.js / Express.js / Prisma / TypeScript

You give it the prompts your customers would ask ChatGPT, Claude or Perplexity. It tells you whether your brand shows up in the answers, where it ranks, and who gets cited instead of you.

Getting the answers is the hard part. It drives real, non-headless Chrome through Playwright with a logged-in session and types like a person, random pauses included. Optimizing for reliability over throughput turned out to be the simplest way past bot detection.

Every mention gets a score of sentiment divided by position. A brand registry builds itself while analyzing responses and merges aliases, so "HubSpot" and "HubSpot CRM" count as one brand once they point to the same website.

De-Docs landing page for a collaborative text editor built on operational transformation

De-Docs

Next.js / TypeScript / Express

Google Docs style multiplayer editing, built from first principles. Several people type into the same document and everyone ends up with exactly the same text.

It uses server-authoritative Operational Transformation. Every edit becomes an insert or a delete, and the server transforms each incoming batch against everything that landed since the client last synced. The client runs the same transform to rebase remote edits over its own unacknowledged ones, which is the whole reason both sides converge.

The fun part is the edge cases. Two inserts at the same position are tie-broken by session id rather than by whoever reached the server first, so the result never depends on network timing. A delete that overlaps someone else's insert gets split around it, so their text survives.

Open documents live in memory and are flushed to S3 only when a blake3 hash says the content actually changed.

Terminal running the Go Redis clone, replaying its append-only file and accepting connections

Redis

Go

A Redis clone written from scratch in Go, built to understand how Redis works internally and to explore Go's concurrency patterns. It implements the RESP protocol, so the official redis-cli works against it, and supports strings, lists and hashes with key expiry and append-only file persistence.

Lists are a linked list of small fixed-size chunks instead of a plain doubly linked list. Push and pop stay O(1) on both ends, but walking the list no longer cache-misses on every node. BLPOP and BRPOP park the client on a Go channel until a push hands it an element.

Keys expire lazily when they are read, and a cleanup goroutine sleeps on a min-heap of deadlines so keys nobody touches again still get removed, without polling. Writes go to an append-only file through an internal buffer that flushes on size or on a ticker, so not every command pays for a write syscall.

Haven hotel search page with voice input, language picker and date filters

Haven

React / TypeScript / FastAPI

A hotel search you can just talk to, in English or Hindi.

Raw audio streams over a WebSocket to Speechmatics for real-time transcription, then Gemini turns what you said into structured filters: location, price range, amenities and dates. Each query also carries the previous filters and the assistant's last reply, so saying "cheaper, and closer to the airport" refines the search instead of starting over.

Search runs on PostgreSQL with PostGIS for proximity queries, and a CopilotKit assistant can find places nearby and work out distances for you.