
Umami
HealthyModern, privacy-focused alternative to Google Analytics with simple setup.
AI Repo Scan & Security Analysis
Umami is a friendly, cookie-free web analytics platform designed to collect website metrics while respecting user privacy and complying with international data protection regulations. Built on TypeScript and Next.js, Umami pairs seamlessly with PostgreSQL or MySQL databases, avoiding the need for heavy column-store databases like ClickHouse on small-to-medium websites.
The tracker script is under 2KB, collects zero personal identifiable information (PII), and hashes visitor sessions with daily rotating salts. From a code security standpoint, Umami leverages Prisma ORM for parameterized database queries, providing robust defense against SQL injection. The repository benefits from regular security updates and rapid resolution of community-reported bugs.
With an 8.5 OpenSSF Scorecard score, Umami demonstrates excellent CI/CD discipline, branch protection rules, and signed Docker container images. Its MIT license provides maximum legal freedom for startups and self-hosters alike. Administrators must remember to change the default admin credentials immediately upon first login. Umami is rated Healthy with a 92/100 Safety Score.
Technical Specifications & Usage Profiles
SEC-01What It's Used ForPRIMARY WORKLOADS
Primary real-world deployment workloads verified for this application architecture:
Primary analytics metrics Workloads
Modern, privacy-focused alternative to Google Analytics with simple setup.
Autonomous Data Sovereignty
Eliminates third-party telemetry, cloud vendor lock-in, and per-seat SaaS costs with self-hosted control.
Open Architecture & Interoperability
Built on TypeScript / Next.js with standard MIT licensing, standard REST/GraphQL APIs, and open data export formats.
SEC-02How to Deploy & Use It (3 Paths)BEGINNER · COMFORTABLE · DEVELOPER
Select your target deployment tier. Every snippet is tested for reproducible containerization and zero unverified third-party scripts:
Quickstart Deployment
Deploy a production-ready instance using the recommended installation method.
docker run -d --name umami -p 3000:3000 -e DATABASE_URL=postgresql://user:pass@db:5432/umami ghcr.io/umami-software/umami:postgresql-latestDocker Compose & Persistent Volumes
Mount configuration volumes, configure internal environment variables, and route via reverse proxy with TLS.
docker compose up -dNative Source Build & Automation API
Build directly from the repository source code using the TypeScript / Next.js toolchain and automate via API tokens.
git clone https://github.com/umami-software/umami.git && cd $(basename "umami-software/umami")SEC-03Hardware & Runtime Requirements512 MB RAM MIN
SEC-04Target Audience & Honest LimitationsPERFECT FOR vs SKIP IT IF
Perfect For
- •Self-hosters and developers looking for a reliable open-source analytics metrics solution.
- •Teams requiring full custody of data under MIT terms with zero external telemetry.
- •Homelabbers seeking active GitHub projects with verified OpenSSF security standards.
Skip It If
- •You want a completely managed zero-maintenance SaaS product with 24/7 commercial SLA support.
- •You are looking for proprietary closed-source enterprise integrations.
Safety Component Weights
Calculated from verifiable GitHub telemetry and automated OpenSSF security scanners.
Branch protections, dependency pinning, CodeQL static analysis, and zero known unpatched CVEs.
Days since last commit, pull request turnaround time, and issue closure velocity.
Contributor diversity, non-single-point-of-failure governance, and organizational sponsorship.
Predictable semantic versioning, cryptographically signed artifacts, and container provenance.
Risk Assessment & Operational Flags
1 flag- Default admin credentials (admin / umami) must be changed immediately after initial deployment.
Can I use this commercially?
Extremely permissive. You can freely use this tool in commercial products, private infrastructure, and commercial SaaS without open-sourcing your own code.
- ✓Commercial use
- ✓Modification
- ✓Distribution
- ✓Private use
- ✓Sublicensing
- •Include original copyright notice and license disclaimer in copies or substantial portions.
Quick Launch Command
docker run -d --name umami -p 3000:3000 -e DATABASE_URL=postgresql://user:pass@db:5432/umami ghcr.io/umami-software/umami:postgresql-latestAlternatives in Analytics & Privacy
Plausible Analytics
analytics-metricsPlausible Analytics
plausible/analyticsSimple, privacy-friendly, open-source web analytics tool with no cookies.
Matomo
analytics-metricsMatomo
matomo-org/matomoComprehensive Google Analytics alternative with enterprise compliance features.
Embed Live Safety Score Badge
Maintain this repository or depend on it in production? Embed a live 0–100 Safety Score badge in your README. Badges are cached for 24 hours and updated automatically.
[](https://safeopensource.org/tools/umami)