omdsh-dev/dsh-fun-weather

Plugin插件 Native原生 ⭐ 2 BSD-3-Clause UI & Themes界面与主题

由Open-Meteo驱动的DSH天气标签及跟随天气的主题

Project Overview项目介绍

This repository is omdsh-dev/dsh-fun-weather, a native profile bundle plugin built exclusively for DeepSeek Harness (DSH). It adds full weather functionality to DSH’s web interface, including current conditions, 7-day forecasts, hourly forecasts, custom city management, and dynamic theme and wallpaper that changes based on current weather. It pulls weather and geolocation data from the Open-Meteo API, and does not require users to get their own API key to use the plugin. To install the plugin, users download the release tarball, then run the official DSH CLI command dsh plugin --profile web add ./path/to/tarball followed by dsh web --profile web to launch the web interface with the plugin active.

The plugin is only compatible with DSH version 0.0.1-rc.2 and newer, and requires a Node.js environment that meets the version constraint of ^22.19.0 or >=24. It uses its own same-origin settings API instead of relying on the DSH core settings RPC namespace allowlist, while still persisting user settings through the host’s dsh-settings service. Developers who want to contribute to the plugin can set up a local development environment with standard npm commands for building and testing changes. It is intended for DSH users who want quick access to weather data directly in their DSH interface, and enjoy custom dynamic visual effects tied to local weather conditions.

dsh-fun-weather is released under the permissive BSD-3-Clause open source license. Currently it is still a private local prototype, so it does not have automated remote release workflows or publish automatically to the public npm registry. When active, it modifies DSH’s theme state and page CSS, but when you toggle the feature off, it automatically restores your original user theme. If you test a new release, you should install the tarball in a fresh DSH_HOME to confirm no configuration conflicts before launching the web interface. Because the plugin’s endpoints do not include independent authentication, you should not expose your DSH web port to untrusted public networks.

omdsh-dev/dsh-fun-weather 是专为 DeepSeek Harness 开发的原生 Web 配置包插件,为 DSH 提供完整的天气查询功能,包括当前天气、未来七日预报、逐小时预报和自定义城市设置,还支持随实时天气变化动态调整 DSH 界面主题和壁纸。该插件调用 Open-Meteo 的开放接口获取天气与地理搜索数据,不需要用户额外申请 API 密钥。

该插件仅兼容 DSH 0.0.1-rc.2 及以上版本,要求运行环境的 Node.js 版本满足 ^22.19.0 或者 >=24 的要求。用户可以通过 DSH 官方 CLI 工具,下载对应版本的插件压缩包后执行 dsh plugin --profile web add <压缩包路径> 命令完成安装,之后启动 DSH Web 端即可使用。它适合想要在 DSH 界面中随时查看天气,同时获得主题随天气变化的动态视觉效果的用户。

该插件采用 BSD-3-Clause 开源许可证,目前仍处于本地私有原型开发阶段,没有配置自动远端发布流程,也不会自动发布到 npm 公共仓库。插件运行时会修改 DSH 的主题状态和页面 CSS,关闭插件功能后会自动恢复用户原本的主题设置。由于本身的接口没有独立认证,建议不要将 DSH Web 端口暴露到不可信公共网络中使用。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 warning1 项注意
  • Only 2 stars - very few users, little community feedback星标只有 2,几乎没人在用,遇到问题缺少社区反馈
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-fun-weather

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

READMEREADME

DSH Fun Weather

Author / Maintainer: @Zacklinkk

独立的 DeepSeek Harness Profile Bundle,提供当前天气、7 日预报、小时预报、城市设置,以及随天气变化的主题和壁纸效果。天气与地理搜索使用 Open-Meteo。

兼容性

  • 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-fun-weather-0.1.0.tgz
dsh web --profile web

package.json#dsh.bundle.patch 会自动应用 cordis.patch.yml。不要手工重复插入 fun-weather entry。

开发与验收

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 只有一条 fun-weather,再做真实 Web 启动和 /plugins/dsh-weather/api/settings smoke。

权限、网络与限制

  • Host 只向 Open-Meteo forecast 和 geocoding 两个固定域名族发出请求,不需要 API Key。
  • 城市搜索、预报与浏览器定位依赖网络/浏览器权限;上游失败会保留最后一次成功天气并显示错误。
  • 动态主题和壁纸会修改 DSH 主题状态及页面 CSS;关闭开关后恢复用户主题。
  • 同源设置与天气 API 不包含独立认证,不应把 DSH Web 端口暴露到不可信网络。
  • 本项目当前为本地私有原型,不配置远端仓库,也不自动发布 npm。
← 上一个 Prev deskpet-bridge 下一个 Next dsh-paste-names →