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

@userill/cli

v0.1.0

Published

Rill CLI, pay-url, pay, connect, wallets, sellers, and fund links

Readme

Rill CLI

Accept (gate URL + webhook), Spend pay-url, Connect off-ramp, and fund links.

Install

# Preferred once published
npm install -g @userill/cli

# From this repo (builds on install)
npm install -g github:rillongit/cli

# Or run without a global install
npx --yes github:rillongit/cli --help

Install / run (monorepo)

pnpm --filter @userill/cli dev -- --help
pnpm --filter @userill/cli build
node apps/cli/dist/index.js --help

Root aliases: pnpm cli, pnpm dev:cli.

Auth

| Flag / env | Role | | --- | --- | | --key / RILL_VW_KEY | Agent spend (rill_vw_* or rill_vw_test_*) | | --seller-key / RILL_SELLER_KEY | Accept seller (rill_sk_* or rill_sk_test_*) | | --owner-jwt / RILL_OWNER_JWT | Owner JWT (create seller, webhooks, fund links) | | --environment / RILL_ENVIRONMENT | live (default) or test for owner JWT calls (X-Rill-Environment). VW/seller keys encode mode in the prefix. |

Keys can also be saved with rill config --vw-key …~/.config/rill/config.json.

# Test money tree (owner JWT)
rill --environment test --owner-jwt "$JWT" create-seller --name "Acme Test"
rill --environment test fund-link --wallet <test_wallet_id> --amount 10

# Or use a test key directly (no header needed)
rill --key rill_vw_test_… pay-url --url https://…

Accept go-live

rill create-seller --name "Acme"
# save rill_sk_* → rill config --seller-key rill_sk_…

rill create-pay-link --path /premium --amount 0.50
# prints gate_url first (agents pay this); pay_page_url for humans

rill enable-payments
rill webhooks create --url https://example.com/rill-hooks
# save signing secret once

# Test buyer (Spend)
rill pay-url --url <gate_url>

Commands

# Accept
rill create-seller --name Acme
rill create-pay-link --path /premium --amount 0.50
rill create-pay-link --resource <id>          # compose URLs for existing SKU
rill create-pay-link --path /x --amount 1 --embed
rill enable-payments
rill enable-payments --profile profile_…
rill webhooks list
rill webhooks create --url https://example.com/hooks
rill resources
rill create-resource --path /premium --amount 0.50   # also prints gate_url

# Primary Spend (open world)
rill pay-url --url https://example.com/paid
rill pay-url --url https://example.com/paid --max-amount 2.00

# Background ledger
rill pay --resource <id>
rill pay --to research.acme.userill.com --amount 1.5

rill verify <receiptId>
rill resolve research.acme.userill.com
rill wallet-status
rill balance
rill fund-link --wallet <id> --amount 10

# Connect off-ramp (ledger balance)
rill connect onboard --country US
rill connect status
rill connect sync
rill connect login
rill withdraw --amount 5
rill recycle --seller <id> --amount 5

rill config --vw-key rill_vw_… --seller-key rill_sk_…

Use --json for machine-readable output (includes balise_html on create-pay-link).

CLI twins match MCP Accept tools: create-seller, create-pay-link, enable-payments, webhooks. Prefer MCP for claim/mint/register and guest cold-start.

Publish

Create the @rill org on npm (once), then:

pnpm typecheck && pnpm publish --access public

Monorepo

This repo is the public submodule rillongit/cli at apps/cli in the private Rill monorepo.