head to head · open source

Matomo vs tianji

Matomo has 21,889 GitHub stars, 2,894 forks, 2,578 open issues and last shipped 2 days ago. tianji has 3,100 stars, 194 forks, 139 open issues and last shipped yesterday. Matomo leads on adoption by 606% (21,889 vs 3,100 stars). Matomo is written in PHP under GPL-3.0; tianji is written in TypeScript under Apache-2.0. Matomo has attracted 13% as many forks as stars, tianji 6%. tianji was the more recently maintained of the two, and both are self-hostable with no licence fee. The two share 1 topic tag (analytics), so they are genuine substitutes rather than adjacent tools.

Two open source projects, one decision. Both are free and self-hostable — the differences are community size, license terms, language stack and release pace.

Matomo ★ 22K tianji ★ 3.1K category Data & Analytics

← all 20902 open source comparisons

Side by side

Matomo tianji
GitHub stars ★ 22K ★ 3.1K
License GPL-3.0 Apache-2.0
Written in PHP TypeScript
Last push 2026-09-18 2026-09-19
Forks ⑂ 2.9K ⑂ 194
Self-hosting Yes Yes
Data ownership Your server Your server

pick Matomo if

  • You weight community size — 22K stars and counting
  • You want the GPL-3.0 license terms
  • Your stack matches PHP
  • You value the larger contributor base for long-term maintenance

full Matomo profile →

pick tianji if

  • You want the tianji feature set and don't need the biggest community
  • You prefer the Apache-2.0 license terms
  • Your stack matches TypeScript
  • You evaluated both and tianji fits your workflow better

full tianji profile →

About Matomo

Matomo is an open source digital analytics platform for websites and apps, formerly known as Piwik. It lives in the PHP and MySQL web analytics ecosystem, and the provided description positions it as an open alternative to Google Analytics and Amplitude. The project lets an organization collect, visualise, and analyse visitor data from its own digital properties.

read the full Matomo overview →

About tianji

Tianji is a self hosted TypeScript project that combines website analytics, uptime monitoring, and server status in one application under the Apache 2.0 license. It is positioned as an all in one insight hub rather than only another Google Analytics alternative, and it lives in the web and product analytics ecosystem alongside tools such as Umami, Google Analytics, uptime monitors, and server status collectors.

read the full tianji overview →

More in Data & Analytics

Browser Use ★ 115K Mermaid ★ 90K Crawl4AI ★ 84K Scrapling ★ 82K Apache Superset ★ 75K echarts ★ 67K

Related comparisons

posthog vs matomo umami vs matomo grafana vs posthog sentry vs posthog posthog vs umami posthog vs plausible umami vs plausible posthog vs rybbit firecrawl vs scrapy firecrawl vs crawlee browser-use vs crawl4ai browser-use vs scrapling playwright vs crawl4ai browser-use vs scrapy playwright vs scrapling crawl4ai vs scrapling godot vs pixijs mermaid vs apache-superset three-js vs pixijs supabase vs metabase mermaid vs echarts grafana vs apache-superset apache-superset vs echarts mermaid vs metabase

More Web & Product Analytics projects

Compare either of these against the rest of the Web & Product Analytics field.

Matomo vs PostHog Matomo vs Umami Matomo vs Plausible Matomo vs Rybbit Matomo vs Claude-Code-Usage-Monitor Matomo vs Fathom Lite Matomo vs firebase-ios-sdk Matomo vs Countly Matomo vs shynet Matomo vs OpenWebAnalytics Matomo vs talivia Matomo vs Aptabase

Frequently asked questions

Is Matomo or tianji more popular?

Matomo has 21,889 GitHub stars and tianji has 3,100. Matomo has the larger community by that measure.

Are Matomo and tianji free?

Both are open source. Matomo is licensed under GPL-3.0 and tianji under Apache-2.0. Neither carries a licence fee.

What is the difference between Matomo and tianji?

Matomo is written in PHP and tianji in TypeScript. The practical differences are community size, licence terms, language stack and release cadence — all compared in the table above.

Which should I choose, Matomo or tianji?

Choose Matomo if you want the larger community (21,889 stars) or its GPL-3.0 licence terms. Choose tianji if its feature set, stack or Apache-2.0 licence fits better. Both are self-hostable.