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-unipi/kanboard

v0.1.8

Published

Visualization layer for unipi workflow — HTTP server with htmx/Alpine.js UI, modular parsers, TUI overlay, and kanban board

Readme

@pi-unipi/kanboard

Visualization layer for unipi workflow data. Kanboard provides an HTTP server with htmx + Alpine.js UI, modular parsers for all workflow document types, two web pages (Milestones + Workflow), a TUI overlay with tasks list and kanban board, and a doctor skill for parser diagnostics.

Quick Start

# Start the kanboard server
/unipi:kanboard

# Diagnose parser issues
/unipi:kanboard-doctor

Architecture

kanboard/
├── server/          # HTTP server with port allocation
│   ├── index.ts     # Server core (KanboardServer class)
│   └── routes/      # Route handlers (milestone, workflow)
├── parser/          # Document parsers
│   ├── index.ts     # ParserRegistry + createDefaultRegistry()
│   ├── specs.ts     # Spec parser (checklist items)
│   ├── plans.ts     # Plan parser (task statuses)
│   ├── milestones.ts # Milestone parser
│   └── remaining.ts # Quick-work, debug, fix, chore, review
├── ui/              # Web UI
│   ├── layouts/     # Base HTML layout
│   ├── static/      # CSS + JS (style.css, app.js)
│   ├── components/  # Reusable components
│   ├── milestone/   # Milestone page renderer
│   └── workflow/    # Workflow page renderer
├── tui/             # TUI overlay
│   └── kanboard-overlay.ts
├── skills/          # Skills
│   └── kanboard-doctor/ # Parser diagnostics
├── commands.ts      # Command registration
├── types.ts         # Shared TypeScript types
└── index.ts         # Extension entry point

Web Pages

Milestones (/)

  • Displays MILESTONES.md phases with progress bars
  • Checklist items with status indicators (✓ done, ○ todo)
  • Collapsible sections per phase
  • Copy-to-clipboard for /unipi:milestone-update

Workflow (/workflow)

  • Cards grouped by document type (specs, plans, fixes, etc.)
  • Progress indicators per card
  • Alpine.js filtering by status (All, To Do, In Progress, Done)
  • Copy-to-clipboard for relevant commands

TUI Overlay

Two tabs accessible via the kanboard overlay:

  • Tasks — Flat list of all tasks from all documents with status icons
  • Board — Kanban columns (To Do / In Progress / Done)

Controls

  • j/k — Navigate up/down
  • h/l — Switch columns (Board tab)
  • Tab or b — Switch between Tasks/Board tabs
  • t — Switch to Tasks tab
  • gg/G — Jump to top/bottom
  • q/Esc — Close overlay

API Endpoints

| Method | Path | Description | |--------|------|-------------| | GET | / | Milestone page | | GET | /workflow | Workflow page | | GET | /api/milestones | Milestone JSON data | | GET | /api/workflow | Workflow JSON data | | POST | /api/docs/:type/:file/items/:line | Update item status |

Parser System

Kanboard parses 8 document types from .unipi/docs/:

| Type | Directory | What's Parsed | |------|-----------|---------------| | Spec | specs/ | - [ ] / - [x] checklist items | | Plan | plans/ | unstarted: / in-progress: / completed: statuses | | Milestone | MILESTONES.md | Phase headers + checklist items | | Quick-work | quick-work/ | Title + checklist items | | Debug | debug/ | Headers + checklists | | Fix | fix/ | Headers + checklists + related debug ref | | Chore | chore/ | Chore steps as checklist items | | Review | reviews/ | Review remarks as checklist items |

Parser Warnings

Parsers are resilient — they collect warnings per file and return partial results:

  • Empty checkbox text
  • Malformed checkboxes
  • Missing frontmatter
  • Unparseable lines

Warnings are surfaced in the kanboard-doctor skill.

Doctor Skill

The kanboard-doctor skill runs all parsers and produces a diagnostic report:

  1. Run All Parsers — Parse every document
  2. Collect Errors — Group warnings by file
  3. Present Report — Structured error listing
  4. Fix One by One — Suggest fixes, ask user to confirm
  5. Re-validate — Re-run parser after each fix

Server Configuration

Default configuration (from @pi-unipi/core):

KANBOARD_DEFAULTS = {
  PORT: 8165,      // Starting port
  MAX_PORT: 8175,  // Maximum port to try
}
  • Port allocation: tries 8165, increments on EADDRINUSE
  • PID file: .unipi/kanboard.pid
  • Graceful shutdown on SIGINT/SIGTERM
  • Static files served from ui/static/

Dependencies

  • @pi-unipi/core — Shared constants and utilities
  • @mariozechner/pi-coding-agent — Extension API
  • @mariozechner/pi-tui — TUI overlay API