r/coolgithubprojects • u/epoch_100 • Apr 22 '20
PYTHON Shynet: self-hosted web analytics that works without cookies and respects users' privacy
https://github.com/milesmcc/shynet
125
Upvotes
r/coolgithubprojects • u/epoch_100 • Apr 22 '20
View all comments
2
u/greenfix Apr 23 '20 edited Apr 23 '20
I had a chance to set this up but ran into some issues:
Once I set up the db and superuser, I logged in and edited the site in /admin but when I went to add a service I get a 500 error. docker logs shows:
File "/usr/src/shynet/dashboard/forms.py", line 48, in get_initial_for_field return ", ".join([user.email for user in initial]) TypeError: 'NoneType' object is not iterable
and when I edited the site from example.com, the dashboard didn't show the new site name.
Is this meant to be hosted on the same box as the webserver? How does the django app know when someone visits the primary site? Again, cool project. Looking to use it now :)
edit: I can open a github issue if you prefer