{"repo":"upstash/redis-analytics","free":true,"listed":false,"github":"https://github.com/upstash/redis-analytics","clone":"git clone https://github.com/upstash/redis-analytics.git","description":"A lightweight analytics platform built on Upstash Redis, providing event tracking, session management, feature flags, and A/B testing with a type-safe SDK and a built-in dashboard","language":"TypeScript","stars":17,"topics":["analytics","redis","search"],"license":"MIT","category":"analytics","readme_excerpt":"redis-analytics A lightweight, typed analytics SDK backed by Upstash Redis. Capture pageviews, clicks, and custom events; manage sessions; resolve feature flags server-side; and query everything through Redis Search. It's designed for serverless / edge runtimes (Next.js App Router, etc.): a single HTTP endpoint on the backend, a typed client on the frontend, and an optional React hook. Status: early ( 0.x ). APIs may change. Packages This is a pnpm + Turborepo monorepo. Package Description -------------- ---------------------------------------------- packages/sdk The published SDK — @upstash/redis-analytics packages/app Example Next.js app wiring the SDK end-to-end packages/ui Dashboard UI for exploring captured analytics Installation Concepts - Session — created on the backend, identified by a sessionId . Carries the resolved feature flags and optional server-set metadata. Sessions expire after session.expirationMs . - Event — a named occurrence tied to a session. Standard events ( pageview , click , error , warning , info ) are built in; custom events are fully typed. - Feature flag — resolved server-side (typically in middleware) and frozen onto the session at creation time. - Schema registry — infers property types from captured events and powers the Redis Search index. - Single endpoint — the frontend client and backend talk over one route ( /api/analytics by default) using a typed request/response protocol. Quick start (Next.js App Router) 1. Configure the backend clien","default_branch":null,"files":null,"tree":[],"storefront":"/r/upstash","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/upstash/redis-analytics/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}