Medama vs Tianji

A side-by-side comparison of two self-hosted web analytics options — licensing, setup difficulty, resource needs, and what each one replaces.

Not the right match-up?
FeatureMedamaTianji
CategoryWeb AnalyticsWeb Analytics
LicenseMITApache-2.0
LanguageGoTypeScript
Setup difficultyEasyMedium
Min. RAM128 MB512 MB
Deploymentdocker, binarydocker
GitHub stars★ 636★ 3,078
First released20242023
ReplacesGoogle AnalyticsGoogle Analytics

Why pick each one

Choose Medama if…

  • Easy single-binary deploy
  • Very lightweight
Medama details

Choose Tianji if…

  • Multiple tools in one
  • Clean interface
Tianji details

Frequently asked questions

Is Medama or Tianji better?

Neither is universally better. Tianji has the larger community, while Medama is simpler to set up (easy difficulty). Choose based on the comparison table above and your own setup.

Are Medama and Tianji free and open-source?

Yes. Medama is licensed under MIT and Tianji under Apache-2.0. Both can be self-hosted at no software cost.

Can I run Medama and Tianji with Docker?

Medama: yes. Tianji: yes.

Related comparisons