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 🙏

© 2025 – Pkg Stats / Ryan Hefner

mux-sesh

v1.3.3

Published

A beautiful tmux session manager built with OpenTUI - fuzzy search sessions, manage projects, clone from GitHub

Readme

mux-sesh

A beautiful, fast tmux session manager built with OpenTUI and TypeScript

Features

  • Fuzzy search - Find sessions and projects instantly
  • Lightning fast - Built with Bun and OpenTUI
  • Beautiful UI - Catppuccin-themed interface
  • Vim keybindings - Navigate with j/k or arrow keys
  • Project scanning - Browse and create sessions from local directories
  • GitHub integration - Clone repos directly from URLs
  • Quick select - Use number keys (1-9) for instant switching
  • Session management - Create, switch, kill, and rename sessions

Installation

Prerequisites

  • Bun - JavaScript runtime (required)
  • Zig - Required for building OpenTUI
  • tmux - Terminal multiplexer
  • git - For GitHub cloning feature
# Install Bun
curl -fsSL https://bun.sh/install | bash

# Install Zig (macOS)
brew install zig

# Install Zig (Linux - check https://ziglang.org/download/)

Install from npm/Bun

bun install -g mux-sesh

# Then run
mux-sesh

Install from Source

git clone https://github.com/quiet-ghost/mux-sesh.git
cd mux-sesh
git checkout opentui-convert

# Install dependencies
bun install

# Build standalone executable
bun run build

# Install globally
sudo cp dist/mux-sesh /usr/local/bin/
# or
cp dist/mux-sesh ~/.local/bin/

Keybindings

Normal Mode

| Key | Action | |-----|--------| | j / k or / | Navigate up/down | | 1-9 | Quick select session/project | | Enter | Switch to session / Create from project | | i | Enter search mode | | n | Create new session | | d | Kill selected session | | r | Rename selected session | | R | Refresh list | | s | Switch to sessions view | | p | Switch to projects view | | q or Esc | Quit |

Search Mode

| Key | Action | |-----|--------| | Type to search | Filter sessions/projects | | Enter | Select first result | | / | Navigate results | | Esc | Cancel search |

New Session Mode

| Key | Action | |-----|--------| | Type project name | Filter projects | | Paste GitHub URL | Clone and create session | | Type custom name | Create named session | | Enter | Confirm selection | | Esc | Cancel |

Configuration

Configuration is stored at ~/.config/mux-sesh/config.json:

{
  "project_paths": ["~/dev", "~/personal", "~/work"],
  "repos_path": "~/dev/repos",
  "editor": "nvim",
  "editor_cmd": "nvim -c \"lua vim.defer_fn(function() if pcall(require, 'telescope') then vim.cmd('Telescope find_files') end end, 100)\"",
  "keybind_mode": "vim", #other option is 'standard'
  "start_in_search_mode": false
}

Configuration Options

  • project_paths - Array of directories to scan for projects
  • repos_path - Directory where GitHub repositories will be cloned
  • editor - Default editor to use
  • editor_cmd - Command to run when opening editor
  • keybind_mode - alternative keybinds for those who do not want vim like binds
  • start_in_search_mode - Start in search mode by default

tmux Integration

For the best experience, bind mux-sesh to a global tmux keybinding. Add this to your ~/.tmux.conf:

# Open mux-sesh in a popup with Alt+w (no prefix required)
bind-key -n M-w popup -E -w 62% -h 70% "mux-sesh"

After adding the binding, reload your tmux config:

tmux source-file ~/.tmux.conf

Now you can press Alt+w from anywhere in tmux (including inside nvim) to launch mux-sesh.

Alternative Integration:

  • From Neovim: Use mux-manager - a Telescope-based tmux session manager that integrates directly into Neovim
  • With prefix: Use bind-key f popup -E -w 80% -h 80% "mux-sesh" if you prefer requiring the tmux prefix key first

Usage Examples

Quick Session Switching

# Open mux-sesh
mux-sesh

# Press 1-9 to instantly switch to that session
# Or use j/k to navigate and Enter to select

Create Session from Project

mux-sesh

# Press 'n' for new session
# Type project name to filter
# Press Enter to create session in that directory

Clone from GitHub

mux-sesh

# Press 'n' for new session
# Paste GitHub URL:
#   https://github.com/user/repo
#   or
#   [email protected]:user/repo.git
# Press Enter to clone and create session

Search Existing Sessions

mux-sesh

# Press 'i' to search
# Type to filter sessions
# Press Enter to switch to first match

Color Scheme

mux-sesh uses the beautiful Catppuccin color scheme with the following palette:

  • Primary: #f38ba8 (Pink)
  • Active: #a6e3a1 (Green)
  • Inactive: #6c7086 (Gray)
  • Border: #89b4fa (Blue)
  • Key: #f9e2af (Yellow)
  • Action: #cba6f7 (Mauve)

Cross-Platform - Works on Linux, macOS, Windows

Development

# Install dependencies
bun install

# Run in dev mode (with hot reload)
bun run dev

# Type check
bun run typecheck

# Build for production
bun run build

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

License

MIT License - see LICENSE for details.

Acknowledgments

Related Projects

  • mux-manager - Telescope-based tmux session manager for Neovim