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

@mmmbuto/nexuscrew

v0.2.5

Published

tmux-based AI cockpit for real active sessions and launcher discovery across Termux, Linux, and macOS

Readme

NexusCrew

npm

NexusCrew is a tmux-first AI cockpit for Claude Code, Codex CLI, Gemini CLI, and Qwen Code.

It is built around one core rule: chat targets real tmux sessions that already exist, or new tmux sessions that are created explicitly from launchers detected on the current machine.


About

  • Runtime model: active tmux sessions + explicit tmux creation
  • Launcher discovery: runtime-driven, shell-agnostic, user-agnostic
  • Primary verified environment: Termux on Android
  • Linux/macOS: supported by design, not yet fully revalidated in the current cycle
  • Remote hosts: registry and connectivity exist, but end-to-end remote session flow is still experimental

Project Scope

What It Does

  • Lists real active tmux sessions on the host
  • Lets the UI attach chat to an existing tmux session
  • Detects runnable launchers from:
    • PATH binaries
    • live shell aliases/functions
    • generic shell config fallbacks
  • Creates a new standalone tmux session only when you explicitly ask for it
  • Stores conversation state locally in SQLite
  • Streams output back through SSE

What It Does Not Do

  • It does not create hidden tmux master sessions
  • It does not keep a hardcoded list of AI models or wrappers
  • It does not assume a user-specific home like /home/dag
  • It does not treat shell-file-only detections as runnable unless the active shell confirms them

Installation

Quick Start

Install:

npm install -g @mmmbuto/nexuscrew

Initialize local config:

nexuscrew init

Start the server:

nexuscrew start

Open:

http://localhost:41820

Termux Quick Start

pkg install tmux nodejs
npm install -g @mmmbuto/nexuscrew
nexuscrew init
nexuscrew start

Notes:

  • the package uses a Termux-compatible SQLite dependency path during install
  • detailed install notes live in docs/INSTALLATION.md

Runtime Model

NexusCrew now works with standalone tmux sessions.

That means:

  • one AI runtime = one tmux session
  • chat sends to an existing tmux session
  • new tmux sessions are created explicitly from a detected launcher
  • session output is piped to log files and watched by the server

Architecture:

Browser <--SSE--> Express server <--tmux--> active tmux sessions
                                           |- claude-work
                                           |- codex-debug
                                           `- qwen-sandbox

Launcher Discovery

Discovery is environment-agnostic and shell-agnostic.

Sources, in order:

  1. live shell introspection
  2. generic shell files such as .zshrc, .bashrc, .profile
  3. PATH binaries

Detection families are inferred from what is actually present, not from a static product catalog.

Current launcher families:

  • claude
  • codex
  • gemini
  • qwen
  • custom

Important distinction:

  • runnable: true means the launcher is valid for explicit tmux creation now
  • runnable: false means it was detected from shell config metadata only

Commands

| Command | Description | |---------|-------------| | nexuscrew init | Create config, hosts file, and logs directory | | nexuscrew start | Start the web server | | nexuscrew stop | Stop the server | | nexuscrew status | Show server, tmux, and host status | | nexuscrew sessions | List active tmux sessions | | nexuscrew attach -s <name> | Attach to a tmux session directly | | nexuscrew engines | Print discovered launchers | | nexuscrew config --list | Show config | | nexuscrew config --set key=value | Update config | | nexuscrew hosts list | List stored hosts | | nexuscrew hosts add ... | Add an SSH host entry | | nexuscrew hosts remove ... | Remove an SSH host entry |


Documentation


Support Matrix

| Area | State | |------|----------------| | Local tmux session listing | Verified | | Explicit local tmux creation | Verified | | Runtime launcher discovery | Verified | | Bucketed launcher discovery | Verified | | Shell-file-only launcher gating | Verified | | Host-scoped tmux/session selection | Implemented | | SSE send flow | Improved, basic smoke tested | | Interrupt flow | Improved, not deeply stress-tested | | Remote host registry | Present | | Remote host execution | Implemented, pending live smoke |


Development

git clone https://github.com/DioNanos/nexuscrew
cd nexuscrew
npm install
npm run build
npm run dev

Known Gaps

  • remote tmux workflows still need live multi-host smoke before being advertised as stable
  • send/interrupt should still be stress-tested against long-running CLI pauses

License

MIT. See LICENSE.