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

@machine0/cli

v1.0.90

Published

Cloud VMs from the CLI.

Readme

machine0 is a CLI for creating, provisioning, and snapshotting persistent cloud VMs. One command gives you a VM with dedicated CPU/RAM, a static IP, and an HTTPS endpoint. Provision declaratively with NixOS flakes or Ubuntu with Ansible.

Links

Features

  • NixOS with Flakes — provision VMs declaratively. Deterministic builds, one-command rollbacks, no drift.
  • Or Ubuntu with Ansible — pre-installed images with Docker, Node, Python, and popular agents. Ansible provisioning supported.
  • Dedicated resources — real KVM/QEMU. 1 to 60 vCPU, up to 240 GB RAM. Not shared.
  • GPUs — H100, H200, MI300X, L40S, RTX 4000 Ada, W6000 Ada. Single or 8x configurations. From $0.836/hr.
  • Suspend & resume — snapshot a VM's state, stop billing, restore later. Pay only image storage while suspended.
  • Static IPs & HTTPS — every VM gets a public IP and authenticated HTTPS at <vm>.mac0.io.
  • Snapshots & images — snapshot any VM into a reusable image. Version, promote, and set as default for new VMs.
  • File syncsync push and sync pull with --watch for continuous sync.
  • CLI + MCP — every command has --json. A remote MCP server is also available for programmatic control.
  • 4 regions — New York, London, Amsterdam, Singapore. Same pricing everywhere.
  • Per-minute billing — no commitments, refundable credits. A small VM runs 24/7 for ~$9/mo.
  • 99.99% uptime SLA — instance-level.
  • Firewall — ufw enabled by default. Ports 22, 80, 443 open.

Usage

USAGE
  machine0 <command> [flags]

COMMANDS
   ls [flags]                                    List VMs
   get <vm> [flags]                              Show VM details
   new <vm> [flags]                              Create a VM
   update <vm> [flags]                           Update a VM
   start <vm>                                    Start a stopped or suspended VM
   stop <vm>                                     Stop a VM
   reboot <vm>                                   Reboot a VM
   suspend <vm> [flags]                          Suspend a VM (snapshot, delete, pay only for storage). Resume later.
   rm [vm] [flags]                               Remove a VM (--all for all)
   ssh <vm> [command] [flags]                    SSH into a VM or run a command
   provision <vm> <source> [flags]               Provision a VM (NixOS flake reference or Ansible playbook .yml)
   sizes [flags]                                 Show available VM sizes and pricing

ACCOUNT
   whoami [flags]                                Show account details
   login                                         Log in
   logout                                        Log out
   billing [month] [flags]                       Show usage breakdown for a month (default: current month)
   topup [flags]                                 Top up your wallet balance

IMAGES
   images ls [flags]                             List images
   images get <image> [flags]                    Show image details and versions
   images save <vm> <image> [flags]              Snapshot a VM into an image
   images update <image> [flags]                 Update image settings
   images rm [image] [flags]                     Remove an image
   images versions                               Manage image versions
   images upload <url> [flags]                   Upload a custom image from a URL (creates a new version if the name already exists)

SSH KEYS
   keys ls [flags]                               List keys
   keys get <key> [flags]                        Show key details
   keys new <key> [flags]                        Add a key (managed or public)
   keys update <key> [flags]                     Update key settings
   keys rm <key> [flags]                         Remove a key

   managed = keypair stored on server, local = register your own public key

CONFIG
   config get [flags]                            Show current configuration
   config set <assignments>                      Set configuration variables (e.g. config set KEY=VALUE)

FILE SYNC
   sync push <local> <remote> [flags]            Push local files to a VM (e.g., sync push ./src myvm:~/app)
   sync pull <remote> <local> [flags]            Pull files from a VM to local (e.g., sync pull myvm:~/app ./src)

FLAGS
   -h, --help                                    Show help
   -V, --version                                 Show version