GitHub Issue Comments for GitHub Blog

Publishing a blog post is exciting. You share your ideas with the world. But if readers can’t leave comments on your post, it can feel a little… quiet. Do you want to turn your blog into a conversation?

Adding a comment system to a static blog can sometimes be challenging because static sites do not have a built-in database to store user comments. If your blog is hosted on GitHub Pages, however, there is a simple and elegant solution: turning GitHub Issues into your comment system.

Turn Your Blog Posts into Discussions

On GitHub, Issues are normally used to track bugs and discuss project features. But they can also serve another powerful purpose—community interaction.

Instead of building a complex comment database, your blog can simply use GitHub’s existing discussion system.

Set Up Comments for Your GitHub Blog Using GitHub Issues

Setting up GitHub Issue comments only takes a few steps. Once it’s ready, every post on your blog can have its own discussion space.

Here, I’d like to introduce two helpful articles about setting up comments for a GitHub blog using GitHub Issues:

1. A new comments system for my static Jekyll site

– The author is Ari Stathopoulos.

2. GitHub hosted comments for GitHub hosted blogs

– The author is Ivan Zuzak.

Finally, I was able to make it work on my blog as Ari Stathopoulos suggested. With this setup, readers can sign in with their GitHub accounts, join discussions, and even react to comments with emojis. I really enjoy using it.

Written on December 31, 2019

Comments

    Leave a comment here with a GitHub account. It will appear on this page instantly.