https://github.com/oltdaniel/door
:door: through door to numbers
https://github.com/oltdaniel/door
analytics do-not-track privacy
Last synced: 5 months ago
JSON representation
:door: through door to numbers
- Host: GitHub
- URL: https://github.com/oltdaniel/door
- Owner: oltdaniel
- License: mit
- Archived: true
- Created: 2019-08-08T16:56:56.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-08-16T11:46:18.000Z (almost 7 years ago)
- Last Synced: 2023-03-08T14:54:30.634Z (over 3 years ago)
- Topics: analytics, do-not-track, privacy
- Language: Go
- Size: 7.81 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# door :door:
through door to numbers
# about
Count your views on your website without JavaScript and privacy focused. No
tracking just counting.
```bash
# Clone repository.
$ git clone https://github.com/oltdaniel/door.git
# Enter repository.
$ cd door
# Install dependencies.
$ ./deps.sh
# Start server.
$ go run main.go
# Run to store stats as txt
$ ./store.sh
```
To call this server to count the views, you can simply add a new css file to
your existing website. The average size this request will consume is under 200
bytes.
```html
```
To view your stats call [localhost:8080/stats](http://localhost:8080/stats).
# how
We remove the data that allows us to track down the user from the IP in order
to make it more private. In order to gain some unqiness we add the user agent
of the browser and the path that has been called. All values will be then hashed
with the blake2b hash function.
**The result**: We can distinguish wether this call already has been made, or
if the same 'user' called a path twice, but not if a certain user called another
path.
# license
_just do what you want_
MIT License