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.
| Feature | Counterscale | Medama |
|---|---|---|
| Deploy effort | ≈5-minute setup | Under-an-hour setup |
| Health score | 80 · Excellent | 15 · At risk |
| Known vulnerabilities | None known in v3.4.1 | None known in v0.6.2 |
| Status | Actively maintained | Archived |
| Category | Web Analytics | Web Analytics |
| License | MIT | MIT |
| Language | TypeScript | Go |
| Setup difficulty | Easy | Easy |
| Min. RAM | 64 MB | 128 MB |
| Deployment | one-click, source | docker, binary |
| GitHub stars | ★ 2,157 | ★ 642 |
| First released | 2024 | 2024 |
| Replaces | Google Analytics | Google 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
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
The biggest difference is maintenance: Medama's repository is archived and no longer developed, while Counterscale is actively maintained. 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,157 GitHub stars versus 642. 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
Choose Medama if…
- Easy single-binary deploy
- Very lightweight
Watch out for
- Newer project
- Smaller feature set
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.