JSPM

  • Created
  • Published
  • Downloads 83
  • Score
    100M100P100Q63351F

一个简单,安全,免费的评论系统 | A simple, safe, free comment system

Package Exports

  • discuss
  • discuss/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (discuss) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Discuss

一个简单,安全,免费的评论系统 | A simple, safe, free comment system

Version dev MIT License

简介

由于这是我在学习 vue 的过程中边学边做的,可能部分功能不是很完善

如果你有什么好的建议或者新功能,欢迎提出或参与贡献

感谢: Pubudu Dodangoda 提供的 NPM 包名

后台样式是借鉴于Twikoo,以后会有自己的想法、风格、布局做出更改

特点

  • 轻量 (40~kb gzip)
  • 自托管 (Nodejs 后端跨平台)
  • 深色模式 (自动适配深色模式)
  • 免费部署 (服务器、无服务器匀可部署)

评论

  • 邮件通知
  • 防 XSS 注入
  • 嵌入式评论管理
  • 支持 Markdown 语法 (启用 \ 禁用)
  • 评论审核
  • 批量处理 (通过 \ 审核 \ 垃圾 \ 删除 )
  • 在线编辑 (评论信息 \ 配置信息)
  • 评论搜索 (模糊搜索: 昵称、邮箱、IP、评论内容、文章地址)
  • 自动保存 (评论草稿、用户名、邮箱、网址)
  • 身份认证 (博主 Tag \ 自定义)
  • 评论头像 (Gravatar \ QQ 头像)
  • 反垃圾检测 (Akismet-API)
  • 限制评论频率 (每个 IP 10 分钟内最多评论多少条 \ 10 分钟内所以 IP 只能评论多少条)

个性

  • 支持限制评论字数 (以免被几万几万的写入数据库中)
  • 支持自定义邮件模板
  • 支持自定义博主表示文字
  • 支持多种代码高亮主题
  • 支持自定义评论框placeholder(占位符)
  • 支持自定义表情列表 (类型: Text \ image)

快速开始

官方文档: https://discuss.js.org/Quick-Start.html

Demo: https://discuss-demo.imlete.cn/

注意: 目前仅支持 MongoDB

开发

加入我们一起开发

git clone https://github.com/lete114/Discuss.git Discuss
cd Discuss
npm install               # 安装依赖
npm run start:client      # 启动客户端
npm run start:server      # 启动服务端