Rewind

Open-Source Session Replay & Analytics Engine - 2026

Rewind — Open-Source Session Replay & Analytics Engine - 2026

Tech Stack

Next.jsTypeScriptNode.jsPostgreSQLRedisBullMQExpressDrizzle ORM

My Role

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.

Team

Timeline

2026 - Observability & Analytics

Overview

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

  • Full DOM session replay using rrweb with synchronized network and console log capture
  • High-throughput WebSocket ingestion gateway with zlib compression and Redis/BullMQ decoupling
  • AI session summaries and natural language semantic search powered by pgvector
  • Conversion funnel builder with sequential URL and custom-event tracking to analyze drop-offs
  • Per-project privacy controls with input masking, URL blocklists, and API payload redaction
  • Node.js backend SDK for pushing server-side exceptions and custom business events into session timelines
  • Highly optimized Turborepo monorepo architecture with shared Drizzle schemas
  • One-click multi-stage Docker Compose deployment for lean self-hosting on a single VPS

System Impact & Engineering Metrics

12kB
Tracker Footprint

Ultra-lightweight vanilla JS telemetry client

60%
Resource Efficiency

Memory footprint optimized to self-host on a $6 VPS

100%
Self-Hosted Control

Full data sovereignty with zero third-party SaaS dependency

Key Highlights

Visual Time Machine

Synchronized playback of DOM, network requests, and console logs to reproduce bugs perfectly.

Lean Architecture

Highly optimized ingestion pipeline capable of running on a $6 VPS via Docker Compose.

AI & Semantic Search

Find specific user sessions using natural language and generate instant support briefs.

Interactive Playground

Interactive Session Replay

Interact with the mock app on the left and see how Rewind captures mutations, console messages, and API events in real time.

Recording Target Container

tracking pointer + scroll
Simple Store checkoutCart (0)

* Hover/move your mouse inside the checkout card, fill in details, and scroll down to add items or checkout.

Player status:Standby
Rewind session frameCart (0)
Full Name
empty
Email Address
empty
Password
empty
Shipping Address
empty
Add Premium Item
Checkout
Rewind tracks mouse vectors and DOM scroll offsets for exact session visual reproduction.
Secure login portal with emphasis on absolute privacy and data ownership
Sessions directory displaying active streams, environment details, and recording durations
Interactive session replay player with synchronized DOM reproduction and API payloads
User profile dashboard featuring a timeline of events and Customer Support AI Brief generation
Natural language semantic search uncovering complex user behaviors across the databank
Analytics matrix visualizing high-level telemetry, event velocity, and exception rates
Conversion funnel builder for analyzing user drop-offs across sequential URLs and events
Project nodes configuration for managing tracker instances and ingestion tokens
System topology dashboard monitoring real-time resource allocation and BullMQ queue metrics
Account configuration panel for managing team roles, privacy masking, and platform preferences

Interested?

Want to explore Rewind?

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.