Skip to content

Cusdis

迁移自:Cusdis 发布日期:2023-6-27 最后编辑:2024-2-2 原栏目:📩 评论插件

Cusdis

完成效果预览

您的博文底部会有这样的评论页面。

Untitled

开始

注册Cusdis

访问Cusdis的官网进行登录注册

Cusdis - Lightweight, privacy-first, open-source comment system

The JS SDK embedded to your website is only around 5kb (gzipped). It has built-in i18n, dark-mode. Moderate all the comments on a dashboard. You will receive Email notification when a new comment comes in, and approve the new comment without login. You can set a Webhook URL that will be triggered when your websites have new comment.

点击`Start for free` ,并用Github登录即可 `Sign in With Github` (点击查看截图)

UntitledUntitled

[可选] 配置邮件通知地址,以便收到新评论时邮件通知您,(点击展开截图)

Untitled

点击左上角`New website`. 填写网站名字完成创建。

Untitled

点击`Embed Code`获取您的应用ID,即`data-app-id`, 复制这串id备用。

UntitledUntitled

配置NotionNext

在Vercel后台添加一个环境变量` NEXT_PUBLIC_COMMENT_CUSDIS_APP_ID`,值为上面获取到的`data-app-id`。

Untitled

添加完环境变量记得`Redploy`项目。

Untitled

说明

cusdis 评论区收到用户评论后会发一封邮件通知管理员,需要管理员审核通过 (点击Approved)后才会展示评论内容:

Untitled

原文链接

https://docs.tangly1024.com/article/notion-next-cusdis