Medama vs Pirsch

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?
FeatureMedamaPirsch
Deploy effortUnder-an-hour setupUnder-an-hour setup
Health score74 · Good82 · Excellent
CategoryWeb AnalyticsWeb Analytics
LicenseMITAGPL-3.0
LanguageGoGo
Setup difficultyEasyMedium
Min. RAM128 MB256 MB
Deploymentdocker, binarydocker, binary
GitHub stars★ 645★ 1,030
First released20242020
ReplacesGoogle AnalyticsGoogle Analytics

What are Medama and Pirsch?

Medama

Medama is a lightweight, privacy-focused website analytics tool that operates without cookies and complies with privacy regulations. It is designed to be fast and simple to self-host.

  • Cookieless tracking
  • SQLite storage
  • Lightweight script
  • Privacy compliant

Pirsch

Pirsch is a Go library for server-side, cookie-free web analytics. The open-source repository provides the tracking and statistics code you embed in your own application; the hosted pirsch.io dashboard is a separate commercial product.

  • Cookie-free tracking
  • No personal data collected
  • Lightweight tracking script
  • Go analytics engine

Read the full Pirsch guide →

Medama vs Pirsch: key differences

Both projects are written in Go. Licensing differs — MIT for Medama versus AGPL-3.0 for Pirsch. Medama is the lighter option, starting around 128 MB of RAM against 256 MB for Pirsch. Pirsch is the more established project (first released 2020), while Medama arrived in 2024.

Why pick each one

Choose Medama if…

  • Easy single-binary deploy
  • Very lightweight

Watch out for

  • Newer project
  • Smaller feature set
Medama details

Choose Pirsch if…

  • GDPR-friendly by design
  • Fast and efficient

Watch out for

  • Self-hosting needs assembly
  • Smaller ecosystem
Pirsch details

Frequently asked questions

Is Medama or Pirsch better?

Neither is universally better. Pirsch 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 Pirsch free and open-source?

Yes. Medama is licensed under MIT and Pirsch under AGPL-3.0. Both can be self-hosted at no software cost.

Can I run Medama and Pirsch with Docker?

Medama: yes. Pirsch: yes.

Which is lighter on resources, Medama or Pirsch?

Medama has the smaller minimum footprint at 128 MB of RAM, compared to about 256 MB for Pirsch. Real-world usage depends on library size, user count, and enabled features.

Related comparisons