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

@yifengsun/pina

v0.1.1

Published

Personal project management CLI

Readme

   ___  _          
  / _ \(_)__  ___ _
 / ___/ / _ \/ _ `/
/_/  /_/_//_/\_,_/ 

A terminal-based tool for managing your side projects. Track, switch between, and organize all your projects from the command line.

Built with Ink + TypeScript. Thank you Patrick for the ACSII art generator.

Install

git clone https://github.com/yifeng-sun/pina.git
cd pina
npm install
npm run build
npm link

Quick Start

# Register your current directory as a project
pina init

# Or scan a directory to discover projects
pina scan ~/dev

# List all your projects
pina list

# Switch to a project
pina switch my-project

# Check the current project status
pina status

Commands

| Command | Description | |---------|-------------| | pina init | Register the current directory as a project | | pina new <name> [-p path] | Register an existing directory by name | | pina scan <directory> | Scan a directory and interactively select projects to register | | pina switch <name> | Switch active project (updates symlink, tracks stats) | | pina list | List all projects in a table | | pina list -s <stage> | Filter by stage | | pina list -t <tag> | Filter by tag | | pina status | Show detailed info for the active project | | pina note "some text" | Add a note to the active project | | pina archive <name> | Archive a project |

Project Lifecycle

Every project moves through stages:

planning → scaffolding �� development → stable → complete ��� archived

| Stage | When | |-------|------| | planning | Just created, no code yet | | scaffolding | First commits, setting up structure | | development | Active work in progress | | stable | Functional, low churn | | complete | Shipped or goal achieved | | archived | Shelved |

Stages advance automatically based on git activity and usage, or you can set them manually.

Project Scanning

pina scan detects projects by looking for common signals:

  • Git.git/
  • Node/TypeScript ��� package.json, tsconfig.json
  • Pythonpyproject.toml, setup.py, requirements.txt, .venv/
  • RustCargo.toml
  • Gogo.mod
  • Javapom.xml, build.gradle
  • DockerDockerfile, docker-compose.yml
  • AICLAUDE.md, .claude/

How It Works

  • Project metadata is stored in ~/.pina/projects.yml
  • One project is "active" at a time, symlinked to ~/current (configurable)
  • Switching projects tracks stats (switches, XP) and logs milestones
  • Cloud sync: point ~/.pina/ at iCloud, Dropbox, or Syncthing — pina stores flat YAML files

Development

# Run in dev mode (no build step)
npx tsx src/cli.ts <command>

# Typecheck
npm run typecheck

# Build
npm run build

License

MIT