Skip to content

omdsh-dev/dsh-pet-corner

30Last commit Aug 13, 2026

dsh-pet-corner DSH plugin

This plugin adds a small, draggable kitten icon to the corner of your DSH web profile. Clicking it opens a panel to browse real-time images of cats, dogs, and foxes, along with cat facts and a favorites collection. All external requests are routed through the host's whitelist proxy, ensuring no direct browser access to third-party APIs.

How to install the dsh-pet-corner DSH plugin

dsh plugin --profile web add @deepseek-ai/dsh-pet-corner@0.0.1-rc.3

Copying does not run this command. Review the repository and version before installing the dsh-pet-corner DSH plugin.

dsh-pet-corner DSH plugin data source

dsh-pet-corner DSH plugin snapshot date: Aug 16, 2026

discovered

What the dsh-pet-corner DSH plugin can do

  • Displays a draggable kitten icon in the bottom-right corner of the DSH web interface
  • Provides a panel to browse images from Cataas, Dog CEO, RandomFox, TheCatAPI, and Cat Facts
  • Saves favorite images to browser localStorage for persistence across sessions
  • Routes all third-party API requests through the host's whitelist proxy, preventing direct browser access
  • Offers fallback local images and JSON when upstream APIs are unavailable, avoiding browser-level errors
  • Includes a settings page via its own /plugins/dsh-pet-corner/api/settings endpoint, independent of the DSH general settings API

Where the dsh-pet-corner DSH plugin fits

  • Quickly view cute animal images during breaks to relax and boost mood
  • Collect and revisit favorite cat, dog, or fox pictures without leaving the DSH workspace
  • Learn interesting cat facts while working in a development or admin environment
  • Test DSH plugin proxy behavior with a lightweight, visual example
  • Demonstrate how to properly handle third-party API failures in a DSH plugin

Who the dsh-pet-corner DSH plugin is for

  • DSH users who want a lighthearted, non-intrusive distraction in their web profile
  • Developers looking for a reference plugin that integrates with external image APIs and proxy settings

dsh-pet-corner DSH plugin limitations

  • Only supports the web profile; not compatible with other DSH profiles
  • Requires DSH version >=0.1.0-rc.3 and <0.2.0, and Node.js >=22.19.0
  • Favorites are stored only in browser localStorage and are not synced across devices
  • Settings persistence bypasses the general DSH settings API, using its own endpoint
  • The plugin is in early development (0.0.1-rc.3) and may have breaking changes in future
  • Manual modification of the profile manifest or duplicate loader row insertion can cause errors

dsh-pet-corner DSH plugin: from the repository README

Quoted from the omdsh-dev/dsh-pet-corner README, the upstream source of the dsh-pet-corner DSH plugin. Copyright remains with the original authors.

DSH 的轻量摸鱼角:右下角是一只可拖动的小猫,点击后可浏览猫、狗和狐狸图片、 猫咪知识与收藏。所有第三方请求都先经过宿主白名单代理,浏览器不会直接访问外站。 ## 安装 ```bash # 已登录私有 npm registry dsh plugin --profile web add @deepseek-ai/dsh-pet-corner@0.0.1-rc.3 # 本地开发 checkout dsh plugin --profile web add link:/path/to/dsh-pet-corner ``` 包内已经声明 `dsh.bundle.patch`;`dsh plugin add` 会自动维护 Profile Bundle。 不要手工修改 profile manifest,也不要重复插入 `pet-corner` loader row,否则会得到 `duplicate loader entry id`。 ## 功能与网络边界 - 小猫挂件、来源开关、默认狗狗品种和自动换图周期; - 收藏仅保存在当前浏览器的 `localStorage`; - 图片面板打开后才会通过宿主白名单代理访问 Cataas、Dog CEO、RandomFox、 TheCatAPI 和 Cat Facts;仅加载页面不会预热这些上游; - 设置通过插件自有的 `/plugins/dsh-pet-corner/api/settings` 读写,不依赖 DSH rc.3 配置面的 namespace allowlist;该端点仅接受 loopback 同源请求; - 插件不需要 API Key。上游不可用或返回非成功状态时,代理会以 HTTP 200 返回 包内图片或兼容 JSON,避免把预期的第三方故障暴露成浏览器 4xx/5xx;图片面板仍可重试。 ## 兼容性 | 组件 | 支持范围 | | --- | --- | | DSH | `>=0.1.0-rc.3 <0.2.0` | | Node.js | `>=22.19.0` | | Profile | `web` | 宿主路由使用 rc.3 的 `webServer` 服务名;本版本不兼容 rc.1 的 `httpServer` 名称。 设置页使用现存的 `settings.section` slot,但持久化不经过通用 settings API。 ## 开发 ```bash npm install --legacy-peer-deps DSH_NODE_MODULES=/path/to/dsh-runtime/node_modules npm run setup:dsh-workspace npm run typecheck npm test npm run build npm

Read the full READMERepository license: BSD-3-Clause

dsh-pet-corner DSH plugin questions

How do I install @deepseek-ai/dsh-pet-corner?

Run `dsh plugin --profile web add @deepseek-ai/dsh-pet-corner@0.0.1-rc.3` after logging into your private npm registry. For local development, use `dsh plugin --profile web add link:/path/to/dsh-pet-corner`. Make sure you are on DSH >=0.1.0-rc.3 and <0.2.0.

Which DSH version and profile are supported?

The plugin supports DSH versions >=0.1.0-rc.3 and <0.2.0, and only the 'web' profile. It is not compatible with rc.1's httpServer naming. Also requires Node.js >=22.19.0.

Does the plugin require an API key?

No, the plugin does not require any API keys. All external image and fact requests are routed through the host's whitelist proxy, and the plugin handles failures gracefully with fallback content.

Where are my favorites stored? Are they synced?

Favorites are stored only in your browser's localStorage. They are not synced across devices or browsers. If you clear localStorage or switch to a different machine, your favorites will be lost.

What happens if the third-party image APIs are down?

The plugin's proxy will return HTTP 200 with a fallback local image or a compatible JSON object, so the browser never sees a 4xx or 5xx error. The image panel will still allow retry attempts.