Talivia is an open-source, self-hosted analytics platform that combines web analytics, session replay, and customer revenue tracking from multiple payment providers.

Stars

362

7-day growth

No data

Forks

24

Open issues

0

License

MIT

Last updated

2026-07-29

AI repository intelligence
FR-AI / ANALYSIS

Why it is worth attention

It offers a revenue-first analytics approach, integrating with Stripe, LemonSqueezy, and more, while being fully open-source under MIT license, allowing full control and privacy.

Who it is for

  • Developers who want self-hosted analytics with revenue attribution
  • Small to medium businesses tracking customer acquisition costs
  • E-commerce sites needing combined analytics and payment data
  • Data privacy-conscious organizations preferring on-premise solutions

Use cases

  • Monitor website traffic and user behavior with session replay
  • Analyze subscription revenue, refunds, and attribution per customer
  • Collaborate with team members on shared analytics dashboards
  • Self-host analytics to avoid third-party data sharing

Strengths

  • Revenue-first design that ties analytics directly to payment data
  • Self-hosted open-source edition with no vendor lock-in
  • Supports major payment providers (Stripe, LemonSqueezy, Polar, etc.)
  • Out-of-box Docker deployment and clear local development setup

Considerations

  • No migration path from the hosted Talivia Cloud to the OSS edition
  • Requires PostgreSQL and Node.js 22+/pnpm 10+ for local development
  • Some integrations (Google Search Console, social mentions) are cloud-only

README quick start

Talivia

This repository contains the focused open-source edition of Talivia, the revenue-first analytics platform available at talivia.com. The self-hosted edition combines core web analytics, Session Replay, website collaborators, shared analytics, import/export, and customer revenue from Stripe, LemonSqueezy, Polar, Dodo, Yolfi, or the Manual Payment API.

Open source and Talivia Cloud

The open-source edition is a self-hosted subset of the complete Talivia product. For managed hosting and additional integrations-including Google Search Console, Bing Webmaster Tools, GitHub activity, and social mentions from X, Reddit, TikTok and others use Talivia Cloud.

Documentation

Product and integration guides are available in the official Talivia documentation.

Local development

Requirements: Node.js 22 LTS or 24 LTS, pnpm 10+, and an empty PostgreSQL database.

cp .env.example .env
openssl rand -hex 32

Put the generated value in APP_SECRET, then install, migrate, and start Talivia:

pnpm install --frozen-lockfile
pnpm exec prisma migrate deploy
pnpm dev

Open http://localhost:3000 and sign in with:

  • Username: admin
  • Password: admin

Change this bootstrap password immediately under Settings → Account. Administrators can create additional username/password accounts and change their roles on the same Account page. Password hashes are never shown; every user changes their own password.

Useful checks:

pnpm lint
pnpm test
pnpm build

The baseline migration is for an empty database only. There is no migration path from a hosted Talivia database.

Configuration

Talivia has two required settings and one optional integration:

VariableRequiredPurpose
DATABASE_URLYesConnection string for the PostgreSQL database.
APP_SECRETYesRandom value of at least 32 bytes; signs sessions and encrypts saved provider credentials.
COINGECKO_API_KEYNoEnables crypto exchange-rate conversion.

The application remains usable when CoinGecko is not configured or temporarily unavailable.

First setup

  1. Create a website in Talivia.
  2. Copy its tracking snippet into your site.
  3. Confirm that a visit appears on the dashboard.
  4. Optionally enable Session Replay in website settings.

Description

Open-source, self-hosted revenue-first analytics for founders: web analytics, Session Replay, revenue attribution, and customer revenue integrations. datafast alternative

Related repositories

Similar projects matched by category, topics, and programming language.

TanStack
Featured
TanStack GitHub avatar

router

TanStack Router is a type-safe, data-driven React router with built-in caching, prefetching, and nested layouts, while TanStack Start extends it into a full-stack SSR framework.

Web DevelopmentFrontend Frameworks
14,861
yetone
Featured
yetone GitHub avatar

kill-ai-slop

Kill AI Slop is a multilingual field guide and agent skill that catalogues 33 common AI-generated design tells with interactive before-after demos, and provides a tool to scan and fix web projects.

AI & Machine LearningAI Agents
805
NUber-dev
Featured
NUber-dev GitHub avatar

YTubic

YTubic is a fast, responsive, open-source YouTube Music desktop client for Windows, Linux, and macOS that uses direct InnerTube API communication and aggressive caching to provide instant navigation and playback.

Web DevelopmentFrontend Frameworks
226