a tiny web analytics tool written in C. use the provided JS snippet and replace api.tryh4rd.dev/tiny/[ip/track] with your domain. this is supposed to be gdpr compliant, but i'm not a lawyer so idk. ofc, this is 100% privacy respecting. using a sha512 hash of the user-agent + ip for the "user". this is more of a session-based tracking thingy because user-agents and ips change so much that it's basically only used that way
first create a new user/group called "tinylytics".
sudo useradd -r -s /usr/sbin/nologin tinylyticsthen run it using that user
sudo -u tinylytics [path to tinylytics binary]