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.

Github

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:
https://github.com/account/repo/issues/new?labels=mylabel&title=myTitle&body=myBody
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:

Twitter

For Twitter, there is a nice documentation: https://developer.twitter.com/en/docs/twitter-for-websites/web-intents/overview

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

And here is the result:

{% flickr 27866246469 %}

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

LinkedIn

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:

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

🕗2018-01-12