head to head · open source
tianji vs Aptabase
tianji has 3,118 GitHub stars, 199 forks, 139 open issues and last shipped 6 days ago. Aptabase has 1,865 stars, 141 forks, 59 open issues and last shipped 6 days ago. tianji leads on adoption by 67% (3,118 vs 1,865 stars). tianji is written in TypeScript under Apache-2.0; Aptabase is written in C# under AGPL-3.0. tianji has attracted 6% as many forks as stars, Aptabase 8%. 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.
← all 20902 open source comparisons
Side by side
| tianji | Aptabase | |
|---|---|---|
| GitHub stars | ★ 3.1K | ★ 1.9K |
| License | Apache-2.0 | AGPL-3.0 |
| Written in | TypeScript | C# |
| Last push | 2026-10-30 | 2026-10-30 |
| Forks | ⑂ 199 | ⑂ 141 |
| Self-hosting | Yes | Yes |
| Data ownership | Your server | Your server |
pick tianji if
- You weight community size — 3.1K stars and counting
- You want the Apache-2.0 license terms
- Your stack matches TypeScript
- You value the larger contributor base for long-term maintenance
pick Aptabase if
- You want the Aptabase feature set and don't need the biggest community
- You prefer the AGPL-3.0 license terms
- Your stack matches C#
- You evaluated both and Aptabase fits your workflow better
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 →
About Aptabase
Aptabase Analytics for Apps. Open Source. Privacy First. Simple. Learn more » About the Project Aptabase is an open source alternative to Firebase/Google Analytics, specifically built for Mobile, Desktop and Web apps. 📱 Extensive list of SDK : No matter what framework or language you use, we have an SDK for you. Swift, React Native, Flutter, Electron, Kotlin, and many others. 😇 Privacy First : We prioritize user privacy and collect minimal usage data without using unique identifiers. Instead, we focus on monitoring sessions, complying fully with GDPR, CCPA, and PECR regulations. 🚀 Simple : Built in and user…
read the full Aptabase 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 tianji or Aptabase more popular?
tianji has 3,118 GitHub stars and Aptabase has 1,865. tianji has the larger community by that measure.
Are tianji and Aptabase free?
Both are open source. tianji is licensed under Apache-2.0 and Aptabase under AGPL-3.0. Neither carries a licence fee.
What is the difference between tianji and Aptabase?
tianji is written in TypeScript and Aptabase in C#. The practical differences are community size, licence terms, language stack and release cadence — all compared in the table above.
Which should I choose, tianji or Aptabase?
Choose tianji if you want the larger community (3,118 stars) or its Apache-2.0 licence terms. Choose Aptabase if its feature set, stack or AGPL-3.0 licence fits better. Both are self-hostable.