omdsh-dev/dsh-daily-fortune

观音灵签、塔罗牌阵与每日箴言相结合的DSH每日运势插件

Project Overview项目介绍

DSH Daily Fortune is a native plugin built exclusively for the DeepSeek Harness web profile. It adds a dedicated daily fortune session page, a shortcut fortune-telling button in the input area, and supports multiple content types including Guanyin lots, Tarot spreads, and daily inspirational quotes. It also includes a standalone settings panel, and is compatible with DSH version 0.0.1-rc.2 and newer, requiring Node.js 22.19.0 or higher on the 22.x branch, or any Node.js 24 and above. Installation is done via the DSH command line interface with a single command pointing to the released tarball.

After installation completes, users just need to launch their DSH web profile to start using the plugin. Whenever users open a new session or click the shortcut button in the input area, they will get a new daily fortune or inspirational quote. It does not rely on the DSH core settings RPC namespace allowlist, using its own same-origin settings API to handle user preferences. All custom user settings are persisted automatically via DSH’s host dsh-settings service, so no manual backup or extra configuration is needed. This plugin is ideal for DSH users who want a small, fun break between coding tasks to relax.

The plugin fetches optional extended content for quotes and Tarot readings from public APIs, accessing them only when triggered by user action. No personal API key is required from the user, and if any external service is unavailable, the plugin automatically falls back to built-in local data to keep working. The project is open source under the permissive BSD-3-Clause license, and is currently a local prototype that does not set up remote repositories or automatic npm releases. Users are advised not to expose their DSH web port to untrusted networks when using this plugin.

这是一款专为DeepSeek Harness开发的原生网页配置档插件,名称为每日一签。它提供专属的「今日一签」会话页、输入区抽签快捷按钮,支持观音灵签、塔罗牌阵、每日名言多种抽签类型,还附带独立设置面板,兼容DSH 0.0.1-rc.2及以上版本,要求Node.js版本为22.19.0或更高分支,符合DSH插件打包规范,自带完整清单可自动安装修补配置档。

用户可通过DSH命令行工具完成插件安装,安装后只需启动DSH网页配置档即可正常使用。用户每次打开会话或点击输入区的抽签按钮就能获得当日运势或对应内容,所有自定义设置都会通过DSH主机的dsh-settings服务持久保存,不需要额外手动备份或配置。它适合希望在开发间隙获得一点小乐趣、放松紧绷心情的DSH日常用户使用。

插件支持在线获取每日名言和塔罗牌扩展内容,会按用户操作按需访问多个免费公开API,不需要用户提供个人API密钥,外部服务故障时也会自动降级,使用内置本地数据仍可正常工作。项目采用BSD-3-Clause许可证开源,当前属于本地原型阶段,未配置远端发布仓库也不自动发布npm包,提示用户不要将DSH网页端口暴露到不可信网络中。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 warning1 项注意
  • Only 3 stars - very few users, little community feedback星标只有 3,几乎没人在用,遇到问题缺少社区反馈
DSH walks through these 9 checksDSH 会逐条核对这 9 项

Compatibility兼容性

  • DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
  • External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
  • Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册

Security安全性

  • Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
  • Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
  • curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
  • Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
  • Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
  • Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式

Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。

Or use CLI install (for developers)或使用命令行安装(适合开发者)

CLI Install命令行安装

dsh plugin --profile web add github:omdsh-dev/dsh-daily-fortune

把 omdsh-dev/dsh-daily-fortune 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

DSH Daily Fortune

Author / Maintainer: @Zacklinkk

独立的 DeepSeek Harness Profile Bundle,提供「今日一签」会话页、输入区抽签按钮、观音灵签、塔罗牌阵、每日名言与设置面板。

兼容性

  • DSH 0.0.1-rc.2
  • Node.js ^22.19.0 || >=24
  • Web profile

插件使用自己的同源设置 API,不依赖 DSH 核心 settings RPC 的 namespace allowlist。设置仍由 Host 的 dsh-settings 服务持久化。

安装

dsh plugin --profile web add ./deepseek-ai-dsh-daily-fortune-0.1.0.tgz
dsh web --profile web

package.json#dsh.bundle.patch 会自动应用 cordis.patch.yml。不要再手工向 profile 插入同名 entry,否则会触发 duplicate loader entry id。

开发与验收

npm ci
DSH_WORKSPACE_ROOT=/path/to/deepseek-harness npm run setup:dsh-workspace
npm run typecheck
npm test
npm run build
npm pack

发布前应在全新的 DSH_HOME 中从 tarball 安装,检查 dump-config 仅出现一条 daily-fortune,再做真实 Web 启动和 /plugins/dsh-daily-fortune/api/settings smoke。

权限、网络与限制

  • Host 会按用户操作访问 zenquotes.io、stoic.tekloon.net、api.adviceslip.com 与 tarotapi.dev;不需要 API Key。
  • 外部服务失败时名言/塔罗增强会降级,内置签文与本地塔罗数据仍可用。
  • 设置 API 与上游代理均使用同源 HTTP;不要将 DSH Web 端口暴露到不可信网络。
  • 本项目当前为本地私有原型,不配置远端仓库,也不自动发布 npm。
← 上一个 Prev dsh-subagent-max 下一个 Next dsh-gsv →