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

sidekick-docker

v0.4.0

Published

Interactive Docker dashboard (TUI), plus scriptable ps, logs, images, volumes, networks, stats, df and inspect commands

Readme

Sidekick Docker CLI

npm npm Downloads License: MIT Ask DeepWiki

A terminal dashboard for Docker. Manage containers, Compose projects, images, volumes, and networks — all from a single, keyboard-driven TUI. Includes scriptable ps, logs, images, volumes, networks, stats, df and inspect commands for non-interactive use.

Install

npm install -g sidekick-docker

Prerequisites: Node.js >= 22.12, Docker running.

Usage

# Launch the interactive dashboard
sidekick-docker

# List containers (non-interactive)
sidekick-docker ps
sidekick-docker ps --all
sidekick-docker ps --format json | jq   # machine-readable output
sidekick-docker ps -q                   # container IDs only

# Stream container logs
sidekick-docker logs <container>
sidekick-docker logs <container> --no-follow --tail 50

# Inventory (all support --format json; images also supports -q)
sidekick-docker images
sidekick-docker volumes
sidekick-docker networks

# One-shot resource usage, like `docker stats --no-stream`
sidekick-docker stats

# Disk usage, including build cache — like `docker system df`
sidekick-docker df

# Raw inspect payload for a container (name, full ID, or ID prefix)
sidekick-docker inspect <container> | jq .State.Health

Options

| Flag | Description | |------|-------------| | --socket <endpoint> | Docker endpoint: socket path, unix:// or tcp://host[:port] URL | | --no-color | Disable colored output (also honors NO_COLOR / FORCE_COLOR) | | --verbose | Show full error details | | --version | Show version | | --help | Show help |

Dashboard

The dashboard has 5 panels, each mapped to a number key:

| # | Panel | Shows | Detail Tabs | |---|-------|-------|-------------| | 1 | Containers | All containers with state, image, ports, uptime | Logs, Stats, Env, Config, Labels, Files, Patterns | | 2 | Services | Compose projects and their services | Info, Logs | | 3 | Images | Local images with tags, size, age | Info, Layers | | 4 | Volumes | Named volumes with driver, mount path, usage status | Info | | 5 | Networks | Docker networks with driver, scope, connected containers | Info |

Keybindings

Navigation

| Key | Action | |-----|--------| | j / Down | Move down | | k / Up | Move up | | g | Jump to top | | G | Jump to bottom (resumes log follow) | | PgUp / PgDn | Page up / down | | Ctrl+U / Ctrl+D | Half page up / down | | Tab | Toggle focus between side list and detail pane | | Enter / l / Right | Focus detail pane | | Esc | Back to side list / close overlay / clear filter | | h / Left | Back to side list (when in detail pane) |

Panels & Tabs

| Key | Action | |-----|--------| | 1-5 | Switch to panel | | [ / ] | Cycle detail tab left / right |

Actions

| Key | Action | |-----|--------| | x | Open context menu (actions for selected item) | | f | Open log filter (when on Logs tab) | | / | Open filter | | a | Toggle all/running containers (Containers panel) | | o | Open sort menu (Containers panel) | | R | Reverse sort direction (Containers panel) | | m | Pin/unpin item for log comparison (Containers/Services) | | J / K | Scroll compare pane (when in detail focus) | | z | Cycle layout (Normal → Wide → Expanded) | | ? | Show help overlay | | V | Show version | | q / Ctrl+C | Quit |

Container Actions (via context menu)

| Key | Action | |-----|--------| | s | Start | | S | Stop | | r | Restart | | p / u | Pause / Unpause | | d | Remove (with confirmation) | | e | Exec into container | | P | Prune — remove all stopped containers (with confirmation), reporting space reclaimed | | c | Copy logs to clipboard |

Compose Actions (via context menu)

| Key | Action | |-----|--------| | u | Up (start project) | | D | Down (stop project, with confirmation) | | r | Restart | | S | Stop | | c | Copy logs to clipboard |

Mouse

Click to select items, switch panels/tabs, and press overlay buttons; right-click opens the actions menu; wheel scrolls (scrolling up in logs pauses follow — jump to the bottom or press G to resume).

Features

  • Real-time log streaming — follows container logs with token-level syntax highlighting (HTTP methods, status codes, URLs, IPs, timestamps, JSON keys)
  • Dual-log compare — pin a second container or service with m to view both log streams side by side
  • Log search & filter — press f on the Logs tab to search within log output with exact or fuzzy matching and match highlighting
  • Log analytics — severity count badges, severity sparkline over time, and pattern clustering that groups similar logs into templates with <*> wildcards
  • Live stats with sparklines — CPU, memory, network I/O, block I/O, and log severity charted as inline sparklines (60-sample history)
  • Filesystem inspector — view all filesystem changes inside containers (added/changed/deleted files)
  • Image layer explorer — inspect image layer history with sizes and Dockerfile instructions
  • Interactive exec — open a shell inside any running container
  • Compose detection — automatically discovers projects from container labels, merges with compose file config
  • Filter — press / to filter any list by name
  • Confirmation modals — destructive actions always ask before executing
  • Mouse support — click items to select, scroll to navigate
  • Toast notifications — non-blocking feedback for actions

Configuration

Custom Docker Endpoint

--socket accepts a socket path, a unix:// URL, or a tcp://host[:port] URL (port defaults to 2375; TLS is used for https:// URLs or tcp:// on port 2376, while an explicit http:// stays plain HTTP):

sidekick-docker --socket /var/run/docker.sock
sidekick-docker --socket unix:///run/user/1000/docker.sock
sidekick-docker --socket tcp://192.168.1.100:2375

When --socket is not given, the standard DOCKER_HOST environment variable is honored (including ssh:// endpoints), along with DOCKER_TLS_VERIFY and DOCKER_CERT_PATH:

DOCKER_HOST=tcp://192.168.1.100:2375 sidekick-docker ps
DOCKER_HOST=ssh://user@remote-host sidekick-docker

Documentation

Full documentation is available at the docs site.

See Also

Sidekick Agent Hub — Multi-provider AI coding agent monitor. Real-time visibility into Claude Code, OpenCode, and Codex CLI sessions with token tracking, context management, and session intelligence. Available as a TUI on npm and a VS Code extension.

Contributing

Contributions are welcome! See CONTRIBUTING.md for setup instructions and guidelines.

License

MIT