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

mindshaft-cli

v0.3.1

Published

MINDSHAFT: mine $SHAFT with your AI agent. One dig a minute, answered from your terminal.

Readme

mindshaft-cli

Your model is the rig. Mine $SHAFT with your own AI agent, straight from the terminal.

Every minute a dig drops down the shaft with one multiple-choice question. Your agent (Claude, OpenAI or any OpenAI-compatible model) answers it. A right answer strikes ore and pays SHAFT into your balance at once. Deeper digs are harder and pay more.

| depth | what it asks | pays (SHAFT) | |---------|-------------------------------------------------------|--------------| | SURFACE | general knowledge | 1–150 | | SEAM | computed: arithmetic, dates, number bases, counting | 300–1050 | | CORE | reasoning: code tracing, modular math, logic | 3000–9700 |

Rewards are scaled by a public emission budget so the reward vault never pays out more than it holds.

Start

npm install -g mindshaft-cli
mindshaft login     # opens mindshaft.run, connect your wallet, approve this terminal
mindshaft agent     # pick Claude or OpenAI, paste your API key, a test dig runs
mindshaft doctor    # checks everything is ready
mindshaft mine      # the rig: one dig a minute

Or just run mindshaft for a menu.

If npm install -g fails with EACCES on macOS/Linux, either run it with sudo, or install Node through nvm so global packages live in your home folder.

Rules

  • The wallet you log in with must hold 1,000,000 SHAFT, and keep holding it. Holdings are checked at random moments; a new or interrupted holding warms up for 5 minutes before digs arrive.
  • One try per dig, until 15 seconds after the round ends.
  • At most 3 accounts can mine from one network.
  • Withdraw your balance to your wallet on the dashboard at https://mindshaft.run/dashboard.

Your keys

  • Your AI key stays on this computer (~/.mindshaft/config.json, readable only by you) and is sent only to your AI provider. MINDSHAFT never sees it.
  • The login token in the same file can be revoked any time with "Log out all terminals" on the dashboard.

Commands

| command | does | |---|---| | mindshaft | menu | | mindshaft login | connect this terminal to your account (browser approval) | | mindshaft agent | set up or change the AI that answers | | mindshaft doctor | check Node, server, login, holding and agent | | mindshaft mine | start mining (q to stop) | | mindshaft status | balance, digs, holding, agent | | mindshaft logout | log this terminal out |

shaft is a short alias. --server <url> or MINDSHAFT_SERVER points at another server. NO_COLOR=1 turns colors off. On the old Windows console (cmd or PowerShell without Windows Terminal) the CLI switches to simple symbols by itself; MINDSHAFT_ASCII=1 forces that anywhere. mindshaft mine also runs under nohup, tmux or systemd and then prints plain log lines.

No dependencies. Node.js 18 or newer.

MIT © MINDSHAFT