Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support gittalk #807

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

support gittalk #807

wants to merge 1 commit into from

Conversation

151250010
Copy link

  • PR增加内容:gittalk 评论支持
  • 背景:多说已关闭,网易云跟帖停服,畅言多广告非常重,需要增加轻量级接入简单的博客评论框架
  • 改动:以配置形式支持gittalk博客评论,md5计算请求url之后作为评论页的id。
  • demo:
    yilia 配置文件中增加配置:
gittalk: true
gittalk_clientID: 'xxx'
gittalk_clientSecret: 'xxx'
gittalk_repo: 'Blog_Gittalk_Comments'
gittalk_owner: 'github user name'
gittalk_admin: ['github user name' ... ]

参数解释:
clientId 和 clientSecret: New Github Application , 新建一个应用即可,创建应用时候 HomepageUrl 和 Authorization callback URL 都是填博客主域名,我的是 https://151250010.github.io/

repo: 是自己创建的Blog_Gittalk_Comments仓库,用于存放评论

owner: Github 用户名
admin: Github 用户名数组

  • 评论效果:
    image

详细可以查看Git talk 展示

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant