gougou1993/dsh-sticky-notes ↗★ 1
@oakzhong/dsh-sticky-notes
A sticky notes panel with a left sidebar entry.
Install
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:gougou1993/dsh-sticky-notesREADME
Read the full README ↗使用技术
| 层面 | 技术 |
|---|---|
| 插件框架 | DSH Cordis bundle(cordis.patch.yml 插入 Loader 行) |
| Host 半部 | ESM export function apply() {},无后端路由 |
| Client 半部 | window.__ModuleLoader__ 注册的前端模块,React 无 JSX(React.createElement) |
| UI 样式 | 组件内注入 ``(data-plugin-css 标识),使用 DSH 主题 token,自动适配明暗主题 |
| 国际化 | ctx.locale.register / bind,中英双语(zh / en) |
| 数据存储 | 浏览器 localStorage,键 dsh-sticky-notes.notes.v1 |
| 图形 | CSS 绘制卡片(便签纸折角用渐变模拟),无图片依赖 |
安装与使用
- 通过插件管理器安装该 bundle(
install_bundle指向本目录) - 左侧栏点击「便利贴」
- 点「新建便利贴」开始记录,标题和正文可随时编辑,自动保存
- 用颜色按钮区分便签,用搜索快速定位,用缩放调整卡片大小