head to head · open source
Matomo vs tianji
Matomo has 22,002 GitHub stars, 2,925 forks, 2,578 open issues and last shipped yesterday. tianji has 3,120 stars, 199 forks, 139 open issues and last shipped 4 days ago. Matomo leads on adoption by 605% (22,002 vs 3,120 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%. Matomo 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.
← 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-11-02 | 2026-10-30 |
| Forks | ⑂ 2.9K | ⑂ 199 |
| 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
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
About Matomo
Matomo (formerly Piwik) matomo.org Code Status Description Matomo is the leading Free/Libre open analytics platform. Matomo is a full featured PHP MySQL software program that you download and install on your own webserver. At the end of the five minute installation process, you will be given a JavaScript code. Simply copy and paste this tag on websites you wish to track and access your analytics reports in real time. Matomo aims to be a Free software alternative to Google Analytics and is already used on more than 1,400,000 websites. Privacy is built in! Mission Statement « To create, as a community, the leading…
read the full Matomo overview →
About tianji
Tianji All in One Insight Hub Website analytics + Uptime Monitor + Server Status = Tianji All in one project! Motivation During our observations of the website. We often need to use multiple applications together. For example, we need analysis tools such as GA / umami to check pv/uv and the number of visits to each page, we need an uptime monitor to check the network quality and connectivity of the server, and we need to use prometheus to obtain the status reported by the server to check the quality of the server. In addition, if we develop an application that allows open source deployment, we often need a…
read the full tianji overview →
More in Data & Analytics
Related comparisons
More Web & Product Analytics projects
Compare either of these against the rest of the Web & Product Analytics field.
Frequently asked questions
Is Matomo or tianji more popular?
Matomo has 22,002 GitHub stars and tianji has 3,120. 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 (22,002 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.