npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

dsh-pr-checks

v0.1.1

Published

DSH plugin (host + web client): status and progress of GitHub Actions checks of the open PRs, grouped by workspace/project, in the sidebar footer.

Readme

dsh-pr-checks

DSH plugin (host + web client) that shows, in the sidebar footer, the status and progress of the checks (GitHub Actions) of the open PRs, grouped by Workspace → Project → PR.

  • Progress bar per PR (done/total), colored dots per check (tooltip with the name) and a "PR checks" header.
  • Only PRs with checks still running (IN_PROGRESS/QUEUED/PENDING) are shown: when they finish, the PR drops out of the list — and with nothing running, the whole widget hides (it comes back when a check starts running again).
  • Hidden when the sidebar is collapsed.
  • Durable: complete profile plugin, no patch to the DSH runtime files — survives DSH updates.

Installation

The package is a DSH bundle (manifest dsh.bundle): it ships its own cordis.patch.yml layer, so installing it also registers the plugin row. Published on npm as dsh-pr-checks. To install it in a profile:

dsh plugin --profile <name> add dsh-pr-checks
# or directly from the git repository:
# dsh plugin --profile <name> add github:pauloapoloni/dsh-pr-checks

Alternatively, install the package directly (e.g. for an existing manual setup):

cd ~/.dsh/profiles/web
npm install github:pauloapoloni/dsh-pr-checks

and register the entry in the profile's cordis.patch.yml (only needed when not using the bundle layer):

- insert:
    - id: dsh-pr-checks
      name: dsh-pr-checks
      config:
        cacheMs: 10000            # response cache (ms)
        includeAllAuthors: false  # true = all open PRs, not only yours

If you previously added the entry manually and switch to the bundle install, remove the manual insert to avoid a duplicate row.

Restart dsh web and reload the GUI.

Prerequisite: gh CLI authenticated with repo/workflow scopes.

Config

| Key | Default | Description | |---|---|---| | cacheMs | 10000 | Endpoint response cache (ms) | | includeAllAuthors | false | true = all open PRs, not only yours | | authors | — | Logins to filter by (default: the authenticated gh user) | | repos | — | Extra repositories outside the workspaces (e.g. ["org/repo"]) |

How it works

  • Host (lib/index.js): cordis plugin exposing GET /api/pr-checks. It discovers the git repositories in the DSH workspaces (~/.dsh/storages/workspace.json), queries the open PRs via gh pr list and returns { generatedAt, workspaces: [{ id, title, projects: [{ name, repo, prs: [{ number, title, url, draft, headRefName, checks: [{name,status,conclusion}], done, total }] }] }] }.
  • Client (lib/client.js): client bundle (in the window.__ModuleLoader__.load format) that registers the widget into the stock sidebar.footer.action slot — no patch to the sidebar bundle is required. It polls /api/pr-checks every 30s.

Layout detail: the sidebar.footer.action slot is a flex row; the bundle injects a CSS rule that enables flex-wrap on the container's hashed class (.hHd-Xa_footerActions), so the widget takes the full row and the icons (e.g. the cordis panel) wrap to the next line. If a DSH update renames that class, the widget keeps rendering — just without the wrap.

Development

  • The entry is applied from cordis.patch.yml (config HMR). Changes to the code in lib/*.js require a dsh web restart (the loader does not reload already-imported modules; the client-modules registry caches resolution failures per process).

License

MIT