dsh-plugin-github-radar: View GitHub trends in the DSH panel and conveniently star, clone, and collect.

dsh-plugin-github-radar is a DSH client-side plugin (maintained by 1578361862-art, v0.2.0, MIT) that opens a "GitHub Radar" panel in the Web GUI. It allows browsing trending repositories for today/this week/this month, filtering by language (18 types) and keywords, one-click shallow cloning to `~/Code`, adding to bookmarks, and one-click Chinese localization of READMEs. The host process handles fetching trending data, retrieving READMEs, `git clone --depth 1`, and model translation, while the browser side handles only the UI, making same-origin calls to `/github-radar/api/*` without spawning additional processes. Translations are processed via DSH's configured model (ctx.llm, defaulting to deepseek-flash), or via Google Cloud Translation API v2 (requires key) or MyMemory (limited to 500 characters per request). After logging into GitHub, users can clone private repositories and star repos directly in the panel; the API quota has been increased from 60/hour to 5000/hour. Installation is performed with a single command: `dsh plugin --profile desktop add dsh-plugin-github-radar`. Known limitations include: trending data is limited to 15 items when not logged in; retrieving full history via shallow clone requires `git fetch --unshallow`; and translation requests consume approximately 12,000 characters. The plugin runs with the permissions of the dsh process; users should review the source code and license before installation.

Read More