Talivia 是一款开源、自托管的分析平台,结合了网站分析、会话回放和来自多个支付提供商的客户收入追踪。

Stars

415

7 天增长

暂无数据

Fork 数

27

开放 Issue

0

开源协议

MIT

最近更新

2026-07-29

AI 仓库情报摘要
FR-AI / ANALYSIS

为什么值得关注

它采用收入优先的分析方法,集成了 Stripe、LemonSqueezy 等支付工具,同时完全开源(MIT 许可),让用户拥有完全控制权和隐私保护。

适合谁使用

  • 希望自托管分析并支持收入归因的开发者
  • 需要追踪客户获取成本的中小企业
  • 需要结合分析与支付数据的电商网站
  • 注重数据隐私、倾向内部部署的组织

典型使用场景

  • 监控网站流量并通过会话回放分析用户行为
  • 分析订阅收入、退款及每次客户触达的归因
  • 与团队成员协作共享分析面板
  • 自托管分析以避免第三方数据共享

项目优势

  • 收入优先的设计,直接将分析与支付数据关联
  • 完全开源的自托管版本,无供应商锁定
  • 支持主流支付提供商(Stripe、LemonSqueezy、Polar 等)
  • 提供 Docker 一键部署及清晰的本地开发指南

使用前须知

  • 无法从托管版 Talivia Cloud 迁移到开源版
  • 本地开发需要 PostgreSQL 和 Node.js 22+/pnpm 10+
  • 部分集成(如 Google Search Console、社交提及)仅限云端版本

README 快速开始

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.

项目描述

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

相关仓库与替代方案

根据分类、Topic 和编程语言匹配的相似项目。

TanStack
精选
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 开发前端框架
14,861
yetone
精选
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 与机器学习AI 智能体
805
NUber-dev
精选
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 开发前端框架
226