Show HN: Codehooks Analytics – Open-Source Web Analytics Tool with AI Insights

4 points by kna63636 3 days ago

Hi HN,

I'm Martin from Codehooks / RestDB.

Today I’m excited to share Codehooks Analytics, an open-source web analytics tool designed to help you track traffic and user interactions across your websites or applications—without relying on third-party services or cookies.

After setup of the tracking script on your web site, it gives you full control over your raw data.

What's included?

- JS tracking script - for clicks and custom events - Front-end dashboard written using AlpineJS, TailwindCSS, DaisyUI - User authentication - so only you and your colleagues can use the dashboard - Backend and API - written in TypeScript and running on Codehooks in the cloud - OpenAI integration for daily summaries

Setting up the solution is quite straightforward. Everything is hosted for free on the Codehooks service (frontend, API, script, backend jobs etc).

The complete source code and step by step instructions for setup can be found on Github:

https://github.com/RestDB/webanalytics

Disclaimer: running the tool requires a Codehooks account and a project/space. Unless you have a lot of traffic, the free plan should be plenty.

Hope you like it!

Start here: https://github.com/RestDB/webanalytics