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

ccheckpoints

v1.0.2

Published

Checkpoint system for Claude Code CLI - Track and visualize your coding sessions with automatic checkpoint creation

Readme

CCheckpoints

A checkpoint system for Claude Code CLI that automatically tracks your coding sessions. Inspired by Cursor IDE's checkpoint feature - see everything you've done with Claude Code CLI and navigate through your conversation history.

What is CCheckpoints?

CCheckpoints hooks into Claude Code CLI to automatically save checkpoints every time you interact with Claude Code CLI. It creates a timeline of your entire coding session that you can view in a beautiful web dashboard.

Quick Start

# Install globally
npm install -g ccheckpoints

# Run (auto-setup + open dashboard)
ccheckpoints
# or use the short alias
ccp

That's it! Running ccheckpoints (or ccp) will:

  1. ✅ Auto-setup Claude Code hooks (if not already done)
  2. ✅ Start the background server
  3. ✅ Open the dashboard in your browser

How It Works

  1. Automatic Tracking: Every time you send a message to Claude Code CLI, CCheckpoints saves it as a checkpoint
  2. Background Server: Runs quietly at http://127.0.0.1:9271 to handle tracking
  3. Web Dashboard: Beautiful interface to see all your checkpoints and sessions
  4. SQLite Database: All data stored locally in %APPDATA%/CCheckpoints/

Commands

Just run it!

ccheckpoints
# or
ccp

This does everything - sets up hooks if needed and opens the dashboard.

Manual setup (optional)

ccheckpoints setup
# or
ccp setup

Only needed if you want to setup without opening the dashboard.

Show dashboard

ccheckpoints show
# or
ccp show

Same as running just ccheckpoints - opens the dashboard (with auto-setup if needed).

Help

ccheckpoints --help
# or
ccp --help

Verbose mode

ccheckpoints --verbose
# or
ccp --verbose

See detailed logs of what's happening behind the scenes.

What Gets Tracked?

  • Every message you send to Claude Code CLI (submit event)
  • Session stops (when you exit Claude Code)
  • Timestamps for everything
  • Full conversation context

Screenshots

📊 Session Overview

Get a bird's-eye view of all your Claude Code CLI sessions. See when you started, how long you worked, and track your productivity patterns.

🎯 Checkpoint Timeline

Every message you send to Claude Code CLI is saved as a checkpoint. Navigate through your entire conversation history with timestamps and full context.

🔍 Compare Changes

See exactly what changed between checkpoints. Perfect for debugging when something breaks or understanding how your code evolved.

File Locations

  • Windows: %APPDATA%/CCheckpoints/
  • Mac/Linux: ~/.ccheckpoints/

Contains:

  • checkpoints.db - SQLite database with all your data
  • logs/ - Debug logs (when using --verbose)

For Developers

Build from source

# Clone repo
git clone https://github.com/p32929/ccheckpoints.git
cd ccheckpoints

# Install deps
npm install

# Build
npm run build

# install globally
npm install -g .

# Now use it
ccheckpoints

Development mode

npm run dev         # Run without building
npm run dev:watch   # Auto-reload on changes

How the Hook System Works

When you run ccheckpoints setup, it adds these hooks to your Claude Code config:

  • userPromptSubmit → Tracks when you send a message
  • stop → Tracks when session ends

The hooks call ccheckpoints track --event=<type> which sends the data to the background server running on port 9271.

Troubleshooting

Port 9271 already in use?

The background server needs port 9271. If it's busy, close other apps using it.

Dashboard won't open?

Make sure the server is running. Try ccheckpoints --verbose to see what's happening.

Hooks not working?

Run setup again:

ccheckpoints setup

See detailed logs

ccheckpoints --verbose

Check logs in %APPDATA%/CCheckpoints/logs/

Found Something?

If you find a bug or have an idea, feel free to open an issue! I'd be happy to discuss and see what we can do about it together.

Your feedback means a lot - thank you for using CCheckpoints!

License

MIT License

Copyright (c) 2025 Fayaz Bin Salam

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.