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

@opencompute/worker

v0.4.0

Published

Native CLI worker for the opencompute inference network. Connects to the orchestrator over Socket.io and serves jobs from your GPU.

Readme

opencompute worker

Native CLI worker for the opencompute contributor inference network. It connects to the orchestrator over Socket.io, serves Ollama-backed text jobs or ComfyUI-backed image jobs from your GPU, and accrues worker earnings for verified work.

Quick start

npx @opencompute/worker

The first run asks for mode/model, runs the local setup and benchmark, then opens a browser approval link and saves the worker session locally. Future starts can use the same bare command. For production, the CLI connects to https://api.openpute.com by default. Override it with OPENCOMPUTE_ORCHESTRATOR_URL or pass --url. For local development:

npx @opencompute/worker --url http://localhost:3001

On first run, the worker asks whether to run text or image mode. Text mode asks which Ollama model to run and remembers the choice. Interactive starts show live network counts when available and recommend the least-served text model. Headless starts reuse the saved mode/model, or fall back to text mode.

Models

The package currently supports these Ollama models:

  • qwen3-8b - Qwen3 8B, fast general work, low VRAM (5GB).
  • deepseek-r1-0528-qwen3-8b - DeepSeek R1 0528 Qwen3 8B, reasoning, low VRAM (5GB).
  • qwen3-14b - Qwen3 14B, better quality, 16GB+ VRAM (9GB).
  • dolphin-qwen-8b - Dolphin Qwen 8B, uncensored, low VRAM (5GB).
  • dolphin-qwen-14b - Dolphin Qwen 14B, uncensored, 16GB+ VRAM (9GB).
  • qwen3.6-35b-a3b - Qwen3.6 35B A3B MoE (3B active), 24GB+ VRAM (22GB).
  • nemotron-3-nano-30b-a3b - Nemotron 3 Nano 30B A3B MoE (3B active), 24GB+ VRAM (20GB).

Skip the prompt with --model:

npx @opencompute/worker --model qwen3-14b

Runtime

Text mode checks for Ollama, installs it when possible, starts or restarts it with NVIDIA-friendly settings, pulls the selected base model, creates an opencompute model wrapper, runs a benchmark, then registers with the network.

Image mode checks for ComfyUI at COMFY_URL or manages a local install under ~/.opencompute. It pins ComfyUI to a tested commit, downloads the Chroma1-HD model files, runs a 512x512 render self-check, then registers as an opencompute-image worker.

Set OC_MANAGE_OLLAMA=0 if you want to manage Ollama yourself. The worker checks for package updates and prints the manual install command, but it does not install and re-exec updates unless OC_AUTO_UPDATE=1 is set. Set OC_NO_UPDATE=1 to skip the update check entirely.

Options

--url <url>      Orchestrator URL
--app-url <url>  opencompute web URL used for browser login
--mode <mode>    text or image
--model <model>  Model key to run
--benchmark      Run setup and benchmark, then exit
--version        Show version
--help           Show help

Earnings

Worker earnings accrue from completed verified jobs. The dashboard Rewards page shows pending, queued, and paid payout states, and the Wallet page controls the active payout wallet.

Image mode

npx @opencompute/worker --mode image

Useful environment variables:

COMFY_URL          Existing ComfyUI endpoint, default http://127.0.0.1:8188
COMFY_DIR          Existing ComfyUI folder, or unset for managed ~/.opencompute/ComfyUI
IMAGE_TIMEOUT_MS   Per-render timeout in milliseconds