Giscus is a commenting system based on GitHub Discussion that is easy to start.
Create a public repository and open discussion panel as a place to store comments.
Install the Giscus App to have permission to access the corresponding repository.
After completing the above steps, please go to the Giscus page to get your settings.
You just need to fill in the repository and Discussion categories, then scroll to the "Enable giscus" section at the bottom of the page and obtain four attributes:
data-category-id as plugin options as
For other options, see Giscus Config.
By default, the theme of Giscus is
dark (based on darkmode status).
To let Giscus apply the correct theme, you need to pass a boolean value to
<CommentService /> via
darkmode property, indicating whether darkmode is currently enabled.
If you want to customize theme in lightmode and darkmode, you can set
darkTheme option with a built-in theme keyword or a custom css link starting with