DSH HUB
首页插件商店插件包社区排行榜资源发布指南
插件源码
返回插件目录

Hoemr /

Hoemr/dsh-quicklook

已验证

QuickLook-style space-key large preview for DSH better-sidebar: press Space on the active file tab for an instant image/PDF/text overlay

★ 0 Stars0 Forks0 IssuesN/A 社区评分0 已确认安装
查看 GitHub
README来源: main@b76f8375

dsh-quicklook

QuickLook-style space-key large preview for dsh-better-sidebar: press Space on the active file tab for an instant image / PDF / text overlay.

How it works

active file tab (dsh-better-sidebar) ── Space ──▶ large overlay preview
                                                    ├── images / PDF  → sidebar media route
                                                    └── text-like     → fs.read
Space / Escape ──▶ close overlay
  • client-only plugin: the host half is a dormant stub; all behavior lives in the browser half (src/client/ → lib/client.js).
  • Space outside any input opens the overlay for the sidebar's active file tab; pressing it again (or Escape) closes it.
  • Zoom scale is remembered across sessions via localStorage (dsh-quicklook:size).
  • Optional peer contract: without dsh-better-sidebar mounted, the plugin contributes nothing (hot-pluggable, either activation order works).

Install

dsh plugin --profile desktop add dsh-better-sidebar@0.13.1   # or @0.14+ on DSH rc.8
dsh plugin --profile desktop add dsh-quicklook@0.1.0
# then restart the app so bundles mount; hard-refresh the web view

# dev flow:
# dsh plugin --profile desktop add link:D:/Coding/dsh-quicklook

Config

None — the bundle patch simply mounts the client-only plugin:

- insert:
    - id: quicklook
      name: 'dsh-quicklook'

Development

pnpm install
pnpm build       # tsc -b && tsdown
pnpm test        # vitest run
pnpm typecheck

License

MIT

—/ 5

暂无评分

已验证 DSH bundle

Commit b76f8375d3fc

社区评论

还没有评论,来写第一条。

DSH HUB

社区维护的 DSH 插件索引。不是 GitHub 或 DeepSeek AI 的官方产品。

社区资源API关于