A more privacy-friendly blog
vincent.bernat.im
vincent.bernat.im
Since you are using CloudFront, I highly recommend http://s3stat.com for analytics. It grabs CloudFront's (or S3's) server access logs and visualizes them.
For search, I like this method Mat Hayward uses for Jekyll: https://github.com/mathaywarduk/jekyll-search Dump the site contents out into a JSON file with the titles and links accessible, crawl through the JSON file with javascript whenever someone runs a search, then display the results. I know you use Hyde instead of Jekyll, but you can port over the general idea.
An even better solution might be to just not specify a specific font unless you really, really need one.
As if the majority of Windows and Mac OS users would know that.
I disagree. When I want to remember something, I blog about it. When I implemented a search feature on my site, it was a godsend, and wondered why I had overlooked it for so long. Finding something I had blogged about years ago wasn't a pain anymore, since a box is right there.
You can use Google or whatever to search your blog, or search local files with your posts or whatever.
In any case, and especially since you're not adding the search feature on your blog for the blog's visitors, but for you, it sounds totally redundant.
<whoosh>
WRT comments and fonts, you can just get rid of both for good. Not imposing your fonts on the reader is almost always good, and you save on the bandwidth. And when it comes to comments, I prefer to host my content only on my website. People do e-mail, and asking them to email if they want to discuss with me is an incredibly effective spam filter.
WRT big media like videos and sound files, and bigger images, I think it's better to just link to them. Software like mpv, mplayer, VLC, &c are capable of streaming, so it becomes a matter of copying the link and "curl <link> | mpv -" or adding a mailcap entry.
Another thing I can add is to use shared hosting. It's easier to maintain and safer if you trust your host (I use NearlyFreeSpeech.NET, and if this mention counts as an ad, let that be; I really like them). I just generate my static blog and rsync it over ssh. rsync the logs and run webalizer on them every now and then. As simple as it gets.
Similar thing goes for "how many people clicked this button"
Or am I way off here....
[1]: https://matomo.org/
So one can record what people do at one's website, and see what UX problems they run into, and if something makes them feel bored and leave. Without sending their browser session to a 3rd party. (Fortunately the one I'm using right now is able to exclude parts of the recording, client side. E.g. `input` fields. But still would feel better to not send anything to a 3rd party)
I remember messing with a module in webmin (i think?) that did this, and watching traffic come in and have it show up in the reporting tool. Was pretty cool considering the whole thing was self-contained
edit: I'm thinking of AWStats
MathJax requires me to add 'unsafe-inline' and 'unsafe-eval' to script-src, and 'unsafe-inline' style-src. So my overall CSP becomes quite weak :(
Anyone would have an idea how to implement CSP without those, and uses MathJax?
Thanks.
I lol'd
More here: https://listed.standardnotes.org
There's also a hosted service I've been building for the past five months, if you don't want to bother with setting up and maintaining servers, but also don't want your readers to be mercilessly tracked by Disqus and their endless tracking partners. It's currently in private beta, but I'd be glad to invite anyone reading this (as a bonus, you'll get a lifetime free subscription for beta testing); shoot me an email (address in profile) :)
https://www.talkyard.io/blog-comments (I'm developing it)
(There's no About page so I couldn't find out :- ))