Skip to content
next-story
Menu

Product

A journey recorder that stops at the shape of a visit

next-story records where a visitor went, where they clicked in frustration, where a click did nothing, and how the session ended. It stores that in your own Postgres and hands it to control-plane agents through three read-only endpoints.

What you install and run

Every part lives in one repository and runs on infrastructure you control.

SDK
@next-story/journey-recorder (client, server, shared entrypoints)
Collector
A Next.js Route Handler, Edge or Node runtime
Storage
Postgres through an EventSink you implement (Drizzle helper)
Jobs
session-close, daily-rollup and retention (apps/worker)
Agent API
Hono app with three GET endpoints (apps/agent-api)
License
MIT
Status
Pre-1.0 (v0.1.1); the API may change

What it deliberately does not do

No session replay: no DOM snapshots, no video, no page content. Dead-click detection asks a MutationObserver one yes-or-no question and records a latency number, never what changed.

No identity system. The default resolver mints a first-party anonymous id cookie; linking it to your own user id is a port your app implements.

No conversion rule engine. A conversion is an explicit track call or one route pattern per site, nothing else.

No hosted service. You run the collector, the database, the jobs and the agent API.

See the path an event takes

From the click in the browser to the row an agent reads.