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

claude-chat-viewer

v0.2.0

Published

Interactive CLI tool to view and export Claude conversation histories

Readme

Claude Chat Viewer

An interactive CLI tool to view and export Claude conversation histories with a beautiful WhatsApp-style HTML visualization.

Screenshots

Features

  • 🔍 Interactive Search: Real-time filtering of conversations by date, project, or content with multi-word search support
  • 💬 WhatsApp-style Export: Beautiful HTML visualization that looks like a chat interface
  • 📊 TODO Tracking: Special formatting for TODO lists with multiple theme options
  • 🎨 Customizable Themes: Choose from different notebook-style backgrounds for TODO messages
  • 📓 Diary Mode: Generate markdown summaries of conversations from the current project directory
  • Fast & Efficient: Quickly browse through hundreds of conversations

Installation

npm install -g claude-chat-viewer

Usage

Basic Usage

claude-chat-viewer

This will launch an interactive interface where you can:

  • Type to search conversations in real-time
  • Use arrow keys to navigate
  • Press Enter to select a conversation
  • Generate and view HTML exports

Theme Options

Customize the TODO background theme:

# Grid pattern (default)
claude-chat-viewer --todo-background=grid

# Lined notebook
claude-chat-viewer --todo-background=lines

# Graph paper
claude-chat-viewer --todo-background=graph

# Dot grid (bullet journal style)
claude-chat-viewer --todo-background=dots

# Clean (no background)
claude-chat-viewer --todo-background=clean

Diary Mode

Generate a markdown summary of conversations from your current project directory:

# From within a project directory
claude-chat-viewer --diary

This creates a conversation-diary-YYYY-MM-DD.md file containing:

  • User questions and key assistant responses
  • Git commits and file operations
  • TODO updates and progress tracking
  • Organized by date and time

Search Tips

The search feature filters by:

  • Date/Time: Search for "27/5" or "14:30"
  • Project Name: Search for project folder names
  • Content: Search within all conversation content (supports multiple words)
  • Session ID: Direct access with session UUID

Requirements

  • Node.js 14.0.0 or higher
  • Claude conversations stored in ~/.claude/projects/

How It Works

Claude Chat Viewer reads the JSONL conversation files stored by Claude in your home directory and provides an intuitive interface to browse and export them. Each conversation is parsed to extract:

  • Start and end times
  • Message count
  • Project context
  • First user prompt
  • TODO lists and their progression

The HTML export includes:

  • Formatted messages with markdown support
  • Code blocks with syntax highlighting
  • System messages in a subtle style
  • TODO lists with visual indicators
  • Timestamps and date separators

Development

# Clone the repository
git clone https://github.com/jorgeuriarte/claude-chat-viewer.git
cd claude-chat-viewer

# Install dependencies
npm install

# Run locally
node bin/claude-chat-viewer.js

License

MIT

Contributing

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

Author

Jorge

Acknowledgments

Built for the Claude community to better visualize and archive their AI conversations.