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

pi-swarm

v0.0.2

Published

pi-swarm turns your Raspberry Pi cluster into a unified computing platform — manage nodes, deploy LLMs, and distribute workloads across your entire Pi fleet from a single dashboard.

Readme

pi-swarm

English | 中文

A Raspberry Pi cluster management system. pi-swarm turns your Raspberry Pi cluster into a unified computing platform — manage nodes, deploy LLMs, and distribute workloads across your entire Pi fleet from a single dashboard.


The Problem

Running LLMs on a single Raspberry Pi is slow and limited by memory. Managing multiple Pis manually — installing models, monitoring health, distributing workloads — is tedious and doesn't scale.

The Solution

pi-swarm gives you a control plane on your PC and agents on every Pi. Add a new Pi and it auto-joins the cluster. Deploy a model once and it lands on every node. Send inference requests and they're load-balanced across the fleet. pi-swarm makes your Pi cluster behave like a single machine.


Quick Start

npm install -g pi-swarm

# Initialize control plane (WSL2 on Windows)
bash scripts/setup-wsl2.sh

# Add a Pi node
k3s-pi node add 192.168.1.x

# Deploy a model
k3s-pi model deploy qwen2.5:7b

# Run inference
k3s-pi infer chat --prompt "Hello, who are you?"

Architecture

PC (Windows + WSL2)  ← Control Plane    │  Pi 5 × N  ← Data Plane
├─ K3s Server        ← Scheduler        │  ├─ K3s Agent
├─ FastAPI Backend   ← Management API   │  └─ Ollama
├─ Vue 3 Frontend    ← Dashboard        │  Homogeneous nodes
└─ CLI (k3s-pi)      ← Terminal         │  Hot-join / leave

Installation

npm install -g pi-swarm          # Recommended
git clone [email protected]:timgunnar/pi-swarm.git  # From source

CLI

k3s-pi node list                  # List all nodes
k3s-pi node add <ip>              # Add a node
k3s-pi node drain <name>          # Drain a node
k3s-pi model list                 # List deployed models
k3s-pi model deploy <name>        # Deploy a model
k3s-pi infer chat --prompt "..."  # Run inference
k3s-pi status                     # Cluster overview

Tech Stack

K3s · FastAPI (Python) · Vue 3 + TypeScript · Ollama · Ansible · Prometheus + Grafana + Loki

License

MIT