gitalk: owner:"name_xxx" # 保存评论的仓库拥有者 admin:"name_xxx" # 保存评论的仓库管理员,其中管理员需要拥有初始化github issue 的权限,可以和owner相同 repo:"xxx_comment" # 保存评论的仓库名称,可以重新创建一个仓库用来专门存放评论 clientID:"xxxx" # 'GitHub Application Client ID'(上面配置github OAuth时会提供) clientSecret:"xxxx" # 'GitHub Application Client Secret'(上面配置github OAuth时会提供) perPage:10 # Pagination size, with maximum 100.默认就好了 pagerDirection: last # Comment sorting direction, available values are last and first.默认 createIssueManually:false # By default, Gitalk will create a corresponding github issue for your every single page automatically when the logined user is belong to the admin users. You can create it manually by setting this option to true language: zh-CN # Localization language key, en, zh-CN and zh-TW are currently available. maxCommentHeight:40 # An optional number to limit comments' max height, over which comments will be folded.Default 250. 建议少点,如果评论很多就不要用这个插件了 proxy: https://cors-anywhere.azm.workers.dev/https://github.com/login/oauth/access_token # GitHub oauth request reverse proxy for CORS. For example, the demo url is 'https://cors-anywhere.herokuapp.com/https://github.com/login/oauth/access_token'.You should deploy your own proxy url as in this issue https://github.com/gitalk/gitalk/issues/429.默认