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

@matrixhub/cli

v0.1.4

Published

CLI tool for deploying and managing MatrixHub

Readme

@matrixhub/cli

CLI tool for deploying and managing MatrixHub - your self-hosted AI model registry.

🚀 Quick Start

No installation needed! Use npx to run MatrixHub directly:

npx @matrixhub/cli start

Or install globally:

npm install -g @matrixhub/cli
matrixhub start

📋 Prerequisites

  • Docker installed and running
  • Node.js 18+ (for npx/npm)

🎯 Commands

start

Start a new MatrixHub container:

npx @matrixhub/cli start [options]

Options:

  • -p, --port <port> - Port to expose (default: 9527)
  • -d, --data <path> - Data directory path (default: ./data)
  • -n, --name <name> - Container name (default: matrixhub)
  • --image <image> - Docker image to use (default: ghcr.io/matrixhub-ai/matrixhub:main)

Examples:

# Start with defaults (port 9527, ./data directory)
npx @matrixhub/cli start

# Start on custom port with custom data directory
npx @matrixhub/cli start -p 8080 -d ~/matrixhub-data

# Use a specific image version
npx @matrixhub/cli start --image ghcr.io/matrixhub-ai/matrixhub:v1.0.0

stop

Stop the running MatrixHub container:

npx @matrixhub/cli stop

restart

Restart the MatrixHub container:

npx @matrixhub/cli restart

status

Check the status of the MatrixHub container:

npx @matrixhub/cli status

logs

View container logs:

npx @matrixhub/cli logs [options]

Options:

  • -f, --follow - Follow log output (like tail -f)
  • --tail <lines> - Number of lines to show from the end (default: 100)

Examples:

# View last 100 lines of logs
npx @matrixhub/cli logs

# Follow logs in real-time
npx @matrixhub/cli logs -f

# View last 500 lines
npx @matrixhub/cli logs --tail 500

update

Update MatrixHub to the latest version:

npx @matrixhub/cli update

This will:

  1. Pull the latest Docker image
  2. Stop the current container
  3. Remove the old container
  4. Prompt you to start the new version

🎨 Features

  • Zero Configuration: Works out of the box with sensible defaults
  • Interactive: Prompts for confirmation when needed
  • Colorful Output: Clear, easy-to-read terminal output
  • Error Handling: Helpful error messages and recovery suggestions
  • Docker Detection: Checks if Docker is installed before running

🛠️ Development

# Clone the repository
git clone https://github.com/matrixhub-ai/matrixhub.git
cd matrixhub/packages/cli

# Install dependencies
npm install

# Build
npm run build

# Link locally for testing
npm link

# Now you can use the command
matrixhub start

📄 License

Apache-2.0 - see LICENSE for details.

🤝 Contributing

Contributions are welcome! Please see CONTRIBUTING.md for details.

📞 Support