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

bitsage-cli

v0.2.0

Published

BitSage Network CLI — verifiable AI inference, GPU prover nodes, on-chain proofs

Readme

BitSage CLI

Command-line interface for managing BitSage validator nodes.

Installation

# From the CLI package directory
npm install
npm run build

# Link globally (optional)
npm link

# Or run directly
npx bitsage <command>

Commands

Setup

# Interactive setup wizard
bitsage init

# Setup with specific network
bitsage init --network sepolia

Faucet (Testnet Only)

# Claim testnet SAGE tokens
bitsage faucet

Registration

# Register as validator with default settings
bitsage register

# Register with custom stake and commission
bitsage register --stake 2000 --commission 300

Stake Management

# View stake info
bitsage stake info

# Add stake
bitsage stake add 500

# Remove stake
bitsage stake remove 200

Services

# Start all services
bitsage start

# Start without GPU worker
bitsage start --no-gpu

# Start with monitoring (Prometheus + Grafana)
bitsage start --monitoring

# Start in foreground (see logs)
bitsage start --foreground

# Stop all services
bitsage stop

# Stop and remove data volumes
bitsage stop --volumes

Status & Health

# Show node status
bitsage status

# Status as JSON
bitsage status --json

# Health check
bitsage health

# Verbose health check
bitsage health --verbose

GPU Management

# Detect GPU
bitsage gpu detect

# Detect GPU (JSON output)
bitsage gpu detect --json

# Manually set GPU configuration
bitsage gpu set --tier 3 --vram 24 --type cuda

Logs

# View all logs
bitsage logs

# Follow logs
bitsage logs -f

# View specific service
bitsage logs coordinator
bitsage logs gpu-worker
bitsage logs dashboard

Configuration

The CLI stores configuration in ~/.bitsage/config.yaml:

network: sepolia
rpcUrl: https://starknet-sepolia.public.blastapi.io
wsUrl: wss://starknet-sepolia.public.blastapi.io

wallet:
  address: "0x..."
  keystorePath: ~/.bitsage/keystore.json

validator:
  operatorAddress: "0x..."
  commissionBps: 500
  attestationHash: "0"

gpu:
  autoDetect: true
  tier: 3
  vramGb: 24
  type: cuda
  devices: ["0"]

tee:
  enabled: false
  type: null

services:
  coordinator:
    port: 3030
    workers: 4
  dashboard:
    port: 3000
    enabled: true

Environment Variables

Set VALIDATOR_PRIVATE_KEY to skip interactive prompts:

export VALIDATOR_PRIVATE_KEY=0x...
bitsage register

GPU Tiers

| Tier | Name | VRAM | Example GPUs | |------|--------------|----------|------------------------| | 0 | Consumer | 4-8GB | GTX 1070, RTX 2060 | | 1 | Prosumer | 8-12GB | RTX 3070, RTX 3080 | | 2 | Professional | 12-24GB | RTX 3090, RTX 4090 | | 3 | Datacenter | 24-48GB | A100, L40 | | 4 | Enterprise | 48GB+ | H100, Multi-GPU |

Quick Start

# 1. Initialize
bitsage init

# 2. Claim testnet tokens
bitsage faucet

# 3. Register as validator
bitsage register

# 4. Start services
bitsage start

# 5. Check status
bitsage status

Development

# Run in development mode
npm run dev -- <command>

# Build
npm run build

# Clean
npm run clean