A while ago I was looking for a way to add a comment section to my static blog and this is the result of all the googling I did on the subject đȘđ»
Whatâs on the menu
Disqus
The first solution I looked into is Disqus, but I soon decided not to use it simply because, while itâs a valid software with a huge community, it has some glaring flaws (at least for me):
- the basic plan comes with ads
- it tracks its users
- if anonymous commenting is turned off, people need to create a Disqus account (more on that later)
- itâs way too complex for my needs
Jamstack Comments Engine
Jamstack Comments Engine â⊠is an example of how a Jamstack site can implement comments.â
Ok, this is not exactly the first search result that comes up when googling âstatic blog commentsâ, but I ran into it and considered it simply because, from a developer point of view, it is a very smart approach.
The solution proposed here consists of a combination of Netlify Forms and its Submission API to trigger a new build of the web every time a comment is posted, after itâs approved by a moderator. It additionally explain how to create a Lambda function to get notified on Slack whenever a new comment comes in.
While I found this approach very interesting, I still have a day job and didnât want to embark on the somewhat long, even though very well documented, process.
utterances
After I gave up on the comments feature (no one reads my two months old blog anyway), I stumbled upon utterances and it blew my mind with its simplicity. It took me 10 minutes to add it to this blog, build time included.

The perks
Straight from their page:
- Itâs open source
- It doesnât track users
- No ads đđ»
- All the comments data is stored in GitHub issues
- Itâs lightweight
So, how does it work?
First of all, it uses GitHub issues to track comments, based on the post title: the first person to comment on a blog post will trigger the creation of a related issue and future comments on the same post will end up in that issue.
Smart, right? đź
The only requirements are that the repository connected to the app needs to be public and have the utterances app installed on it.
Users will comment using their GitHub account, which is perfect for a tech/programming blog.
Oh, and it comes with 8 themes that will play well with most of the color palette of the blogs out there!
How to install it
Their page is pretty straightforward: just follow the configuration steps (repository name, optional label for the issues, chosen theme and even issue title format!) and youâre left with a script tag to add to your blog template:
<script src="https://utteranc.es/client.js" repo="antoBit/antodev" issue-term="title" label="đŹ" theme="dark-blue" crossorigin="anonymous" async></script>
Note that the issue label supports emojis! đ
After that, just remember to install the utterances app on the same repository you provided in the repo attribute and youâre done!
Shameless plug
If you found this post useful and you liked it, why donât you leave a comment below? Iâd like to know what you think about this.
Thanks for reading!
Latest comments (15)
I was diagnosed with multiple sclerosis 6 years ago after experiencing weakness, numbness, and other symptoms. Despite numerous treatments, my condition worsened, and I was losing hope. Two years ago, my son recommended EarthCure Herbal Clinic( www. earthcureherbalclinic .com), where Dr. Madida Sam helped cure a friendâs mother of Parkinson Disease and HPV. I decided to give it a try, and within four months, all my symptoms reversed. Itâs been two years, and Iâm symptom-free, back to work, and living a healthy life. My doctors were amazed by my recovery. I highly recommend EarthCure, itâs been life-changing for me.
Some comments may only be visible to logged-in visitors. Sign in to view all comments.