跳到正文

talivia-group

talivia

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

README 已保存到本站,可直接阅读

Documentation snapshot

README 快照

本页保存的是公开项目资料快照,阅读过程不需要连接 GitHub。

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.

图片:Talivia dashboard

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.
  5. Connect customer revenue under Website settings → Payments.

Supported revenue inputs include Stripe, LemonSqueezy, Polar, Dodo, Yolfi, and the Manual Payment API. Subscription lifecycle, refunds, disputes, and first-/last-touch attribution are retained.

Payment-provider webhook URLs are generated from the incoming request origin. When Talivia runs behind a reverse proxy, forward the original Host and X-Forwarded-Proto headers.

Docker

Requirements: Docker Engine with Docker Compose.

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

Put the generated value in APP_SECRET, then start Talivia:

docker compose up --build -d
docker compose ps

Open http://localhost:3000 and change the bootstrap admin password immediately. The container applies the OSS database migration automatically before starting the application.

Backups and upgrades

Back up the PostgreSQL database and any deployment-specific storage before upgrading. For a Compose installation, create a logical database backup with:

docker compose exec -T postgres pg_dump -U talivia -d talivia_oss > talivia-backup.sql

Future releases add ordered migrations under prisma/migrations. Apply them with pnpm exec prisma migrate deploy; the official container does this during startup. Never edit a migration that has already been applied to a persistent database.

Security and contributions

See SECURITY.md for vulnerability reporting and deployment guidance, and CONTRIBUTING.md for the development workflow.

Talivia is licensed under the MIT License.

Official distribution

获取与安装

暂未发现可确认的官方软件包地址

当前 README 快照没有出现 npm、PyPI、Crates.io、pub.dev 等官方包页链接。本站不会根据仓库名称猜测下载地址。

本站不托管项目文件;需要安装时,请以项目维护者发布的官方文档为准。

使用前核验

本站保存公开资料用于阅读,不代表安全审计或功能背书。安装前请核对许可证、依赖来源和发布签名,不要直接运行来源不明的二进制文件或高权限脚本。