An old-school, on-page PHP hit counter which logs unique visitors. It counts each unique visitor only once per hour, therefore repeated visits or refresh-happy people don't inflate the count inside of 60-minutes.
The blog post: https://cybrkyd.com/post/php-hit-counter
This project is made available under a GPL3 licence -- see COPYING for the full text.