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

meatloaf-cli

v1.0.3

Published

πŸ₯© Meatloaf β€” AI Agent Sandbox Runtime. Build. Run. Test. Ship.

Readme

πŸ₯© Meatloaf β€” AI Agent Sandbox Runtime

npm version npm downloads license

Build. Run. Test. Ship. πŸš€

πŸ“¦ Install from npm: npm install -g meatloaf-cli

πŸ”— npm: https://www.npmjs.com/package/meatloaf-cli

πŸ”— GitHub: https://github.com/Atum246/meatloaf

Meatloaf is an open-source CLI tool that gives AI agents the power to not just write code, but to build, run, test, and ship applications autonomously. It bridges the gap between "generating code" and "delivering working software."

πŸ€” Why Meatloaf?

AI agents can write thousands of lines of code, but they can't:

  • πŸ–₯️ Spin up and interact with running services
  • πŸ‘οΈ See what the application actually looks like
  • πŸ§ͺ Test endpoints and verify behavior
  • πŸ› Debug issues in real-time
  • πŸ”„ Iterate on buildβ†’testβ†’fix loops

Meatloaf changes that. It gives AI agents a body to interact with the digital world.

⚑ Quick Start

# Install
npm install -g meatloaf-cli

# Create a sandbox
meatloaf create --image node:20-alpine

# Run commands
meatloaf exec sandbox-abc123 "npm init -y && npm install express"

# Test endpoints
meatloaf test --url http://localhost:3000

# Take screenshots
meatloaf screenshot http://localhost:3000

# Full lifecycle
meatloaf up ./my-project

🎯 Commands

Sandbox Management

| Command | Description | |---------|-------------| | meatloaf create | πŸ†• Create a new sandbox | | meatloaf destroy <id> | πŸ’€ Destroy a sandbox | | meatloaf list | πŸ“‹ List all sandboxes | | meatloaf inspect <id> | πŸ” Inspect sandbox details | | meatloaf stop <id> | ⏹️ Stop a sandbox | | meatloaf start <id> | 🟒 Start a sandbox | | meatloaf cleanup | 🧹 Remove orphaned sandboxes |

Execution

| Command | Description | |---------|-------------| | meatloaf exec <id> <cmd> | ▢️ Run a command | | meatloaf script <id> <file> | πŸ“œ Run a script file | | meatloaf upload <id> <file> | ⬆️ Upload file to sandbox | | meatloaf download <id> <path> | ⬇️ Download file from sandbox | | meatloaf shell <id> | 🐚 Interactive shell |

HTTP Testing

| Command | Description | |---------|-------------| | meatloaf test [url] | 🌐 HTTP request tester | | meatloaf batch <file> | πŸ§ͺ Run batch tests | | meatloaf wait <id> | ⏳ Wait for endpoint ready | | meatloaf bench <url> | ⚑ Load testing with latency percentiles |

Observation

| Command | Description | |---------|-------------| | meatloaf screenshot <url> | πŸ“Έ Capture screenshot | | meatloaf html <url> | πŸ“„ Get HTML snapshot | | meatloaf logs <id> | πŸ“‹ View/stream logs | | meatloaf stats <id> | πŸ“Š Resource usage | | meatloaf monitor | πŸ“Š Live terminal dashboard |

Network Management

| Command | Description | |---------|-------------| | meatloaf network create/list/remove | 🌐 Docker networks | | meatloaf network connect/disconnect | 🌐 Attach sandboxes |

Volume Management

| Command | Description | |---------|-------------| | meatloaf volume create/list/remove/prune | πŸ’Ύ Persistent storage |

Image Management

| Command | Description | |---------|-------------| | meatloaf image list/pull/remove/build | πŸ–ΌοΈ Docker images | | meatloaf image inspect/history/tag/prune | πŸ–ΌοΈ Image operations |

Multi-Container Orchestration

| Command | Description | |---------|-------------| | meatloaf compose up/down/ps/logs | 🎼 Docker Compose-style |

Process Management

| Command | Description | |---------|-------------| | meatloaf ps list/kill/top/tree | πŸ”„ Process control |

Filesystem Operations

| Command | Description | |---------|-------------| | meatloaf fs ls/cat/find/write | πŸ“ File operations | | meatloaf fs mkdir/rm/du/grep | πŸ“ Directory operations |

Snapshots

| Command | Description | |---------|-------------| | meatloaf snapshot save/restore/list | πŸ“Έ State management | | meatloaf snapshot export/import | πŸ“Έ Tar export/import |

Health & Monitoring

| Command | Description | |---------|-------------| | meatloaf health check/watch/system | πŸ₯ Health checks |

Port Management

| Command | Description | |---------|-------------| | meatloaf port scan/check/find/map | πŸ”Œ Port operations |

Secrets Management

| Command | Description | |---------|-------------| | meatloaf secrets set/get/list/remove | πŸ” Encrypted secrets | | meatloaf secrets inject/export/import | πŸ” Secret injection |

Environment Profiles

| Command | Description | |---------|-------------| | meatloaf env create/show/list/delete | πŸ“‹ Profile management | | meatloaf env set/unset/inject/merge/diff | πŸ“‹ Variable operations |

Git Operations

| Command | Description | |---------|-------------| | meatloaf git clone/status/commit/push | πŸ“ Git inside sandboxes | | meatloaf git diff/log | πŸ“ Git history |

File Sync

| Command | Description | |---------|-------------| | meatloaf sync up/down/watch | πŸ”„ Sync files |

Proxy & Tunneling

| Command | Description | |---------|-------------| | meatloaf proxy start/forward/tunnel | πŸ”€ Port forwarding |

Scheduled Tasks

| Command | Description | |---------|-------------| | meatloaf cron add/list/remove/clear | ⏰ Cron jobs |

Diff & Compare

| Command | Description | |---------|-------------| | meatloaf diff files/sb/changes | πŸ”€ Compare files |

Watch Mode

| Command | Description | |---------|-------------| | meatloaf watch <id> | πŸ‘οΈ Auto-sync on changes |

Resource Quotas

| Command | Description | |---------|-------------| | meatloaf quota set/get/limits | πŸ“Š Resource limits |

Service Discovery

| Command | Description | |---------|-------------| | meatloaf discover resolve/lookup/register | 🌐 DNS resolution |

Audit Logging

| Command | Description | |---------|-------------| | meatloaf audit log/stats/clear/export | πŸ“‹ Audit trail |

System

| Command | Description | |---------|-------------| | meatloaf system --prune --info | 🧹 System operations |

πŸ€– AI Agent Integration

Meatloaf works seamlessly with:

OpenClaw

# Meatloaf works out of the box with OpenClaw agents
meatloaf create --image node:20-alpine
meatloaf exec sandbox-id "npm start"
meatloaf test --url http://localhost:3000

Claude Code / Cursor / VS Code

# Use meatloaf from any terminal-based AI agent
meatloaf up ./my-project --json  # JSON output for parsing

Any AI Agent

# Detect environment
meatloaf agent --detect

# JSON output mode
meatloaf create --image python:3.12-slim --json

πŸ“ Templates

meatloaf templates           # List all
meatloaf init -t node-express
meatloaf init -t python-flask
meatloaf init -t static-site
meatloaf init -t go-gin
meatloaf init -t postgres
meatloaf init -t redis

πŸ”₯ Full Lifecycle Example

# One command to rule them all
meatloaf up ./my-app

# This will:
# 1. Create a sandbox
# 2. Upload your project files
# 3. Run setup commands (npm install, etc.)
# 4. Start the application
# 5. Wait for the endpoint to be ready
# 6. Report success

πŸ§ͺ Batch Testing

Create a tests.json:

[
  { "name": "Home", "url": "http://localhost:3000", "method": "GET" },
  { "name": "Health", "url": "http://localhost:3000/health", "method": "GET" },
  { "name": "Create", "url": "http://localhost:3000/api/items", "method": "POST", "body": {"name": "test"} }
]

Run:

meatloaf batch tests.json

βš™οΈ Configuration

Meatloaf stores config in ~/.meatloaf/config.json:

{
  "defaultImage": "node:20-alpine",
  "sandboxTTL": 3600000,
  "maxSandboxes": 10,
  "screenshot": {
    "width": 1280,
    "height": 720
  }
}

πŸ—οΈ Architecture

meatloaf/
β”œβ”€β”€ bin/meatloaf.js          # Entry point
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ index.js             # CLI definition
β”‚   β”œβ”€β”€ commands/
β”‚   β”‚   β”œβ”€β”€ sandbox.js       # Sandbox lifecycle
β”‚   β”‚   β”œβ”€β”€ exec.js          # Command execution
β”‚   β”‚   β”œβ”€β”€ http.js          # HTTP testing
β”‚   β”‚   β”œβ”€β”€ screenshot.js    # Screenshot capture
β”‚   β”‚   β”œβ”€β”€ logs.js          # Log management
β”‚   β”‚   └── init.js          # Project templates
β”‚   β”œβ”€β”€ lib/
β”‚   β”‚   β”œβ”€β”€ docker.js        # Docker engine
β”‚   β”‚   β”œβ”€β”€ http.js          # HTTP client
β”‚   β”‚   └── screenshot.js    # Screenshot engine
β”‚   └── utils/
β”‚       β”œβ”€β”€ logger.js        # CLI output
β”‚       β”œβ”€β”€ config.js        # Configuration
β”‚       └── helpers.js       # Utilities
└── tests/
    └── integration.test.js  # Test suite

πŸ“„ License

MIT β€” Use it, fork it, make it yours. πŸ₯©


Built with ❀️ for AI agents everywhere πŸ€–