I’m experimenting with turning back comments on selected articles. It applies to handpicked posts and you can comment using Github Issues.
Huge thanks to Artsy for the idea. Make sure to take a look at their guide on how to use Github Issues as a platform to host comments. You can also take a look at the pull request for the change.
- Go to the Github profile of an account that has repo access and generate an API Key. Put that and the Github account name in Heroku when asked. Deploy and take a note of the URL.
- Create the HTML of the comment as you want it. You can take a look here for ideas. Put the file in
- In your article template include the comment:
- If you want to style your comment add a .css or .scss file on .comment
- Open an Issue on the repo and copy the Issue id.
comment_idin your YAML for the post with the Issue id. If it’s not present comments will be off.
The problem I had with comments was lack of accountability and spam. This system resolves both of them.
It supports markdown and as a developer, you can use the same flow you use normally on Github.