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

tabby-docker-console

v0.1.4

Published

Remote Docker management panel for Tabby SSH sessions — containers, images, logs, stats and exec terminal over SSH

Readme

tabby-docker-console

npm version npm downloads CI GitHub release License

A Tabby plugin that adds a Docker management panel to SSH sessions, inspired by the Docker interface in Termix.

All commands are executed over the existing SSH session — no extra connections are opened.


Features

| Feature | Details | | ------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- | | Containers | Card grid with state badges (running / exited / paused), image, ID, ports, creation date | | Search & filter | Live search by name / image / ID; filter by state | | Actions | Start / Stop / Restart / Remove (with per-card busy state) | | Exec terminal | Opens a new SSH tab running docker exec -it <container> bash (falls back to sh) | | Logs | Scrollable log view with tail selector, timestamps toggle, live auto-refresh (configurable interval), inline filter, and one-click download | | Stats | CPU, memory (with progress bars), network I/O, block I/O, PIDs — auto-refreshed every 5 s without re-rendering the layout | | Images | Grid with ID, size, creation date; remove button | | Theme-aware UI | Uses Tabby's dynamic CSS variables (--theme-bg, --theme-fg, …) so the panel matches any terminal colour scheme |

Containers list

Container exec

Container logs

Container stats

Images


Installation

From the plugin marketplace

Search for tabby-docker-console in Settings → Plugin manager.

Manual (development / testing)

git clone https://github.com/jeishod/tabby-docker-console
cd tabby-docker-console
npm install --legacy-peer-deps
npm run build

Copy the built artefacts to Tabby's plugin directory:

PLUGIN_DIR=~/Library/Application\ Support/tabby/plugins/node_modules/tabby-docker-console
mkdir -p "$PLUGIN_DIR/dist"
cp package.json "$PLUGIN_DIR/"
cp dist/index.js "$PLUGIN_DIR/dist/"

macOS path shown above. On Linux: ~/.config/tabby/plugins/node_modules/…

⚠️ Copy only dist/ and package.json. Do not symlink the whole project directory — Tabby would pick up the local node_modules/@angular/core and crash with a version mismatch.

Fully quit Tabby (Cmd+Q / Ctrl+Q) and reopen it. The plugin is loaded at startup.


Usage

  1. Open an SSH connection to a server that has Docker installed.
  2. Click the Docker button in the tab toolbar (next to Reconnect / SFTP / Ports), or right-click the SSH tab → Docker Console.
  3. The Docker Console opens as a new Tabby tab.

Plugin shortcut

Docker permissions — the remote user must be able to run docker commands without sudo. Add the user to the docker group if needed:

sudo usermod -aG docker $USER   # then log out and back in

Project structure

src/
├── models.ts                          # DockerContainer / DockerImage / DockerStats interfaces
├── utils.ts                           # Shared SSH tab detection + host label helpers
├── index.ts                           # Angular module registration
├── tabContextMenu.ts                  # "Docker Console" right-click menu entry
├── dockerToolbar.decorator.ts         # "Docker" toolbar button injector
├── components/
│   └── dockerConsoleTab.component.ts  # Main UI component (template + styles inlined)
└── services/
    └── remoteDocker.service.ts        # SSH exec channel + Docker CLI wrappers

How it works internally

Commands are executed via SSH exec channels (RFC 4254 §6.5) using the russh library that ships inside Tabby. Each command opens a dedicated non-PTY channel, collects stdout/stderr, then explicitly closes the channel to release the slot.

The interactive exec terminal (Open terminal button) uses a different path: it temporarily monkey-patches sshSession.openShellChannel to open a PTY exec channel running docker exec -it <id> <shell> instead of a regular login shell. The patch self-restores after the first invocation so no other tab is affected.


Known limitations

  • sudo — if Docker requires sudo on the remote host, commands will fail with a permission error. See the Docker permissions note above.
  • Tabby version — developed and tested against Tabby 1.0.163+. The plugin uses internal russh APIs (channel.requestExec, channel.closed$) that may change in future Tabby releases.
  • Docker availability — if Docker is not installed or the daemon is not running, the panel displays an error and all buttons are disabled.

Author

Telegram LinkedIn GitHub

License

MIT — see LICENSE