Live data from Hacker News

Ask HN: Best Self Hosted Comment System?

news.ycombinator.com

31–40 of 40 posts

Re: Ask HN: Best Self Hosted Comment System?

#31
post #24
post #2

If there is a demand for this, I will happily build it! I've been looking for a new FOSS project to start. Please either upvote or comment to let me know :)

how will you handle spam?

Not sure, I've never had to handle spam before. Something to learn! Rate limiting is the easiest solution. I could have an IP blacklist also.

It'd all be manageable by whoever is hosting.

Re: Ask HN: Best Self Hosted Comment System?

#33

Build a minimal one in php. Basic JavaScript and php form validation before the php sends an email to a comments@domain account. The email spam filter takes care of the spam. Your moderation tool becomes the email client. Have a script that runs locally to read the email and automatically insert it into the appropriate page. In my case I insert it into a Jekyll page yaml before recompiling and publishing the comment.

What if your server gets blacklisted by your email provider?

Re: Ask HN: Best Self Hosted Comment System?

#34
post #6

Earlier quoted context omitted.

Using Cloud Functions would be interesting. But how would you handle persistence?

Haven't looked, but I distinctly remember AWS Lambda +Dynamo DB based solution long back on a Show HN. I'm on mobile now, but will find and post a link later

Found it: https://news.ycombinator.com/item?id=11644042

Re: Ask HN: Best Self Hosted Comment System?

#35
post #2

If there is a demand for this, I will happily build it! I've been looking for a new FOSS project to start. Please either upvote or comment to let me know :)

My solution was is here - https://github.com/skx/e-comments

There are others, such as https://github.com/posativ/isso/ out there too. There doesn't seem to be a single "standard" solution, because most people just don't care. They use Wordpress, or similar, with integrated comment-support, or they use disuqis.

Re: Ask HN: Best Self Hosted Comment System?

#36
post #29

Talkyard looks like Disqus, is open source self hosted. Plus serverless hosting no ads no tracking: Demo: https://www.kajmagnus.blog/new-embedded-comments/ More info: https://www.talkyard.io/blog-comments There're Discourse + Hacker News discussion forum features too, if later on you want to start a forum / community around your blog. Email notifications. Sign in with Gmail / Facebook / GitHub / email+password. I'm d…

It looks like the comments aren’t showing up properly when I’m on Safari on iOS in the blog post :P http://imgur.com/kFPTMaC

That might be iOS tracker blocker. Sometimes iOS incorrectly thinks the embedded comments iframe is a tracker, although any cookies are on a per blog unique subdomain only (meaning, cannot do any tracking). I need to look into this ... and also I just got a separate domain, for the CDN things, that might make iOS less unhappy.

Thanks for reminding / telling me about this.

Re: Ask HN: Best Self Hosted Comment System?

#37
post #21

Talkyard looks like Disqus, is open source self hosted. Plus serverless hosting no ads no tracking: Demo: https://www.kajmagnus.blog/new-embedded-comments/ More info: https://www.talkyard.io/blog-comments There're Discourse + Hacker News discussion forum features too, if later on you want to start a forum / community around your blog. Email notifications. Sign in with Gmail / Facebook / GitHub / email+password. I'm d…

Found this just yesterday, and really really like the concept. Would be cool if it supported logins via Keycloak, as that's what I use. Will keep watching, it seems there's some work on Oauth/SSO going on.

Can I ask what do you use Keycloak for — is it for you blog only? Or for other things too? — Keycloak is a separate server with its own user database, right? To me that sounds a bit heavyweight to have login on a separate server, for a blog? So that's why I'm curious about if you use Keycloak for other things too :- )

B.t.w. I'm thinking about starting to use pac4j, which apparently supports Keycloak: https://github.com/pac4j/pac4j/blob/master/pac4j-oidc/src/ma...

Re: Ask HN: Best Self Hosted Comment System?

#38

Build a minimal one in php. Basic JavaScript and php form validation before the php sends an email to a comments@domain account. The email spam filter takes care of the spam. Your moderation tool becomes the email client. Have a script that runs locally to read the email and automatically insert it into the appropriate page. In my case I insert it into a Jekyll page yaml before recompiling and publishing the comment.

Why would you write it in php over django or node?

Re: Ask HN: Best Self Hosted Comment System?

#39
post #38

Build a minimal one in php. Basic JavaScript and php form validation before the php sends an email to a comments@domain account. The email spam filter takes care of the spam. Your moderation tool becomes the email client. Have a script that runs locally to read the email and automatically insert it into the appropriate page. In my case I insert it into a Jekyll page yaml before recompiling and publishing the comment.

Why would you write it in php over django or node?

Any mention of WordPress and I automatically think php. It’s pervasive and simple enough to setup. To validate a form and send an email you can use whatever is there — whatever is quickest and easiest for you.

Re: Ask HN: Best Self Hosted Comment System?

#40
post #29

Talkyard looks like Disqus, is open source self hosted. Plus serverless hosting no ads no tracking: Demo: https://www.kajmagnus.blog/new-embedded-comments/ More info: https://www.talkyard.io/blog-comments There're Discourse + Hacker News discussion forum features too, if later on you want to start a forum / community around your blog. Email notifications. Sign in with Gmail / Facebook / GitHub / email+password. I'm d…

It looks like the comments aren’t showing up properly when I’m on Safari on iOS in the blog post :P http://imgur.com/kFPTMaC

I've started fixing this now ... by removing cookies completely (unless one logs in to post/edit a comment; then there's a session cookie).

+ adding a cookieless just-type-name-and-email Guest login. (Session id remembered only for the current page load; everything forgotten on page refresh. This should make it impossible for iOS etc to classify this as a tracker.)

Post reply on HN