A useful comment system for blog or homepage
- 跨终端的评论框&评论列表样式
- 留言按层级展示
- 评论和回复邮件提醒,让你时刻掌握博客上动态
- 同时支持http和https
同时支持MongDB和SQLite,可以根据需要选择合适的类型,本文档以使用SQLite为例,查看MongDB使用。
git clone https://github.com/yuyouwen/shuoba.git
cd shuoba && npm install
打开bin/customConfig.js
文件,修改站点地址(url)和邮件(personEmail)相关配置
var customConfig = {
// 网站地址
url: 'https://www.iyuxy.com',
title: '喻小右',
poweredby: '喻小右正在使用说吧',
// 接受邮件通知邮箱
personEmail: '[email protected]',
sendEmail: true,
// 邮件配置
mail: {
from: '[email protected]'
// 如不提供,将使用node启动邮件程序
options: {
host: 'smtp.exmail.qq.com',
port: 25,
auth: {
// qq邮箱地址
user: '96232**[email protected]',
// qq邮箱密码
pass: '****'
}
}
}
};
npm start
https://localhost:3001/demos.html