Open-Source Session Replay & Analytics Engine - 2026

Tech Stack
Architected and built the entire monorepo including the vanilla JS tracker, Express ingestion gateway, BullMQ worker queue, Next.js analytics dashboard, and PostgreSQL database with pgvector.
2026 - Observability & Analytics
Rewind solves the black-box problem of user bug reports: developers can't fix what they can't see. Instead of relying on vague user descriptions and fragmented logs, Rewind acts as a time machine. A single script tag captures full DOM mutations, network requests, console logs, and custom events, allowing developers to play back exact user sessions. The platform is architected as a highly scalable Turborepo monorepo. On the client side, a lightweight 12kB vanilla JS tracker built with rrweb captures interactions. This data is streamed via WebSockets to a Node.js/Express ingestion gateway, which buffers bursts using Redis and BullMQ. A background worker then persists events into a PostgreSQL database managed with Drizzle ORM. The frontend is a Next.js 15 App Router dashboard that provides an interactive replay player with synchronized network and console side-panels, conversion funnels, and AI-generated session summaries powered by pgvector. A core challenge was ensuring the system remained lean enough to self-host on a $6 VPS while still handling high-throughput ingestion. This was achieved through intelligent batching, zlib compression, and a decoupled worker queue. The entire stack is deployed via a single-command multi-stage Docker Compose setup, giving small teams enterprise-grade observability without the SaaS price tag.
What I Built
System Impact & Engineering Metrics
Ultra-lightweight vanilla JS telemetry client
Memory footprint optimized to self-host on a $6 VPS
Full data sovereignty with zero third-party SaaS dependency
Key Highlights
Synchronized playback of DOM, network requests, and console logs to reproduce bugs perfectly.
Highly optimized ingestion pipeline capable of running on a $6 VPS via Docker Compose.
Find specific user sessions using natural language and generate instant support briefs.
Interactive Playground
Interact with the mock app on the left and see how Rewind captures mutations, console messages, and API events in real time.
* Hover/move your mouse inside the checkout card, fill in details, and scroll down to add items or checkout.










Interested?
An open-source session replay and analytics platform that captures full DOM replay, API network logs, console events, and conversion funnels, all running on your own server.