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

@zerodawn/tmux-sidebar

v0.1.1

Published

Shared right-pane tmux sidebar aggregating td view (tasks) and pi-ping render (agents)

Downloads

226

Readme

@zerodawn/tmux-sidebar

Shared right-pane tmux sidebar that stacks TASKS (via td view) and AGENTS (via pi-ping render) in one pane, refreshing every 2s.

Install

npm install -g @zerodawn/tmux-sidebar

Provides two binaries on PATH:

  • tmux-sidebar — render loop (TASKS + AGENTS), what you run inside the pane
  • tmux-sidebar-toggle — open/close the sidebar on the current tmux window

Usage

Keybind

Add to your tmux config (zerodawn ships this in local/shell/tmux/pi.conf):

bind-key S run-shell 'tmux-sidebar-toggle'

prefix + S toggles the sidebar. The new pane is tagged with title pi-sidebar, which is how the toggle finds it again.

Layout

┌──────────────────────┐
│ TASKS                │
│   …td view…          │
│ ─────────────        │
│ AGENTS               │
│   …pi-ping render…   │
└──────────────────────┘

Pane is split right at 25% width, user-resizable. Survives tmux reload via tmux-resurrect.

Behaviour

  • Best-effort widgets. A missing td or pi-ping binary shows a dim (… not installed) line; the other widget keeps rendering. A widget exiting non-zero shows (<cmd> exited non-zero); the loop continues.
  • Per-window filter. td view auto-reads /tmp/td/window-filters/<window-id>, so the sidebar shows the filter of the window it lives in. No extra wiring.
  • Clean exit. SIGINT/SIGTERM exit immediately so closing the pane is silent.

Configuration

Environment variables read on launch:

| Variable | Default | Purpose | | ---------------------- | -------------- | ----------------------------------------------------- | | TMUX_SIDEBAR_REFRESH | 2 (seconds) | Refresh interval for the render loop | | TMUX_SIDEBAR_WIDTH | 25 | Pane width percentage (used by tmux-sidebar-toggle) | | TMUX_SIDEBAR_CMD | tmux-sidebar | Command launched in the new pane (used by toggle) |

Disable

Remove the bind-key S line from your tmux config and reload (tmux source-file ~/.tmux.conf). Uninstall the package with npm uninstall -g @zerodawn/tmux-sidebar.

Development

npm install
npm run smoke

The smoke test exercises renderFrame + toggleSidebar with fake runners — no tmux, td, or pi-ping required.

Related

  • Plan: .pi/docs/local/tmux-sidebar/plans/mvp.md
  • Companion: @zerodawn/td (TASKS widget), @zerodawn/pi-ping (AGENTS widget)