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

tpc-explorer

v2.0.0

Published

Terminal file explorer with embedded AI assistants (Claude Code / OpenAI Codex)

Readme

TPC Explorer Pro

A terminal file explorer with embedded AI assistants, command palette, git integration, and multi-session support.

Node.js Platform

Install

npm install -g tpc-explorer
tpc

Or run directly:

npx tpc-explorer

Features

  • File tree with syntax-highlighted preview, line numbers, and breadcrumb navigation
  • Git integration — branch name in status bar, M/A/U/D indicators on changed files
  • Embedded AI terminal — launch Claude Code or OpenAI Codex inside the explorer
  • Multi-session — run multiple AI sessions simultaneously, switch with Ctrl+A
  • Session history — browse and resume past Claude/Codex conversations
  • Command palette (Ctrl+B) — git status, diff, log, branches, disk usage, package info, and more
  • File search (Ctrl+F) — fuzzy find files across the project
  • Welcome screen — ASCII logo with shortcuts and project info on startup
  • Loading spinner when AI sessions start
  • Copy path and Open in $EDITOR from the tree
  • Tokyo Night Storm theme with emoji file-type icons (no Nerd Font needed)

Keyboard Shortcuts

| Key | Action | |-----|--------| | Ctrl+B | Command palette (git, views, actions) | | Ctrl+F | Search files | | Ctrl+T | Switch panel (Tree / Sessions / Viewer) | | Ctrl+A | Switch between active AI sessions | | Ctrl+D | Kill all sessions and quit | | a | Launch new AI (Claude Code / Codex) | | n | New file | | f | New folder | | d | Delete file/folder | | c | Copy file path to clipboard | | e | Open in $EDITOR | | r | Refresh tree, git status, and sessions | | q / Esc | Quit |

Inside AI session

| Key | Action | |-----|--------| | Ctrl+C | Send interrupt to AI | | Ctrl+C x2 | Force kill active session | | Ctrl+T | Switch to another panel (AI keeps running) | | Ctrl+B | Open command palette |

Layout

┌─ EXPLORER ──┬─────────── PREVIEW ───────────┐
│ file tree   │ breadcrumb path                │
│  with git   │ ─────────────────────          │
│  indicators │ syntax-highlighted content     │
│             │ or embedded AI terminal        │
├─ SESSIONS ──┤                                │
│ ◆ Claude    │                                │
│ ⊞ Codex     │                                │
├─────────────┴────────────────────────────────┤
│ Ctrl-T Switch │ Ctrl-B Cmds │ ⊙ main  Ctrl-D│
└──────────────────────────────────────────────┘

Command Palette

Press Ctrl+B to open. Available actions:

Actions — Launch AI, Switch Sessions, Search Files, New File/Folder, Delete, Copy Path, Open in Editor

Git — Status, Diff, Log (last 20), Branches, Stash List

View — Disk Usage, Package Info (parsed package.json with scripts, deps)

Requirements

  • Node.js >= 18
  • Build tools for native modules (node-pty):
    • macOS: Xcode Command Line Tools (xcode-select --install)
    • Linux: build-essential (sudo apt install build-essential)
    • Windows: windows-build-tools (npm install -g windows-build-tools)
  • Optional: Claude Code and/or OpenAI Codex CLI installed

License

ISC