Invoice-Downloader
EthanYoQ
电子发票整理与报销准备工具:从邮箱批量收集 PDF/OFD/XML 发票,OCR 识别、分类归档并生成 Excel 汇总;提供 Windows/macOS 桌面版与 DSH 插件。
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:Buir5/_turn-sound
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
中文 | English
🧭 收有想法的兄弟 · 你也可以的。年入百万级。
从「发现一个痛点」→「写个几百行的小工具」→「挂上资源位」→「有人付钱」,全流程我在这篇里讲透了。 想学这门手艺的,点这里:👉 收徒说明(知乎)
一轮对话结束,响一声;同时左上角弹一行账:这一轮扣了多少钱、余额还剩多少。十秒后自己淡出。
一个 DeepSeek Harness(DSH)插件。宿主半区跑在 Node 里负责记账与发音频,客户端半区是一个 38px 的金色铃铛,点开是设置面板。
DSH 干完一轮活是「静悄悄」的——你去干别的了,回来才发现它早答完了;额度是花了多少,也只能去网页里翻。
这个插件把两件事放到你眼皮底下:
| 能力 | 说明 |
|---|---|
| 回合结束提示音 | 检测到这一轮真正结束(不是流式中)才响,同一轮只响一次 |
| 扣费浮层 | 左上角显示「本轮扣费 / 余额」,可拖动,10 秒淡出,位置记在浏览器里 |
| 额度账本 | 监听 session/event 的 assistant/message.usage,按模型单价算人民币 |
| 余额校准 | 优先走 deepseekAccount.getBalance(),取不到再回落 API key / 旧快照 |
| 自定义音频 | 面板里选本地 MP3/WAV 上传,或直接用内置提示音 |
# 1) 放进 DSH 的 profile 依赖
# ~/.dsh/profiles/desktop/package.json 里加:
# "_turn-sound": "file:C:/path/to/_turn-sound"
# 并在 dsh.profile.bundles 里加上 "_turn-sound"(放第一位才会排在最上)
# 2) 让 DSH 认得这个包(关键,缺了它插件不会进应用图)
# 包自带 cordis.patch.yml:
# - insert:
# - id: _turn-sound
# name: _turn-sound
装完重启 DSH,右下角出现金色铃铛即生效。
~/.dsh/turn-sound/config.json数据目录:~/.dsh/turn-sound/(config.json、ledger.json、上传的音频)。
插件启动时会去读仓库根目录的 version.json(fetch + no-store)。发现远端版本比本地新,铃铛右上角会多一个红点,面板底部显示 v当前 → v最新 · 去更新,点开是 Release 页。没有网络时静默跳过,不影响播放。
dsh.client.platform = web)挂载;客户端必须是 window.__ModuleLoader__.load({...}) 包装,顶层 export 会让渲染层报 Unexpected token export 并让整个 web boot 判定失败。busyUI() 里的选择器。MIT。作者:知乎老哥
A round of chat ends, it chimes once; a line appears at the top-left: how much this round cost and what is left. Fades out after ten seconds.
A DeepSeek Harness (DSH) plugin. The host half runs in Node and owns the ledger plus audio serving; the client half is a 38px golden bell — click it for settings.
DSH finishes a turn in total silence: you walk away, come back, and it has been done for minutes. And the money spent is only visible somewhere on a web page.
| Feature | Detail |
|---|---|
| Turn-end chime | Fires only when the turn is really over (not streaming), at most once per turn |
| Cost overlay | Top-left shows cost of this round plus remaining balance; draggable, 10s fade, position remembered |
| Ledger | Listens to assistant/message.usage in session/event, prices tokens per model in CNY |
| Balance | Prefers deepseekAccount.getBalance(), falls back to API key, then last snapshot |
| Custom audio | Upload your own MP3/WAV from the panel, or keep the built-in ding |
# 1) add to your DSH profile dependencies
# in ~/.dsh/profiles/desktop/package.json:
# "_turn-sound": "file:C:/path/to/_turn-sound"
# and append "_turn-sound" to dsh.profile.bundles (first position keeps it on top)
# 2) make DSH actually load it — the package ships cordis.patch.yml:
# - insert:
# - id: _turn-sound
# name: _turn-sound
Restart DSH. A golden bell appears at the bottom-right when it is live.
试听 (preview) to check loudness, 测浮层 (test overlay) to preview the quota card保存 (save) writes ~/.dsh/turn-sound/config.jsonData dir: ~/.dsh/turn-sound/ (config.json, ledger.json, uploaded audio).
On boot the plugin fetches version.json from the repo root (with no-store). If the remote version is newer, the bell gets a red dot and the panel footer shows vCurrent → vLatest · update, linking to the Release page. Offline failures are silent.
dsh.client.platform = web). The client file must be wrapped in window.__ModuleLoader__.load({...}); a top-level export makes the renderer throw Unexpected token export and the whole web boot fails.busyUI().MIT. Author: 知乎老哥
🧭 收有想法的兄弟 · 你也可以的。年入百万级。
从「发现一个痛点」→「写个几百行的小工具」→「挂上资源位」→「有人付钱」,全流程我在这篇里讲透了。 想学这门手艺的,点这里:👉 收徒说明(知乎)
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: notification。