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

openrecap

v0.1.0

Published

Review your daily Claude Code sessions and generate visual learning reports

Downloads

16

Readme

OpenRecap

OpenRecap is a CLI that reviews your Claude Code sessions and turns them into a concise learning report.

Instead of replaying every prompt and tool call, OpenRecap extracts what mattered: session goals, knowledge points, useful techniques, problems solved, and follow-up topics worth studying.

Status

This project is in an early stage and currently targets a focused v1:

  • AWS Bedrock only
  • Claude Code session files as the source of truth
  • HTML report output
  • Local cache and local report storage

Features

  • Scans Claude Code session history from ~/.claude/projects/
  • Reconstructs the final conversation path from the session DAG
  • Filters noisy records such as progress events and snapshots
  • Sanitizes common secrets before sending content to the model
  • Runs per-session analysis and a final reduce step with structured output
  • Generates a readable HTML report you can open locally
  • Supports dry-run mode to preview what will be analyzed
  • Caches session analysis results to avoid unnecessary repeat work

How It Works

  1. Discover sessions for a target day or date range
  2. Parse JSONL session files and reconstruct the final accepted path
  3. Compress and sanitize the session content
  4. Run LLM analysis per session
  5. Merge all session analyses into a single report
  6. Render the final report as HTML

Requirements

  • Node.js 18+
  • Bun for development workflows (bun install, bun test)
  • Access to AWS Bedrock

For Bedrock auth, OpenRecap supports:

  • an AWS bearer token entered during setup
  • standard AWS credentials / SigV4 resolution from your environment

Quick Start

bun install
bun run build
node dist/index.js

On first run, OpenRecap will walk you through setup and create a config file at ~/.openrecap/config.json.

Usage

# Review today
openrecap

# Review a specific day
openrecap --date 2026-03-14

# Review a date range
openrecap --date 2026-03-10:2026-03-14

# Write reports to a custom directory
openrecap --output ~/openrecap-reports

# Preview matching sessions without calling the LLM
openrecap --dry-run

# Re-run setup
openrecap config

Output

The current renderer generates a single self-contained HTML report with sections for:

  • overview
  • knowledge cards
  • practical tips
  • problems and solutions
  • further learning

Reports are saved locally. Cache and config data live under ~/.openrecap/.

Privacy

OpenRecap analyzes Claude Code session content with an external LLM provider. Session data may include code, file paths, and terminal output.

Current safeguards:

  • explicit consent during setup
  • best-effort secret sanitization before model calls
  • local-only storage for generated reports and cache

You should still treat this as a tool for environments where sending session content to your configured provider is acceptable.

Development

# Build the CLI
bun run build

# Run tests
bun test

# Type-check
bunx tsc --noEmit

Repository Layout

src/
  analysis/   LLM prompts, map/reduce, provider wiring
  cache/      local cache handling
  privacy/    secret sanitization
  render/     report rendering
  session/    session discovery, parsing, compression
  utils/      logging, token estimates, browser open
tests/        fixtures and unit tests
docs/         planning notes

Roadmap

  • Improve report design and HTML presentation
  • Add project-level filtering
  • Finalize prompt/schema design for report quality
  • Add more provider support after the Bedrock-first release is stable

License

License not added yet.