DEV Community

Gokhan Sari
Gokhan Sari

Posted on

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,

Top comments (0)