Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
U

umami

> 编程语言
Open source

Umami is a modern, privacy-focused analytics platform. An open-source alternative to Google Analytics, Mixpanel and Amplitude.

38.0K stars0 likes3 views
WebsiteGitHub

About

Umami is a modern, privacy-focused analytics platform. An open-source alternative to Google Analytics, Mixpanel and Amplitude.

Umami

Umami is a privacy-first analytics platform. Traffic, campaigns, behavior, conversions, and revenue in one place — no cookies, no surveillance, self-hosted or in the cloud.


🚀 Getting Started

A detailed getting started guide can be found at umami.is/docs.


🛠 Installing from Source

Requirements

  • A server with Node.js version 18.18+.
  • A PostgreSQL database version v12.14+.

Get the source code and install packages

bash
git clone https://github.com/umami-software/umami.git
cd umami
pnpm install

Configure Umami

Create an .env file with the following:

bash
DATABASE_URL=connection-url

Optional: set API_URL to change the base URL used by internal UI API calls. Relative paths are served under BASE_PATH; absolute URLs are proxied through the local /api route. For example, API_URL=/internal-api or API_URL=https://api.example.com/api.

Optional: set TWO_FACTOR_ENCRYPTION_KEY to a 64-character hex string to enable two-factor authentication. Generate one with openssl rand -hex 32. Two-factor authentication is unavailable and cannot be required until this key is set.

The connection URL format:

bash
postgresql://username:mypassword@localhost:5432/mydb

Build the Application

bash
pnpm run build

The build step will create tables in your database if you are installing for the first time. It will also create a login user with username admin and password umami.

Start the Application

bash
pnpm run start

By default, this will launch the application on http://localhost:3000. You will need to either proxy requests from your web server or change the port to serve the application directly.


🐳 Installing with Docker

Umami provides Docker images as well as a Docker compose file for easy deployment.

Docker image:

bash
docker pull docker.umami.is/umami-software/umami:latest

Docker compose (Runs Umami with a PostgreSQL database):

bash
docker compose up -d

🔄 Getting Updates

To get the latest features, simply do a pull, install any new dependencies, and rebuild:

bash
git pull
pnpm install
pnpm build

To update the Docker image, simply pull the new images and rebuild:

bash
docker compose pull
docker compose up --force-recreate -d

🛟 Support

Issues· 123 open

View all issuesOpen on GitHub
  • #3163

    External auth/OIDC

    enhancementUpdated Sep 30, 2026
  • #4584

    Website list with includeTeams omits team websites for team members and view-only members (also MCP list_websites)

    Updated Sep 30, 2026
  • #4583

    3.4.0: `umami.identify()` splits a visitor into two sessions

    Updated Sep 29, 2026
  • #4546

    Allow the session replay recorder to customize/normalize the recorded URL (or run in manual mode)

    Updated Sep 29, 2026
  • #4555

    Team websites are not returned by `/websites` or MCP `list_websites`

    fixed in devUpdated Sep 29, 2026
  • #4563

    MCP: `filters.event` on the stats, traffic and metrics tools returns zeros

    bugfixed in devUpdated Sep 29, 2026
  • #4581

    Docker image drops the pnpm overrides, so it ships mysql2 3.15.3 and deepmerge-ts 7.1.5

    fixed in devUpdated Sep 29, 2026
  • #4577

    Not listening on all interfaces when running in pod

    Updated Sep 28, 2026
  • #4570

    Performance metrics endpoint returns 503 from the UI but 200 via API key (v3.4.0, PostgreSQL)

    bugUpdated Sep 28, 2026
  • #4578

    Allow selecting 12/24 hr format

    Updated Sep 27, 2026

> Tags

TypeScriptanalyticsaudience-segmentationchartscohort-analysis

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 30, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言