dsh-jmcomic
Agent 与会话 活跃维护

dsh-jmcomic

lywusichen/dsh-jmcomic

内置JMComic漫画搜索下载、本地漫画库管理及窗内阅读功能,插件源码离线可用,无需额外依赖即可快速搭建个人漫画阅读工具。

0
Stars 标星
0
Forks 分支
0
Watchers 关注
1
Open Issues
JavaScript
主要语言
MIT
开源协议
3.3 MB
仓库大小
3 个月前
最后推送
一键安装扩展 / 插件指令
dsh plugin --profile web add github:lywusichen/dsh-jmcomic
git clone https://github.com/lywusichen/dsh-jmcomic.git
git clone git@github.com:lywusichen/dsh-jmcomic.git
README.md main

dsh-jmcomic

English · 日本語 · 简体中文

A DeepSeek Harness plugin. Adds a comic button in the sidebar to search & download manga from JMComic (18comic), browse your local library, and read inside a window.

Features

  • Sidebar comic button (above the skills button)
  • Small panel: search by ID or title and download; once a local folder is bound, shows the 2–3 most recent covers, click one to start reading
  • Large modal: grid of every comic in the local folder, click in to see the chapter list
  • Reader window: drag any edge/corner to resize, drag the top bar to move; size and position are remembered
  • Reopening a comic jumps back to the chapter and page you last read
  • Reader footer shows current page / total, with an input to jump to any page
  • Hover a card to reveal a delete button (only albums inside the base folder; root and system directories are protected)
  • "downloading …" banner while downloads run
  • Settings → Plugins → Plugin Configuration → jmcomic card to change the default folder and Python path
  • One-time hint on first run if the environment is incomplete, with a link to the upstream project

Screenshots

Sidebar comic trigger

Small panel: search + local covers

Large modal: local library grid

Offline

The plugin bundles jmcomic 2.7.3 source, commonX, the jmcomic-ai package and the reader frontend (in vendor/), so it works without installing the jmcomic PyPI package. Missing binary deps degrade automatically:

Missing Behavior
curl_cffi falls back to requests
Pillow no image decode; files download but can't be previewed
pycryptodome prompts to install

Install

dsh plugin --profile web add github:lywusichen/dsh-jmcomic

Build

npm install   # esbuild
npm run build # generates lib/client.js and lib/server.cjs

Configuration

  • Settings file: ~/.dsh/plugins/dsh-jmcomic/settings.json (Windows)
  • Downloads use the api client directly, directory rule Bd/{Atitle}/第{Pindex}話, low concurrency (image 3 / photo 1)

Disclaimer

The download engine, reader frontend and some helper scripts come from hect0x7's projects, vendored under vendor/:

Copyright belongs to their respective authors.