This is the official way to self host Counter Web Analytics.
Please note:
- The self-hosted version is maturing and can be currenlty considered beta
- There might be some
$ curl https://github.com/ihucos/counter.dev-selfhosted/releases/download/0.2/cntr-linux-amd64 > /usr/local/bin/cntr
$ chmod +x /usr/local/bin/cntr
"Utc offset" is your timezones utc offset. Ask ChatGPT.
$ cntr createuser --redis-url redis://localhost:6379 --utc-offset 2 admin
Password for new user:
$ cntr serve --redis-url redis://localhost:6379 --bind :80
Visit the fired up server, login and follow the integrations steps there.
Keep calm and don't email me. Run this on your server:
$ cntr chgpwd --redis-url redis://localhost:6379 youruser