I dropped Disqus comment system from this site after reading this news: https://blog.disqus.com/disqus-and-zeta and the wikipedia page which raises many privacy concerns: https://en.wikipedia.org/wiki/Disqus#Criticism_and_privacy_concerns
Also, with this change, I have a fully static site, without any javascript.

So, I looked around to find a third party websites with a bit guarantee but could not find any.
So I decided to switch to asking reader to comment on third party sites like Twitter, LinkedIn and Github.

So I created links (see bellow this post) to share comments via those sites.


For Github, I could not find an official documentation describing the url format to create an issue with some fields prefilled but I found this: https://github.com/isaacs/github/issues/99 which explains how to prefill the title, body & label:
Note that you can’t prefill a random label. The label must b part of the project label list: https://help.github.com/articles/creating-a-label/

And here is the result:
Post Github issue


For Twitter, there is a nice documentation: https://dev.twitter.com/web/tweet-button/web-intent

Here is the URL: https://twitter.com/intent/tweet?url=https://example.com/myPage&via=tomap

And here is the result:
Share on twitter

To have a nice “card”, I had to add a few missing Open Graph tags:


Open Graph tags were also needed for LinkedIn but what already existed in the theme and what I added for Twitter was enough.

To create the url, I used this documentation: https://developer.linkedin.com/docs/share-on-linkedin# > Click on “Customized URL” and here is the result: https://www.linkedin.com/shareArticle?mini=true&url=https://tpî.eu/2018/01/10/New-comment-system/

And here is the result:
Share with LinkedIn

Then all I had to do was to add those links instead of Disqus comment system. See https://github.com/tomap/tpi2.eu/blob/master/themes/anodyne/layout/_partial/comments.ejs#L3