DEV Community

Cover image for Jamstack comments suck - but they don't have to

Jamstack comments suck - but they don't have to

darrendube on May 24, 2021

Let's face it - Jamstack websites have many advantages, but adding comments easily isn't one of them. And for those of us with blogs, we know that...
Collapse
 
roneo profile image
Roneo.org • Edited

Hi @darrendube and thanks for sharing,

we are experimenting with another solution, based on Cusdis. The main advantage is that Cusdis does not require a Github account to add a comment.

Cusdis already supports many frameworks and platforms like Vue, Hexo, React and should work with any static site builder

You can follow our ongoing discussions regarding Hugo implementation on Hugo's discourse

(The design of your website is awesome BTW!)

Collapse
 
roneo profile image
Roneo.org

A quick follow-up after having a look at Utterances:

the authentification with Github, required to post a comment, may be of interest, but the process is a bit worrying:

utterances by utterances would like permission to:
Verify your GitHub identity (RoneoOrg)
Know which resources you can access
Act on your behalf

I appreciate the possibility to add reaction (emojii) to a comment though.

Does someone posting under one of your post get a notification when an answer is published?

Collapse
 
darrendube profile image
darrendube

No, I don't think they get a notification. It doesn't even seem possible to reply to a comment - you instead have to post a separate comment.

I do agree that the sign in process to post a comment would be a put off for some, so I hope your solution will solve that

Collapse
 
hasnaindev profile image
Muhammad Hasnain • Edited

With all due respect, I think this is a pretty trash solution and just because it exist, doesn't mean you should use it. I'd rather use a headless CMS for something like this. Github issues aren't there to give your blog a comment functionality.

If you are going to use Gatsby.js and go against its static nature, not to forget compiling it every time you add something, you know you have a hammer for a problem that is not a nail.

For a blog, I'd rather use WordPress. I can add Barba.js for prefetching and smooth page transitions which will make it feel like any other SPA with the added benefit of superior SEO and dynamic content. Along with WebPack, code-splitting, lazy loading, I don't think there is any other better option available today.

If you are going to use a JAM stack website and end up going against its essential static nature, I think it is better to use Next.js if not WordPress. Because God forbid if one goes against the hype-train and use old technologies that are for cavemen (referring to PHP and WordPress).

Collapse
 
Sloan, the sloth mascot
Comment deleted
Collapse
 
hasnaindev profile image
Muhammad Hasnain

Please, reread my comment because you misunderstood me. I'm a MERN and LAMP stack developer. I don't choose one technology over another because I hold biases or misconceptions against them. I'm the type of person who understand that there are options and must choose a suitable option in order to solve the given problem. I've created the last few websites using WordPress and even my blog website is in WordPress.

Thread Thread
 
Sloan, the sloth mascot
Comment deleted
 
hasnaindev profile image
Muhammad Hasnain • Edited

I just think English is not your first language. I never said that PHP and WordPress is for cavemen, I said that usually new developers that jump at the MERN hype-train thinks that PHP and WordPress are for cavemen.

Collapse
 
laymonage profile image
sage

Utterances is great, but the problem with it is the fact that it (ab)uses GitHub Issues, which can flood your repository's issues. You can avoid this by creating a separate repository, but I built a better alternative: giscus. It utilizes GitHub Discussions instead, which includes support for replies, and other cool features.

Collapse
 
tanzimibthesam profile image
Tanzim Ibthesam

Its always about selecting the right tool for the right thing understanding business perspective I belive for blogs there are way better solutions already there

Collapse
 
allanmacgregor profile image
Allan MacGregor 🇨🇦

Does this work for private repositories?

Collapse
 
darrendube profile image
darrendube

Hi Allan. There's a great answer to that question here.

Collapse
 
darrendube profile image
darrendube

Hope you enjoyed this article! Go ahead and leave a comment on my original post to test Utterances out!