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-watchtower

v2.3.26

Published

Terminal-based Git branch monitor with activity sparklines and optional dev server with live reload

Readme

Git Watchtower

Keep up with your AI coding agents.

Monitor git branches in real-time with activity sparklines, instant notifications, and a web dashboard.

Built for teams working with Claude Code, Codex, and other AI agents.

npm version npm downloads License: MIT

Visit our website → gitwatchtower.dev

Quick Start · Configuration · Web Dashboard · Keyboard Controls · Server Modes · Troubleshooting

Git Watchtower Screenshot

Features

  • Live branch monitoring with activity sparklines and ahead/behind counters
  • Web dashboard for browser-based branch management and PR workflows
  • Instant notifications with visual and audio alerts when branches update
  • Quick switching with preview pane, undo, and stash integration
  • Auto-pull when your current branch has remote changes
  • Optional dev server with live reload, or run your own command (Next.js, Vite, etc.)
  • Zero dependencies — uses only Node.js built-in modules

Why Git Watchtower?

When you're using AI coding agents on the web — Claude Code, OpenAI Codex, and others — they create branches and push commits while you're not looking. You end up with multiple branches to check on and no easy way to know when they've been updated or what changed.

Git Watchtower watches your remote and notifies you when branches are updated. Preview what changed, switch with a keypress, undo if needed.

Also works for human collaborators, but the primary use case is keeping tabs on AI agents coding on different branches.

Installation

# Global install (recommended)
npm install -g git-watchtower

# Or run directly with npx
npx git-watchtower

Quick Start

cd your-project
git-watchtower

On first run, you'll be guided through a configuration wizard.

Usage

# Run with default settings (or saved config)
git-watchtower

# Run without dev server (branch monitoring only)
git-watchtower --no-server

# Launch with web dashboard
git-watchtower --web

# Specify custom ports
git-watchtower --port 8080 --web --web-port 9000

# Re-run the configuration wizard
git-watchtower --init

# Show help
git-watchtower --help

Web Dashboard

Launch a browser-based dashboard alongside the terminal UI with --web:

git-watchtower --web

Web Dashboard

Real-time branch monitoring, PR workflows, CI status, and session statistics — all in a rich browser interface. When running multiple instances across different projects, they coordinate automatically into a single multi-project dashboard. Press W in the TUI to toggle the web dashboard on or off at any time.

Server Modes

| Mode | Flag | Description | |------|------|-------------| | No Server | --no-server | Branch monitoring only (default) | | Static Site | --mode static | Built-in server with live reload for HTML/CSS/JS | | Custom Command | --mode command -c "npm run dev" | Run your own dev server (Next.js, Vite, Nuxt, etc.) |

🎰 Casino Mode

Yes, it's a real feature. Every git fetch is a slot-machine spin, every commit is a payout. Enable with --casino or "casinoMode": true.

Documentation

Full docs at gitwatchtower.dev.

Requirements

  • Node.js 20.0.0 or higher
  • Git installed and in PATH
  • Git remote configured (any name, defaults to origin)
  • Terminal with ANSI color support
  • Optional: gh or glab CLI for branch actions (PR create, approve, merge, CI status)

How It Works

  1. Polling — Runs git fetch periodically to check for updates
  2. Detection — Compares commit hashes to detect new commits, branches, and deletions
  3. Auto-pull — When your current branch has remote updates, pulls automatically (if enabled)
  4. Server — Depending on mode, serves static files, runs your command, or does nothing
  5. Live Reload — In static site mode, notifies connected browsers via SSE when files change
  6. Web Dashboard — Optional browser UI that mirrors and extends the TUI via SSE

Contributing

Contributions are welcome! See CONTRIBUTING.md for guidelines.

Development

# Clone the repository
git clone https://github.com/drummel/git-watchtower.git
cd git-watchtower

# Create a global symlink (changes take effect immediately)
npm link

# Run from any git repository
git-watchtower

# Run tests
npm test

# Run directly without installing
node bin/git-watchtower.js

The documentation site lives in website/ and is built with Astro Starlight:

cd website
npm install
npm run dev

License

MIT License — see LICENSE for details.