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

git-messenger

v1.1.2

Published

> A group-chat CLI that uses a git repo as the transport.

Readme

git-messenger

A group-chat CLI that uses a git repo as the transport.

TypeScript Node.js Ink

git-messenger is a terminal-based chat client that uses regular Git commits and pushes to sync messages. It was specifically designed for environments and networks that only allow outbound SSH access (e.g., to github.com). If you can git push, you can chat!

Features

  • Decentralized via Git: One repository equals one group chat.
  • Channels: Branches double as separate chat "rooms". Create orphan branches on the fly to start new topics.
  • Conflict-Free: Each message is a unique file. git pull --rebase automatically merges everything smoothly.
  • Interactive TUI: Built with React Ink, featuring real-time syncing, branch switching, and status indicators.
  • Zero Server Setup: Relies entirely on your Git host (GitHub, GitLab, self-hosted, etc.).

Installation

Ensure you have Node.js 20+ installed.

npm install -g git-messenger

Usage

‼️ Important: Do not forget to give all participants write access to the git repo! ‼️

Start a chat in any existing Git repository:

git-messenger

Or, initialize a new chat repository from a remote URL:

git-messenger init [email protected]:your-username/my-secret-chat.git

Options

Usage
  $ git-messenger

Options
  --repo <path>     Open chat in another local clone
  --branch <name>   Use a non-default branch
  --poll <seconds>  Sync interval, default 5
  --once            Print messages and exit (no TUI)

Examples
  $ git-messenger
  $ git-messenger init <url>

TUI Shortcuts

  • Enter: Send your drafted message.
  • Ctrl+B: Open the branch/channel selector. (Use / to select, Enter to open, or create a + new branch...).
  • Ctrl+R: Force sync immediately.
  • Ctrl+C / Esc: Quit.

How it Works

Every participant clones the repository locally. git-messenger reads your identity directly from git config user.email and user.name.

When you send a message:

  1. It writes a unique JSON file to the messages/ directory (e.g. 2026-06-07T15-04-12__a1b2c3d4.json).
  2. It runs git add and git commit.
  3. It pushes to the remote via git push.

In the background, git-messenger automatically polls the remote every 5 seconds. It runs git fetch and then either a fast-forward merge or a git pull --rebase if you have local unpushed messages. Since every message is a unique file, rebase conflicts do not occur!

Testing

git-messenger includes an automated end-to-end testing suite that creates isolated temporary git repositories, mimics two separate clients interacting, and verifies message syncing logic.

To run the E2E tests:

npm test

License

ISC