Introduction¶
The DeepSeek Harness (DSH) community plugin ecosystem has grown significantly. While you can search by name or browse by category in the community catalog awesome-dsh-plugin, it’s not immediately clear which packages are actually being installed recently. The download count metrics and update frequencies shown in catalog entries also don’t always align with official npm statistics.
If you want to view a ranking sorted by actual npm download counts directly within your local DSH, with the ability to switch between daily, weekly, and monthly rankings, dsh-rank-board (maintainer: flysusdjd, category: Network Tools) is a Cordis plugin designed for this purpose: the host fetches the catalog, queries npm and caches results, while the web client displays the results in “Settings → Plugin Rankings”.
What This Is¶
dsh-rank-board consists of a host component (lib/index.js) and a web client (client.js). The host fetches the community plugin list from awesome-dsh-plugin, queries the official npm API for download counts, and caches the data on disk. The browser only accesses local HTTP endpoints and does not connect directly to npm or hold any API keys. The interface entry point is “Settings → Plugin Rankings” in DSH.
Core Features¶
The following capabilities are documented in the README and can be used directly in the settings page after installation.
- Daily/Weekly/Monthly Rankings: The same set of candidate plugins ranked by three metrics:
last-day,last-week, andlast-month. - Direct npm Access from Host: Data fetching is performed within the host’s Node process, bypassing browser CORS restrictions and avoiding numerous cross-domain requests from the page.
- Visible Progress: During fetching, a progress bar with percentage is displayed. Results are written in batches, so you don’t have to wait for the entire process to complete before seeing the rankings.
- Rate Limit Fallback: When npm returns 429, it first displays the 30-day download counts from the community catalog and labels “not real-time data” at the top of the page.
- On-Disk Caching: Rankings are cached for 6 hours, individual package download counts for 24 hours. Rankings persist after DSH restarts, and subsequent refreshes typically complete within seconds.
- One-Click Install Command Copy: Click on any row in the ranking to copy the plugin’s install command from the catalog (including the correct
profileparameter). - Automatic Fetch on Empty Window: Automatically starts fetching when switching to a time window for the first time, or you can manually click “Refresh”.
Installation and Activation¶
Prerequisites: Using DSH’s Web or Desktop interface (the plugin is mounted on the Web settings page), host Node.js ≥ 20. The plugin is distributed via GitHub Release and is not yet published to npm.
You can also search for dsh-rank-board in DSH’s “Settings → Plugin Market” for one-click installation.
Method 1: GitHub Release (Recommended)¶
Copy the .tgz link for the corresponding version from Releases, then execute in the terminal (replace --profile with your actual profile, either desktop or web):
dsh plugin --profile desktop add "https://github.com/flysusdjd/dsh-rank-board/releases/download/v0.1.0/dsh-rank-board-0.1.0.tgz"
The community catalog also supports this tarball installation method, requiring no npm account.
After installation, restart DSH (or reload the profile) and open “Settings → Plugin Rankings”. The first open will automatically start fetching, or you can click “Refresh”.
Typical Usage¶
Daily use doesn’t require memorizing commands: switch between daily/weekly/monthly rankings at the top of “Settings → Plugin Rankings”, and click “Refresh” when you need updated data. To install a plugin from the ranking, click the corresponding row to copy the install command, then execute it in the terminal or DSH plugin management.
For integration or debugging purposes, the host provides JSON APIs on the local web port (local only):
| Method | Path | Description |
|---|---|---|
GET |
/.dsh-rank-board/board?window=last-day\|last-week\|last-month |
Returns current rankings and fetching progress |
POST |
/.dsh-rank-board/refresh?window=... |
Triggers a background fetch, returns 202 immediately |
Response fields include basis (live for real-time download counts, catalog for 30-day catalog data during rate limit fallback, none for no cache), partial (whether fetching is incomplete), rows (ranking rows, including install command), etc. By default, automatic background fetching occurs on cold start or cache expiration. To disable automatic refresh and only use manual refresh, modify the profile’s cordis.patch.yml:
- id: dsh-rank-board
name: dsh-rank-board
config:
autoRefresh: false
After disabling, fetching can only be triggered via the “Refresh” button in the interface. The cache directory is <profile>/.dsh-rank-board/ (board-*.json for rankings, counts-*.json for individual package counts). Deleting the directory forces a cold start.
Use Cases and Notes¶
Who It’s For: Developers who frequently browse community plugins in DSH and want to reference npm recent download counts; scenarios where you need to quickly compare daily/weekly/monthly trends locally and copy official install commands.
Data Metrics: Download counts are npm’s tarball download statistics, including CI, mirror synchronization, batch installations, etc., which don’t equal actual user numbers. Only covers plugins in the catalog with npm package names (approximately 2,600); entries that only provide tarballs without npm package names won’t appear in rankings. The candidate pool takes the top 400 by 30-day download counts from the catalog for real-time queries; scoped packages require individual queries, and the entire process is constrained by a 120-second cutoff, potentially resulting in partial: true. Multiple refreshes will gradually complete the data. Plugins not included in awesome-dsh-plugin won’t appear.
Security and Permissions: The plugin runs with the current DSH process permissions and accesses local networks to fetch the community catalog and npm API. Please read the GitHub repository source code and MIT license before installation. This plugin has no official affiliation with DeepSeek, npm, or awesome-dsh-plugin. The community catalog is also an independent site and not an official DSH app store.
Conclusion¶
dsh-rank-board consolidates “community catalog + npm download counts” into a single ranking in DSH’s settings page, using caching and rate limit fallback to reduce the pressure of repeated full queries. For catalog introduction, see SkillHub Plugin Page, and for source code and releases, see github.com/flysusdjd/dsh-rank-board.