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

@vamdawn/cconvo

v1.2.0

Published

Interactive CLI tool to browse and export Claude Code conversations

Readme

English | 中文

CConvo

交互式 CLI 工具,用于浏览和导出 Claude Code 本地保存的对话记录。

功能特性

  • 扫描并列出所有项目和对话
  • 支持导出为 Markdown、JSON、HTML 格式
  • 交互式菜单界面,支持项目浏览和搜索
  • 统计视图,显示 Token 使用量和文件大小
  • 支持子代理 (subagent) 对话

安装

npm install -g @vamdawn/cconvo

安装后启用 Shell 补全:

cconvo completion:setup

使用方法

交互式模式

cconvo

进入交互式界面,可以:

  • 浏览项目列表
  • 搜索对话
  • 预览对话内容
  • 选择导出格式和选项

命令行模式

# 列出所有项目和对话
cconvo list

# 按项目名筛选
cconvo list --project "my-project"

# 导出对话为 Markdown
cconvo export <session-id> -o output.md

# 导出为 HTML
cconvo export <session-id> --format html -o output.html

# 导出为 JSON
cconvo export <session-id> --format json -o output.json

# 导出选项
cconvo export <session-id> -o output.md \
  --no-thinking      # 不包含思考过程
  --no-tools         # 不包含工具调用
  --subagents        # 包含子代理对话

# 查看统计信息
cconvo stats
cconvo stats --project "my-project"

导出格式

| 格式 | 说明 | |------|------| | Markdown | 适合阅读和二次编辑,支持折叠显示思考过程和工具调用 | | JSON | 完整数据导出,保留所有元信息 | | HTML | 带暗色主题样式的可视化页面,支持交互式展开/折叠 |

数据源

工具读取 ~/.claude/projects 目录下的对话数据:

~/.claude/
├── history.jsonl                    # 全局对话历史
└── projects/
    └── -Users-xxx-Repository-xxx/   # 项目目录
        ├── {sessionId}.jsonl        # 主对话文件
        └── {sessionId}/
            └── subagents/
                └── agent-{id}.jsonl # 子代理对话

Shell 补全

# 安装补全
cconvo completion:setup

# 卸载补全
cconvo completion:uninstall

开发

查看 开发指南

License

MIT