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

@rotorsoft/contui

v1.3.0

Published

Terminal UI for macOS native container management

Downloads

354

Readme

@rotorsoft/contui

npm version CI Release License: MIT Node.js Version

A terminal UI for managing containers on macOS using the native container CLI.

Features

  • Container Management: List, start, stop, restart, and remove containers
  • Image Management: List, pull, inspect, and remove images
  • Network Management: List, create, inspect, and remove networks
  • Volume Management: List, create, inspect, and remove volumes
  • Vim-style Navigation: Use j/k or arrow keys for navigation
  • Search/Filter: Quickly filter resources with /
  • Real-time Refresh: Auto-refresh data with r key
  • Detailed Inspection: View full resource details with Enter or i
  • Container Logs: View container logs with L

Prerequisites

  • macOS with native container support
  • Node.js >= 18.0.0
  • The container CLI must be installed and the container service running

Installation

Download and Run (npm)

# Install globally
npm install -g @rotorsoft/contui

# Run the CLI
contui
# Or run without installing
npx @rotorsoft/contui

From Source (pnpm)

# Clone the repository
git clone https://github.com/Rotorsoft/contui.git
cd contui

# Install dependencies
pnpm install

# Build the project
pnpm run build

# Run the application
pnpm start

Global Installation

# Link for global usage
pnpm link --global

# Run from anywhere
contui

Usage

Keyboard Shortcuts

Navigation

| Key | Action | |-----|--------| | 1-4 | Switch tabs (Containers, Images, Networks, Volumes) | | h / l | Previous/Next tab | | j / k or / | Navigate list | | Enter | Inspect selected item | | Esc | Go back / Cancel | | q | Quit |

Actions

| Key | Action | |-----|--------| | n | Run new container (Containers/Images tab) | | e | Edit container (recreate with new settings) | | s | Start container | | x | Stop container | | R | Restart container | | d | Delete (with confirmation) | | L | View container logs | | i | Inspect details | | p | Pull image (Images tab) | | c | Create network/volume |

Other

| Key | Action | |-----|--------| | / | Search/Filter | | r | Refresh data | | ? | Show help |

Development

# Run in development mode with hot reload
pnpm dev

# Type check
pnpm run typecheck

# Lint
pnpm run lint

# Run tests
pnpm test

# Run tests with coverage
pnpm run test:coverage

# Format code
pnpm run format

Architecture

The application is built with:

  • Ink: React for CLI applications
  • TypeScript: Type-safe development
  • React Hooks: State management with useState, useCallback, useEffect

Project Structure

src/
├── components/      # React components (views, dialogs, UI elements)
├── hooks/           # Custom React hooks
├── services/        # Container CLI wrapper and utilities
├── types/           # TypeScript type definitions
└── index.tsx        # Application entry point

Key Files

| File | Description | |------|-------------| | src/index.tsx | Entry point with health check | | src/components/App.tsx | Main application component | | src/services/container-cli.ts | macOS container CLI wrapper | | src/hooks/useContainerData.ts | Data fetching and state | | src/hooks/useKeyboard.ts | Centralized keyboard handling | | src/types/index.ts | TypeScript interfaces |

Contributing

  1. Fork the repository
  2. Create a feature branch (git checkout -b feat/amazing-feature)
  3. Make your changes
  4. Run validation:
    pnpm run typecheck
    pnpm run lint
    pnpm test
  5. Commit using Conventional Commits:
    git commit -m "feat: add amazing feature"
  6. Push and open a Pull Request

Commit Message Format

This project uses conventional commits enforced by commitlint:

  • feat: New feature
  • fix: Bug fix
  • docs: Documentation changes
  • style: Code style changes (formatting, etc.)
  • refactor: Code refactoring
  • perf: Performance improvements
  • test: Test additions or corrections
  • build: Build system changes
  • ci: CI configuration changes
  • chore: Maintenance tasks

License

MIT