Comments powered by GitHub
Maybe it's a bit too early to start meta-posting but I am starting to doubt the decisions I took regarding this so may be if I go through the process of it I might feel a bit better.
GitHub does not provide any comment system as such, so the blogging story is somewhat incomplete. Which once again makes for a good challenge. Setting up a database and using it for comments is out of the question for me - have to host it somewhere, setting up all the processes around the management of comments - posting comments, reviewing, e-mail notifications, responding by e-mail, etc. It basically would erase the simplicity GitHub pages gives me.
At this point I get this idea that it would be really awesome if I can somehow get the GitHub issue discussion page and embed it into my blog. I checked out the GitHub issues API - looked good; I googled around and found this post by Ivan Zuzak essentially implementing the same idea. I stole a whole lot of code from that post but I need a few more things to make it really work well.
So what are the pros and cons with the GitHub-issue-as-a-backend:
- Open API to access the comments, accessible by anyone, which is right - I do not own anyone's comments
- GitHub handles sending email notifications as well as answering to comments by email
- Full control over the HTML/CSS of the comments section
- Trustworthy (so far) keeper of the data - GitHub
- commenters do need a GitHub account
I believe my current and potential readers are the kind of people who do have a GitHub account so hopefully this one drawback does not matter, but if you would like to comment and don't have an account please tweet at me and I would proxy on your behalf.
I think I feel better now ;-)