{"id":17498156,"url":"https://github.com/discussjs/discuss","last_synced_at":"2025-10-10T09:10:06.287Z","repository":{"id":40271895,"uuid":"423751390","full_name":"discussjs/discuss","owner":"discussjs","description":"一款简单，安全，免费的评论系统 | A simple, safe, free comment system","archived":false,"fork":false,"pushed_at":"2024-05-02T14:22:16.000Z","size":2874,"stargazers_count":83,"open_issues_count":5,"forks_count":13,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-07T13:31:43.141Z","etag":null,"topics":["comment-system","comments","concise","discuss","nodejs","svelte","sveltejs"],"latest_commit_sha":null,"homepage":"https://discuss.js.org","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/discussjs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-11-02T07:51:21.000Z","updated_at":"2025-03-09T14:01:49.000Z","dependencies_parsed_at":"2024-06-21T14:19:51.839Z","dependency_job_id":"f212ede0-360d-4712-a5ed-7b82be8f4c41","html_url":"https://github.com/discussjs/discuss","commit_stats":{"total_commits":145,"total_committers":3,"mean_commits":"48.333333333333336","dds":"0.11724137931034484","last_synced_commit":"0d9d1d14d444b6e7eb983648b7c0f810d7b99490"},"previous_names":[],"tags_count":43,"template":false,"template_full_name":null,"purl":"pkg:github/discussjs/discuss","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/discussjs%2Fdiscuss","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/discussjs%2Fdiscuss/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/discussjs%2Fdiscuss/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/discussjs%2Fdiscuss/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/discussjs","download_url":"https://codeload.github.com/discussjs/discuss/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/discussjs%2Fdiscuss/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279003389,"owners_count":26083579,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-10T02:00:06.843Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["comment-system","comments","concise","discuss","nodejs","svelte","sveltejs"],"created_at":"2024-10-19T16:10:31.720Z","updated_at":"2025-10-10T09:10:06.273Z","avatar_url":"https://github.com/discussjs.png","language":"JavaScript","readme":"\u003ch1 align=\"center\"\u003e\u003ca href=\"https://discuss.js.org\" target=\"_blank\"\u003e\u003cimg src=\"./assets/svg/Logo.svg\" width=\"360\" height=\"90\" alt=\"Logo\"\u003e\u003c/a\u003e\u003c/h1\u003e\n\u003cp align=\"center\"\u003e一款简单，安全，轻量，免费的评论系统 | A simple, safe, free comment system\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://discuss.js.org\" target=\"_blank\"\u003e\u003cimg src=\"https://img.shields.io/badge/Docs-文档-1081c1?logo=read-the-docs\" alt=\"Docs\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://github.com/discussjs/discuss/releases/\"\u003e\u003cimg src=\"https://img.shields.io/npm/v/discuss?color=critical\u0026logo=npm\" alt=\"Version\"\u003e\u003c/a\u003e\n    \u003cimg src=\"https://img.shields.io/npm/dm/discuss\" alt=\"Downloads\"\u003e\n    \u003ca href=\"https://jq.qq.com/?_wv=1027\u0026k=lh7oS7Xt\"\u003e\u003cimg src=\"https://img.shields.io/badge/QQ群-343890210-00a4ff?logo=tencent-qq\" alt=\"QQ群\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://github.com/discussjs/discuss/blob/dev/LICENSE\"\u003e\u003cimg src=\"https://img.shields.io/npm/l/discuss?color=ee5535\" alt=\"MIT License\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n## 简介\n\n**Discuss**是一款简单，安全，免费的评论系统，仅提供基础的评论功能，并没有过多的功能\n\n这可以使得 **Discuss** 可以融合进其它项目，甚至可以方便而再此基础上进行二次开发\n\n举例可以二次开发添加如下新功能，甚至其它更多功能\n\n1. 新增**Markdown**、代码块高亮等等\n2. 新增图片上传\n3. 新增数学公式\n4. 新增点赞功能\n5. 新增 IP 属地\n6. 新增显示用户操作系统、浏览器等\n\n不管你的网站使用的是什么配色 **Discuss** 都可以轻松适应，如: 浅色/深色模式切换，**Discuss** 会自适应\n\n## 个性\n\n- 多数据库支持(5 种)\n- 深色模式 (自动适配深色模式)\n- 支持自定义`博主` `置顶`表示文字\n- 支持自定义评论框`placeholder`(占位符)\n- 支持限制评论字数 (避免大量文字信息写入数据库)\n- 支持自定义邮件模板\n- 支持自定义表情列表 (类型: Text \\ image)\n- 支持外链自定义表情 (类型: Text \\ image)\n\n## 特点\n\n- **真**·安全\n- 轻量 (~60kb gzip: ~20kb)\n- 自托管 (Nodejs 后端跨平台)\n- 免费部署 (Server、ServerLess 均可部署)\n- 邮件通知\n- 防 XSS 注入\n- 嵌入式评论管理\n- 批量处理 (通过 \\ 审核 \\ 垃圾 \\ 删除 )\n- 在线编辑 (评论信息 \\ 配置信息)\n- 评论搜索 (模糊搜索: 昵称、邮箱、IP、评论内容、文章地址)\n- 自动保存 (评论草稿、用户名、邮箱、网址)\n- 身份认证 (博主 Tag \\ 自定义)\n- 评论头像 (Gravatar \\ QQ 头像)\n- 反垃圾检测 ([Akismet-API](https://akismet.com/))\n- 限制评论频率 (每个 IP 10 分钟内最多评论多少条 \\ 10 分钟内所有 IP 只能评论多少条)\n\n## 开发\n\n加入我们一起开发\n\n```bash\ngit clone https://github.com/discussjs/Discuss.git Discuss\ncd Discuss\nnpm install               # 安装依赖\nnpm run start:client      # 启动客户端\nnpm run start:server      # 启动服务端\nnpm run lint              # 在提交代码之前，您因该对你写的代码进行检查\n```\n\n## 特别感谢\n\n- [Pubudu Dodangoda](https://github.com/pupudu) 提供的 NPM 包名\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiscussjs%2Fdiscuss","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdiscussjs%2Fdiscuss","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiscussjs%2Fdiscuss/lists"}