{"id":24969293,"url":"https://github.com/yianandcode/comment2fanwan","last_synced_at":"2025-04-11T04:40:30.162Z","repository":{"id":85968807,"uuid":"360763844","full_name":"YianAndCode/Comment2Fanwan","owner":"YianAndCode","description":"Typecho 新评论饭碗通知","archived":false,"fork":false,"pushed_at":"2021-05-06T14:34:59.000Z","size":180,"stargazers_count":30,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-25T02:43:45.061Z","etag":null,"topics":["typecho","typecho-plugin"],"latest_commit_sha":null,"homepage":"","language":"PHP","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/YianAndCode.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-04-23T04:36:52.000Z","updated_at":"2024-12-31T11:58:43.000Z","dependencies_parsed_at":null,"dependency_job_id":"5c0b8adb-a578-499e-b6d4-2cb3984f8ccf","html_url":"https://github.com/YianAndCode/Comment2Fanwan","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YianAndCode%2FComment2Fanwan","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YianAndCode%2FComment2Fanwan/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YianAndCode%2FComment2Fanwan/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YianAndCode%2FComment2Fanwan/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/YianAndCode","download_url":"https://codeload.github.com/YianAndCode/Comment2Fanwan/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248345274,"owners_count":21088241,"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","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":["typecho","typecho-plugin"],"created_at":"2025-02-03T14:37:08.863Z","updated_at":"2025-04-11T04:40:30.155Z","avatar_url":"https://github.com/YianAndCode.png","language":"PHP","readme":"# Comment2Fanwan\nTypecho 新评论[饭碗警告](https://fwalert.com/115)通知\n\n## 说明\n\n因为微信服务号模板消息将在 2021.04.30 改版，届时 `Server酱` 将无法正常使用，依赖于它的 `Comment2Wechat` 也将无法正常使用，故开发此插件\n\n## 使用方法\n\n 1. [点此下载](https://github.com/YianAndCode/Comment2Fanwan/archive/master.zip)后解压，将解压后的目录名改为 `Comment2Fanwan`，然后上传到你的 Typecho 的 `/usr/plugins`，并在 Typecho 后台开启插件\n 2. 到[饭碗警告](https://fwalert.com/115)里创建规则，并将触发方式设置成 `Webhook`，~~接着创建五个`变量名` 和 `键`为后面所列的`模板变量`：`title`、`author`、`comment`、`created_at`、`url`，~~ 可参考以下截图：\n  ![](screenshots/fw_settings_intro.jpg)\n  最后在通知正文添加\n```\n{{ author }} 于 {{ created_at }} 在您的文章\u003ca href=\"{{ url }}\"\u003e《{{ title }}》\u003c/a\u003e发表了评论：\n{{ comment }}\n```\n  *当然，你也可以按照你的喜好修改文案，本插件会向饭碗推送 `title`、`author`、`comment`、`created_at`、`url` 这几个模板变量，在正文中用诸如 `{{ author}}` 的写法即可，它会动态替换*\n\n 3. 将你创建的规则的 `Webhook` 地址填到插件设置里，保存即可\n\n## TODO：\n - [x] 我已经在跟 Mufan 团队沟通，争取通过接口来简化配置规则这一步骤  \n - [ ] 如果你有其他需求，欢迎提 issue\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyianandcode%2Fcomment2fanwan","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyianandcode%2Fcomment2fanwan","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyianandcode%2Fcomment2fanwan/lists"}