Counterscale vs Medama

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?
FeatureCounterscaleMedama
Deploy effort≈5-minute setupUnder-an-hour setup
Health score80 · Excellent74 · Good
CategoryWeb AnalyticsWeb Analytics
LicenseMITMIT
LanguageTypeScriptGo
Setup difficultyEasyEasy
Min. RAM64 MB128 MB
Deploymentone-click, sourcedocker, binary
GitHub stars★ 2,147★ 646
First released20242024
ReplacesGoogle AnalyticsGoogle Analytics

What are Counterscale and Medama?

Counterscale

Counterscale is a simple, privacy-friendly web analytics tool designed to be easy to deploy and maintain on Cloudflare Workers. It tracks page views and visitors with minimal infrastructure.

  • Runs on Cloudflare Workers
  • Privacy-friendly tracking
  • Minimal infrastructure
  • Cheap to operate

Read the full Counterscale guide →

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

Counterscale vs Medama: key differences

Counterscale is written in TypeScript, while Medama is built with Go. Counterscale is the lighter option, starting around 64 MB of RAM against 128 MB for Medama. Counterscale has the considerably larger community, at 2,147 GitHub stars versus 646. Medama lists first-class Docker deployment; Counterscale does not.

Why pick each one

Choose Counterscale if…

  • Almost free to run
  • Very easy deployment

Watch out for

  • Cloudflare dependency
  • Basic feature set
Counterscale details

Choose Medama if…

  • Easy single-binary deploy
  • Very lightweight

Watch out for

  • Newer project
  • Smaller feature set
Medama details

Frequently asked questions

Is Counterscale or Medama better?

Neither is universally better. Counterscale has the larger community; both share a easy setup difficulty, so the decision comes down to features and licensing.

Are Counterscale and Medama free and open-source?

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

Can I run Counterscale and Medama with Docker?

Counterscale: check the project docs for container support. Medama: yes.

Which is lighter on resources, Counterscale or Medama?

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

Related comparisons