3 ms·
I wrote a self-hosted "comment server" a few years back, but in the end found it was more annoying than useful. In the end I just setup a simple CGI script whi
by stevekemp 7y ago
I wrote a self-hosted "comment server" a few years back, but in the end found it was more annoying than useful.
In the end I just setup a simple CGI script which takes each submitted comment, writes it to /srv/comments/pending/ and then sends me an email.
When I rebuild the blog all the comments from /srv/comments/approved are automatically inserted at the foot of the appropriate post. I have a manual step where I move the comments into the right directory "/approved" vs "/spam".
It isn't ideal, but it is simple, reliable, and works well at the level of scale I deal with at https://blog.steve.fi/ https://blog.steve.fi/
- eska 7y agoI thought about just letting people send an e-mail with an ID that associates it to a blog article, but I'm worried that it increases the barrier of entry too much..
- XCSme 7y agoHmm, I actually got an idea from your comment and the other comment suggesting to off-load the comments to a social site such as HN or Twitter: maybe instead of hosting the comments yourself, you just have a script that automatically aggregates comments from multiple sites and displays them on your site. I am not sure this is allowed by the Twitter/HN terms of use though.