DEV Community

Gokhan Sari
Gokhan Sari

Posted on

2

I built the free and open source, privacy-first Google Analytics alternative

Hey folks!

For about the last two years, I have been working on this. I have recently published it, so I want to share with you all, and ask for your feedback, too!

Some highlights you might find interesting are:

✊ It is 100% free and open source (AGPL).
✌️ It doesn't collect any personal data, so it is out-of-the-box compliant with data privacy regulations like GDPR, CCPA, PECR and KVKK.
🎯 It is simple analytics. It provides consolidated real-time reports on a single-page.
πŸͺΆ It has a very lightweight (< 1KB) script. It doesn't cause any harm on the website's performance.

You can see a demo of the reports page here.

Even though you can see the stack yourself on the repository, here are some of the stuff I used building it:

  • Go for backend,
  • Next.js (TypeScript, Bootstrap) for frontend,
  • PostgreSQL for the single source of truth database,
  • ClickHouse for time series analytics data,
  • and RabbitMQ as the task queue.

You can give it a go on poeticmetric.com, and the check its full source code on https://github.com/th0th/poeticmetric. I also published ready-to-use Docker images for self-hosting (guide here).

I would love to what you think of it!

Cheers,

Sentry image

See why 4M developers consider Sentry, β€œnot bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

πŸ‘‹ Kindness is contagious

Please leave a ❀️ or a friendly comment on this post if you found it helpful!

Okay