ydoc-plugin-gitalk

0.0.6 • Public • Published

ydoc-plugin-gitalk

YDoc 评论插件,基于 gitalk

Usage

In the ydoc config file, configuration:

{
  pluginsConfig: {
    "gitalk": {
      on: true,
      owner: ['dwb1994'],
      repo: 'gitalk0',
      admin: 'dwb1994',
      clientID: 'b342e8d71f6f48b2e0c9',
      clientSecret: 'f078384fd5bbbbe08520dc0f1b4d0c55e9cb2c1e'
    }
  }
}

configs meanings:

gitalk:
  on: true
  owner: 你的 github 账户名
  repo: 你要作为评论系统的 repo
  admin: ['github 用户名']
  clientID: 你的 clientId
  clientSecret: 你的 clientSecret

opstions same as 在hexo中使用gitalk

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.6
    0
    • latest

Version History

Package Sidebar

Install

npm i ydoc-plugin-gitalk

Weekly Downloads

0

Version

0.0.6

License

ISC

Unpacked Size

278 kB

Total Files

6

Last publish

Collaborators

  • ymfe