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

unraid-cli

v0.1.0

Published

The serious CLI for Unraid Server. Built for humans and AI agents.

Readme


Why this exists

The WebUI is slow for repetitive work. SSH alone is too raw. Agents need structured output that doesn't fight back.

ucli wraps the Unraid GraphQL API into a stateless CLI with json, yaml, table, and human-readable output. No REPL, no interactive shell state, no surprises in automation.

Quick start

npm (planned)

npm install -g unraid-cli

From source

git clone https://github.com/ingodibella/unraid-cli.git
cd unraid-cli
npm install
npm run build
npm link

Then point it at your server:

ucli --host http://192.168.1.10:7777 --api-key YOUR_API_KEY system info

Or set up a config profile:

Create ~/.config/ucli/config.yaml:

default_profile: lab
profiles:
  lab:
    host: http://192.168.1.10:7777
    apiKey: YOUR_API_KEY
    output: table
    timeout: 30

Then just:

ucli system info
ucli containers list --output json --filter state=RUNNING

For AI agents

TL;DR: Pass --output json --quiet, point at AGENTS.md for workflows and safety rules.

ucli --output json --quiet system info
ucli containers list --output json --fields id,names,state,status --sort names:asc
ucli notifications latest --output json --quiet

--fields cuts token waste. --filter and --sort move data shaping into the CLI. Stateless commands make retries safe. Clean stderr and explicit exit codes make failure handling predictable.

See AGENTS.md for recommended workflows, guardrails, and anti-patterns.

Features

| | | |---|---| | GraphQL API | Built on the official Unraid 7.2+ API | | Output formats | json, yaml, table, human-readable | | Agent-first shaping | --fields, --filter, --sort baked in | | Stateless | No REPL, no session state, safe for scripts and cron | | Non-interactive | Pipes cleanly, no hanging prompts | | Strong types | Schema-driven TypeScript from GraphQL operations | | Retry logic | Configurable --timeout and --retry |

Commands

15 command groups covering the full Unraid surface:

| Group | What it does | |---|---| | system | Info, health, status, resources, uptime | | array | State, devices, parity, parity-check control | | disks | Inventory, SMART, temperature, usage, mount actions | | containers | List, inspect, logs, stats, start/stop/restart/pause/remove | | notifications | List, latest, get, create, archive, unread ops | | vms | List, inspect, state, start/stop/reboot/pause/resume/reset | | shares | List, get, usage | | logs | List, get, system, tail, search | | services | List, get, status | | network | Interfaces and network status | | schema | Inspect API queries, mutations, fields, types | | diagnostics | Ping, latency, env, GraphQL checks, permissions, doctor | | auth | API key management | | config | Profile and config management | | completion | Shell completions |

Run ucli <group> --help for detailed syntax.

| Flag | Description | |---|---| | --host | Server URL | | --api-key | API key | | --profile | Config profile name | | --output | json, yaml, table, human | | --fields | Comma-separated field list | | --filter | Filter expression (e.g. state=RUNNING) | | --sort | Sort expression (e.g. names:asc) | | --page, --page-size, --all | Pagination | | --timeout, --retry | Network settings | | --quiet, --verbose, --debug | Verbosity | | --yes, --force | Skip confirmations |

Environment variables supported for host, API key, profile, and config path. Check ucli diagnostics env for the exact resolution.

Tests

npm run typecheck    # type checks
npm test             # 385 tests via vitest
npm run build        # compile

Contributing

See CONTRIBUTING.md for setup, test commands, and PR guidelines.

License

MIT. See LICENSE.