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-streak

v1.2.8

Published

pi-streak leaderboard API + CLI

Downloads

107

Readme

pi-streak

A Bun terminal contribution chart for the usage data recorded in pi agent session JSONL files. It renders a GitHub-style calendar with one square per day, colored by daily token activity.

Now with a global leaderboard — sync your stats and compete.

Install

npx pi-streak

pi-streak requires Bun and reads the session files at ~/.pi/agent/sessions/ by default.

Usage

pi-streak                    # personal dashboard
pi-streak --weeks 26
pi-streak today              # today's activity
pi-streak rank               # global leaderboard (all-time, top 20)
pi-streak rank day           # daily leaderboard
pi-streak rank week          # weekly leaderboard
pi-streak rank month         # monthly leaderboard
pi-streak rank alltime --all # full all-time leaderboard

pi-streak models             # model usage breakdown (tokens, sessions, cost)
pi-streak projects           # project usage breakdown (tokens, sessions, cost)
pi-streak cost               # 30-day cost breakdown
pi-streak peak               # your most expensive day with top models/projects
pi-streak month              # current month calendar view
pi-streak month 2026-05      # specific month calendar view

pi-streak @username          # synced user dashboard
pi-streak sync               # sync all local daily stats to leaderboard

License

MIT