hexo-theme-3-hexo icon indicating copy to clipboard operation
hexo-theme-3-hexo copied to clipboard

add support for giscus, another comment component

Open TremblingV5 opened this issue 1 year ago • 0 comments

This PR is for adding support for giscus which is based on utteranc.

In components which this repo supported, I prefer gitalk and utteranc. But they still not good enough:

  1. gitalk need load a .js file which have a big size. Hexo blog always deploy on github pages, this maybe take much time on load gitalk.js.
  2. utteranc is too simple, only can add comments.

I think giscus is better than above 2 components.

  1. giscus only have a small size dependencies
  2. giscus is depend on github dicussions, it can achieve more features
  3. now giscus and github discussions both active, there're will be more new features

More, giscus also can count comments. But now I haven't add it to this PR. It's valuable if we can explore on it.

Finally, this is simple screenshot for giscus in 3-hexo:

image

TremblingV5 avatar Feb 21 '24 16:02 TremblingV5