tangly1024 / NotionNext

使用 NextJS + Notion API 实现的,支持多种部署方案的静态博客,无需服务器、零门槛搭建网站,为Notion和所有创作者设计。 (A static blog built with NextJS and Notion API, supporting multiple deployment options. No server required, zero threshold to set up a website. Designed for Notion and all creators.)
https://tangly1024.com
MIT License
7.15k stars 9.97k forks source link

【评论功能】使用Notion自带评论功能 #2179

Open githubyangkai opened 5 months ago

githubyangkai commented 5 months ago

为什么不用notion自带的评论功能呢? 今天在GitHub上面看到有个同样是利用notion搭建博客的项目,项目地址是https://github.com/goldeye0351/notion-blog?tab=readme-ov-file ,他的下面说的是“评论采用自带的notion” Quicker_20240316_194309 我的评论是用的Twikoo,刚开始给它用了个二级域名可以正常评论,后来发现被墙了,今天发现了这个项目,我不懂代码这些,就想问一下,咱们这个能像他这样弄吗?

tangly1024 commented 5 months ago

很好的想法,感谢分享!

Notion确实有自带评论,但似乎要登录Notion才能评论;

如果访客没有Notion账号,该如何评论呢。 image

githubyangkai commented 5 months ago

嗯?好像不需要登陆吧,我问过作者了。 Quicker_20240320_120520 我想你可以去他的博客试一下,只需要填写昵称和邮箱即可 Quicker_20240320_120908 这是他的博客链接[https://51xmi.com/0225010553]

tangly1024 commented 5 months ago

https://51xmi.com/zh/0816114105 拜读了作者的文章,确实是很棒的方案。

作者也完全开源了相关代码,值得研究一下: https://github.com/goldeye0351/notion-blog