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

opencode-sidebar

v0.3.6

Published

tmux sidebar launcher for OpenCode

Downloads

925

Readme

OpenCode Sidebar

npm version

Tmux sidebar launcher for opencode.

Why Does This Exist?

OpenCode is easier to use when the session list, preview pane, and TUI stay together. This launcher keeps them in one tmux session so you can move between the sidebar and OpenCode without losing context.

Features

  • Left pane for projects and sessions
  • Right pane for the stock OpenCode TUI
  • Enter-based session recall into preview
  • Background active sessions
  • Session deletion from the sidebar
  • Sound notifications when OpenCode needs input or finishes work
  • Automatic cleanup of parked opencode attach panes

Quick Start

Prerequisites

  • Node.js 20+
  • tmux
  • opencode

Make sure they are installed and available in your PATH.

Package

  • npm package: https://www.npmjs.com/package/opencode-sidebar

Install from npm

npm install -g opencode-sidebar
opencode-sidebar

The CLI checks for tmux and opencode at runtime. If either command is missing, it prints a clear error instead of failing silently.

Build & run from source

git clone https://github.com/arnavpisces/opencode-sidebar.git
cd opencode-sidebar
bun install
npm run start

npm run start builds the local dist/ output and launches the same tmux-backed CLI used by the published package.

Usage

OpenCode Sidebar Gif

opencode-sidebar

Shortcuts

  • / : move
  • Enter: load or recall the selected session into preview
  • n: new session
  • e: rename session
  • d: delete session with confirmation
  • k: kill a running session window without deleting history
  • /: search
  • a: add a project folder
  • Space: expand or collapse a project
  • Ctrl-b then arrow keys: switch between the sidebar and the OpenCode pane
  • q: quit

Status Symbols

  • means currently previewed
  • means active in background
  • [*] means a session recently completed work and still has unread completion state

Configuration

  • OPENCODE_SIDEBAR_DIR: override the local state and log directory
  • OPENCODE_SIDEBAR_NOTIFY=0: disable sounds
  • OPENCODE_SIDEBAR_NOTIFY_ATTENTION_SOUND: custom sound for questions and approval requests
  • OPENCODE_SIDEBAR_NOTIFY_COMPLETE_SOUND: custom sound for completion
  • Sound values can be a system sound name like Glass or Ping, or a full path such as ~/Music/done.aiff

Release Checks

  • npm run verify: typecheck, unit tests, and build
  • npm run verify:tmux: manual tmux integration checks in isolated temp workspaces
  • npm run verify:release: full maintainer-only release check

Contribution

Pull requests and opening issues are welcome. For details, see:

License

Apache-2.0 © 2026 Arnav Kumar

If this repo helped you, consider giving it a ⭐. Happy Vibing :)