Show HN: Indielytics – public-only, cookieless web analytics (now Open Source)
github.comHi HN,
I’m happy to share that I’ve open-sourced Indielytics under the MIT license!
What is Indielytics? Indielytics is a simple, GDPR-compliant, cookieless web analytics tool. By adding a small JavaScript snippet to your site, it displays your daily unique visitors and views publicly on www.indielytics.link/your-domain.
Here’s how it works:
The script sends the domain, user-agent, and IP address to the server. IP addresses are truncated (last segments removed) and combined with the user-agent and domain to create a hashed identifier using a daily rotating salt. No raw IPs or personally identifiable information (PII) are stored, and hashed data is deleted within 24 hours. Analytics data is kept for 10 days to keep costs manageable. Why Open Source? After launching Indielytics, I received a pair of suggestions to make it open source. This is my first open-source project, which is exciting even though it's a very basic project.
What’s Next? I’m planning to shut down the hosted version of Indielytics (www.indielytics.link) soon. The repository is now available for anyone interested in using or contributing to it.
This has been an fun learning experience, and I’d love to hear your thoughts or advice, especially since I’m still new to the open-source community! If you have any ideas for improvements, security suggestions, or just want to fork it for your own use, feel free to dive in.
Looking forward to feedback. And if you happen to be in the market for a more fleshed out web analytics, check out another project made by me: simplytics.dev.
Also, this thing with licenses is new to me so I hope I picked on that isn't too limiting. gourami did it one year ago: https://gourami.net