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

@piedpiperrh/host

v0.2.0

Published

Host LLM inference for the Pied Piper network from your terminal and earn credits. Serves models through a local Ollama.

Readme

@piedpiperrh/host

Host LLM inference for the Pied Piper network from your terminal and get paid in credits for every request you serve. No browser tab required — inference runs through your local Ollama.

Prerequisites

  1. Ollama installed and running (ollama serve happens automatically on most installs).
  2. At least one supported model pulled:
    ollama pull llama3.2:3b     # small, popular, good starter
    ollama pull qwen2.5:7b      # if you have ~6 GB of VRAM
  3. A Pied Piper account and an API key (dashboard → Settings → API keys).

Run

npx @piedpiperrh/host --key lg_pk_your_key_here

or install globally:

npm install -g @piedpiperrh/host
piedpiper-host --key lg_pk_your_key_here

The CLI detects which of your installed Ollama models exist in the Pied Piper catalog, registers them, and starts serving jobs. Leave it running; stop with Ctrl-C (it deregisters cleanly).

Options

| Flag | Meaning | | --- | --- | | --key, -k | API key (lg_pk_…); or set PIEDPIPER_API_KEY | | --price <n> | Credits you charge per request (default 1) | | --title <text> | Marketplace listing title; also makes your host rentable/pinnable | | --vram <mb> | Advertised VRAM cap (default: sized from your largest served model) | | --ollama <url> | Ollama endpoint (default http://127.0.0.1:11434) | | --url <url> | Platform URL, for previews/self-hosted deployments |

How you get paid

Each completed request transfers credits (your --price, ×2–10 for priority requests) from the renter's balance to yours. Check earnings in the dashboard; credits can be withdrawn on-chain from the Credits page.

Supported models

The network catalogs models by web-llm id; this CLI serves the equivalent Ollama weights. Currently mapped: Llama 3.1/3.2, Qwen 2.5 (+Coder), Gemma 2, Phi 3.5, Mistral 7B, SmolLM2, DeepSeek-R1 distills, Hermes 3, TinyLlama, plus the vision models llama3.2-vision, llava, qwen2.5vl, and moondream. Anything else installed in Ollama is ignored (the catalog and the CLI's model map have to agree on identity — PRs welcome).

Tool calling & vision

Console hosts are the network's capability tier:

  • If any of your served models supports function calling (Llama 3.x, Qwen 2.5, Mistral, Hermes 3), your host advertises tools and receives OpenAI-style tool-calling jobs.
  • If you serve a vision model (ollama pull llava or llama3.2-vision), your host advertises vision and receives image requests — images arrive inline in the job payload, nothing is fetched from the internet.

Browser hosts can't do either, so these requests route exclusively to console hosts — usually a less crowded, better-paying lane.

Notes

  • Your machine only receives job payloads (messages + sampling params) and streams tokens back; prompts are scrubbed from the platform DB after each job settles.
  • Keep the process alive to stay in the dispatch pool; a missed heartbeat for ~5 minutes ends your session server-side.