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

@gonkalabs/blocks-cli

v0.1.1

Published

Command-line interface for Gonka Blocks — package any project as a block, run it on the Gonka inference network, and stream results back.

Downloads

48

Readme

@gonkalabs/blocks-cli

Command-line interface for Gonka Blocks — package any project as a block, run it on the Gonka inference network, and stream results back to your terminal.

gonkablocks magic           # interactive walkthrough
gonkablocks deploy ./mybot  # ship a block
gonkablocks run alice/translate text="hello"

Install

One-line installer (recommended):

curl -fsSL https://blocks.gonka.gg/install.sh | sh

Or with npm:

npm install -g @gonkalabs/blocks-cli

Then verify:

gonkablocks --version

Two binaries are installed: gonkablocks (full name) and gbk (short alias). They are identical.

Requires Node.js 20 or later.

Quickstart

# 1. Connect once. Opens your browser, mints a long-lived API key,
#    saves it to ~/.gonkablocks/config.json.
gonkablocks connect

# 2. Run any published block.
gonkablocks run admin/qwen-quick text="hello world"

# 3. Or wrap your own script as a Run, with the inference proxy
#    auto-injected into OPENAI_API_KEY / OPENAI_BASE_URL.
gonkablocks exec --title "my agent" -- python my_agent.py

To ship your own block:

gonkablocks init mybot          # scaffold manifest.yaml + Dockerfile + main.py
gonkablocks deploy ./mybot      # upload, build, publish
gonkablocks run me/mybot        # invoke it

Commands

| Command | What it does | | --- | --- | | gonkablocks magic | Interactive setup: connect + scaffold + run/deploy | | gonkablocks connect | Mint a long-lived API key (one-shot login) | | gonkablocks login | Classic browser cookie session | | gonkablocks env | Print shell exports for the active key (source <(gonkablocks env)) | | gonkablocks init [dir] | Scaffold a blank block | | gonkablocks deploy [dir] | Auto-scaffold (if needed) + upload + build + publish | | gonkablocks run a/b [k=v ...] | Run a published block by <author>/<slug> | | gonkablocks runs | List your recent runs | | gonkablocks exec -- <cmd> | Wrap a local subprocess as an observed cloud Run | | gonkablocks proxy [--port N] | Local OpenAI-compatible HTTP forwarder |

Run any command with --help for full options.

How runs are billed

Inference is metered against the live on-chain price the Gonka validator network charges, converted to USD via the GONKA/USD exchange rate. Today that's about $0.00044 per 1M tokens for Qwen3-235B and Kimi K2.6 — roughly 100× cheaper than the big clouds. Your active per-block spend cap (set in manifest.yaml) prevents runaway costs.

Anonymous users get 10 free runs per week without any login.

Documentation

License

MIT — see LICENSE.