DSH Plugins Marketplace

DSH Plugins

Plugins

/

UI & Experience

/

dsh-github-search

d

dsh-github-search

Manifest valid

Search GitHub repositories from a left-sidebar panel and read the results as a list, with star counts, language, last-update time and description, filters by language and minimum stars, sorting by bes

UI (client)hasBundlePatch

dsh-github-search

在 DeepSeek Harness 里直接搜 GitHub 项目,不用打开 github.com。

左栏会多一个「GitHub 项目搜索」入口;点开就是一页搜索:输入关键词,结果以列表形式列出仓库的星标数、fork 数、语言、许可证、最近更新时间和简介。点开任意一条可以读 README、看语言构成、在浏览器里打开、复制 clone 命令或仓库地址。

怎么用

  1. 左栏点 GitHub 搜索图标(放大镜+号)。
  2. 输入关键词,回车或点「搜索」。
  3. 顶部一排按钮切换排序:最佳匹配 / 星标最多 / fork 最多 / 最近更新。
  4. 右侧两个下拉框按语言、按最低星标数筛选;「只搜名字」把关键词限制在仓库名里。
  5. 点任意一条展开 README 与语言构成。
  6. 点搜索按钮右边的「清空」,一键清空关键词、结果、详情缓存和筛选条件,回到初始状态;正在进行中的搜索也会被作废,不会清空后又自己冒出结果。

面板右上角显示当前剩余配额。

配额与 token

GitHub 搜索接口对未认证请求的限制很紧:每个 IP 每分钟只有 10 次。插件按以下顺序找 token,找到就用,把配额提到每分钟 30 次、每小时 5000 次:

  1. cordis.patch.yml 里本行配置的 config.token
  2. 本机 gh CLI 的登录凭据(~/.config/gh/hosts.yml);把 config.useGhToken 设成 false 可以跳过
  3. 环境变量 GITHUB_TOKEN 或 GH_TOKEN

检测到本机 gh 已登录时会自动用上,通常不用额外配置。要手动指定:

- insert:
    - id: dsh-github-search
      name: 'dsh-github-search'
      config:
        token: 'github_pat_...'

给 agent 的工具

插件同时注册两个只读工具,界面和工具走同一套逻辑:

  • github_search —— 按关键词、语言、topic、作者、最低星标、许可证搜仓库,可排序分页。
  • github_repo —— 读单个仓库的详情、语言构成与 README,接受 owner/repo 或 github.com 链接。

数据与隐私

  • 请求只包含你输入的搜索词与筛选条件,经本机 Host 转发到 api.github.com。
  • 全部操作只读,不改动任何仓库,也不写本地磁盘。
  • 关掉插件会移除面板、左栏入口和两个工具。

结构

文件作用
index.jsHost 半片:/dsh-github-search/* 路由、token 解析、两个 agent 工具
lib/github.js检索核心:搜索语法拼装、API 调用、错误与限流、仓库瘦身
client.js浏览器半片:左栏入口 + 搜索面板
locale/*.json插件市场里显示的标题、说明
docs/详情页预览图与文档

已知限制

  • GitHub 搜索最多能翻到前 1000 条结果,因此 page 上限是 10(每页最多 50)。
  • 只做仓库搜索,不做代码搜索、issue 搜索、star 列表。
  • README 只取默认分支的,超过 2 万字符会截断。
  • 没有内置的仓库收藏或历史记录;每次打开都是新的搜索。

许可

MIT

Comments

Loading…

Similar plugins

dsh-plugin-marketplace

by Scorp1o117

Browse and search GitHub dsh-plugin repositories from Web UI Settings, sort by stars, and install plugins through the DSH CLI.

Tools & CapabilitiesDevelopment & InfrastructureManifest valid

★ 2

↓ 2.3k/wk

MIT

JavaScript

Nov 5, 2026

dsh plugin --profile web add dsh-plugin-marketplace

by moxingovo

DeepSeek Harness plugin: GitHub repository & issue search, repo/issue details, and file reading tools (github_search / github_get) · DeepSeek Harness 插件:GitHub 仓库与 issue 检索、详情与文件读取,匿名可用,可选只读 token 解锁代码搜索

Development & InfrastructureManifest valid

★ 3

↓ 162/wk

MIT

TypeScript

Oct 15, 2026

dsh plugin --profile web add dsh-plugin-github

by gpta76

GitHub console inside DSH: token sign-in, repositories, issues, PRs, commits, notifications, stars and activity, one-click cloning that keeps itself up to date, and a categorized skill library that in

Development & InfrastructureManifest valid

★ 0

MIT

JavaScript

Nov 3, 2026

dsh plugin --profile web add dsh-github-panel

by mjnhmd

Git status bar for DeepSeek Harness: repo, branch, changes and SHA above the composer, with branch switching and a diff pane.

Development & InfrastructureManifest valid

★ 1

MIT

JavaScript

Nov 6, 2026

dsh plugin --profile web add dsh-git-bar

by kx121

到点叫醒 DSH 会话,翻你关注的 GitHub 仓库和主题,挑出值得跟的变化,写日报、记判重表。只读。

Workflow & AutomationDevelopment & InfrastructureManifest valid

★ 2

MIT

JavaScript

Oct 23, 2026

dsh plugin --profile web add dsh-github-digest

by tianyao2003

Prior-art search for an idea: three tools find similar open-source projects on GitHub, rank them by a score computed in code from a relevance judgement and the star count, then read the chosen reposit

Tools & CapabilitiesDevelopment & InfrastructureSessions & MessagesManifest valid

★ 3

↓ 802/wk

MIT

JavaScript

Nov 8, 2026

dsh plugin --profile web add dsh-find-ideas