{"id":27013959,"url":"https://github.com/excellen114514/jmcomic-plugin","last_synced_at":"2026-05-09T09:09:29.744Z","repository":{"id":286037229,"uuid":"960155492","full_name":"excellen114514/jmcomic-plugin","owner":"excellen114514","description":"一个适用于yunzai的jm查本插件包","archived":false,"fork":false,"pushed_at":"2025-04-04T00:40:19.000Z","size":32,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-09T17:52:53.307Z","etag":null,"topics":["bot","javascript","jmcomic","nodejs","plugin","python","yunzai","yunzai-bot"],"latest_commit_sha":null,"homepage":"","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/excellen114514.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":"2025-04-04T00:25:29.000Z","updated_at":"2025-04-04T09:58:20.000Z","dependencies_parsed_at":"2025-04-09T17:41:36.747Z","dependency_job_id":null,"html_url":"https://github.com/excellen114514/jmcomic-plugin","commit_stats":null,"previous_names":["excellen114514/jmcomic-plugin"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/excellen114514/jmcomic-plugin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/excellen114514%2Fjmcomic-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/excellen114514%2Fjmcomic-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/excellen114514%2Fjmcomic-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/excellen114514%2Fjmcomic-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/excellen114514","download_url":"https://codeload.github.com/excellen114514/jmcomic-plugin/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/excellen114514%2Fjmcomic-plugin/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262056600,"owners_count":23251708,"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":["bot","javascript","jmcomic","nodejs","plugin","python","yunzai","yunzai-bot"],"created_at":"2025-04-04T13:19:19.353Z","updated_at":"2026-05-09T09:09:24.708Z","avatar_url":"https://github.com/excellen114514.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# yz-jmcomic-plugin\r\n一个适用于yunzai的jm查本插件包\r\n\u003e [!WARNING]\r\n\u003e 爱护jm，不要爬那么多本，西门\r\n\u003e -- 官网地址: https://18comic.vip\r\n\r\n## 想说的\r\n- 本项目基于[Python API For JMComic (禁漫天堂)](https://github.com/hect0x7/JMComic-Crawler-Python/tree/master)简单改造而来\r\n- 使用简单，容易上手\r\n- 本插件包旨在一键部署化，是源于[yz-jmcomic.js](https://github.com/excellen114514/yz-jmcomic.js)的改造\r\n  \r\n## 食用方法\r\n- 根目录运行\r\n```shell\r\ngit clone --depth=1 https://github.com/excellen114514/jmcomic-plugin.git ./plugins/jmcomic-plugin/\r\n```\r\n- 先安装api的依赖和修改.env文件: #jm安装依赖, #jm路径写入\r\n- 启动api:对bot发送 #jm(启动|重启)api\r\n- 查本： #jm查{本子号}\r\n- 检查api情况： #jm检查api\r\n- 定时检查api情况（重启失效）：#jm定时检查\r\n\r\n## 注意事项\r\n- 需要准备python\u003e=3.7环境 [戳我下载](https://www.python.org/downloads/)\r\n- 塞了简单的配置文件，如需自己更改可 [戳此查看](https://github.com/hect0x7/JMComic-Crawler-Python/blob/master/assets/docs/sources/option_file_syntax.md)\r\n- api会每隔一小时删除一次工作目录下除了long和pdf文件夹的所有文件夹\r\n- 脚本有简单的崩溃重启，非正常退出(0 code)会重新执行命令\r\n\r\n## 原理\r\n- 使用Flask创建一个简单的webapi，并在node中用fetch请求和捕获异常\r\n- 启动后本地地址应为 http://127.0.0.1:8000/jmd?jm=\r\n- pdf请求地址为 http://127.0.0.1:8000/jmdp?jm=\r\n- 检查status的地址为 http://127.0.0.1:8000/\r\n- jmcomic库会先把本子下载，再进行长图拼接\r\n\r\n## TODO\r\n- [ ] 白名单\r\n- [ ] 咕咕咕\r\n\r\n## PR or Issue？\r\n欢迎！pr审核一般在周末审核\r\n~~高中狗时间少，还请原谅呜呜呜，bug也可能神志不清就写出来了~~\r\n## 许可证\r\n本项目使用[MIT](https://zh.wikipedia.org/zh-hk/MIT%E8%A8%B1%E5%8F%AF%E8%AD%89)作为开源许可证\r\n\r\n## 感谢\r\n[Python API For JMComic (禁漫天堂)](https://github.com/hect0x7/JMComic-Crawler-Python/tree/master)\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexcellen114514%2Fjmcomic-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fexcellen114514%2Fjmcomic-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexcellen114514%2Fjmcomic-plugin/lists"}