karuppiah7890 / blog

My Blog :tada:
https://karuppiah7890.github.io/blog/
0 stars 0 forks source link

Replace Disqus with other commenting system #6

Open VincentTam opened 5 years ago

VincentTam commented 5 years ago

Hi, this is the maintainer of @staticmanlab, a public GitLab instance of Staicman. Here's some shortcomings of Disqus.

  1. Disqus and Isso contain a 3rd-party script to be loaded during page rendering. The code block for loading each of them shows that the static comments are not rendered as static HTML code. This hinders search engines from grabbing the comments, which are part of the site's content. As a result, that leads to suboptimal SEO.
  2. Disqus is difficult to access for non programmers in the PRC, as reported in https://github.com/Huxpro/huxpro.github.io/issues/258#issuecomment-430842480.

To see more reasons for migrating from Disqus, you may view

  1. https://victorzhou.com/blog/replacing-disqus/
  2. https://old.reddit.com/r/programming/comments/b9022a/switching_off_of_disqus_reduced_my_page_weight_by/
  3. https://medium.com/remys-blog/ejecting-disqus-4120e9985823
  4. https://fatfrogmedia.com/delete-disqus-comments-wordpress/

You may avoid these problems by switching to Staticman, which makes use of GitHub/GitLab Pull/Merge Requests instead of issues. Under Staticman's model, static comments are YML/JSON files stored in the remote GitHub/GitLab repo (usually under data/comments, configurable through the path parameter in root-level staticman.yml), and through a static blog generator (Jekyll/Hugo/etc), the stored data are rendered as part of the content. This gives a total ownership of a static site's comments.

:information_source: There're many ways to Rome, say JAM Stack, Jekyll AWS comments, etc.

karuppiah7890 commented 5 years ago

Interesting! Thanks @VincentTam for creating this cool thing and for making me aware about it. I had some ideas too, to replace disqus, as I read here https://gitlab.com/commento/commento about some of the problems with disqus. I was planning to contribute to commento project and get the hosted service for free (yeah, it's a perk!) ๐Ÿ˜‰ .

I'll consider this too! Thanks again! Currently I don't have much time to check on this. I did notice there's still a service included, but that I have a choice to host it myself (Heroku to the rescue!). Will think on it. Currently I don't think I'm getting any comments in my blog ๐Ÿ˜… so, not gonna worry too much about it now ๐Ÿ˜„