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

caplog

v0.1.10

Published

Personal developer journaling CLI — capture work, generate standups

Readme

caplog

npm version

Capture what you did. Remember where you left off. Show up to standup ready.

caplog is a personal developer journaling CLI that passively captures your workday from git commits and manual notes, then uses Claude Code to generate end-of-day summaries and standup updates. All data stays local — SQLite database plus Markdown files.

Install

npm install -g caplog

Requirements

| Dependency | Required for | Install | |---|---|---| | Node.js 20+ | Everything | nodejs.org | | git | caplog sync | git-scm.com | | Claude Code | caplog eod, caplog standup (default) | npm install -g @anthropic-ai/claude-code | | GitHub Copilot CLI | caplog eod, caplog standup (alternative) | gh extension install github/gh-copilot |

At least one LLM CLI must be installed and authenticated. All capture commands (init, repo, sync, note, log) work without either. Set your provider with caplog config set provider <claude|copilot>.

Supported platforms: Windows, macOS, Linux.

From source

git clone https://github.com/srimel/caplog.git && cd caplog
npm install && npm run build
npm install -g .

Quick Start

# 1. Initialize caplog (creates ~/.caplog/)
caplog init

# 2. Register the repos you work in
caplog repo add /path/to/my-project
caplog repo add /path/to/another-repo

# 3. Throughout the day: add notes (commits sync automatically)
caplog note "Paired with Alice on the auth refactor"
caplog note "Debugged flaky CI — was a race condition in test setup"

# 4. End of day: generate a summary
caplog eod

# 5. Next morning: generate your standup
caplog standup

Commands

caplog init

Create the ~/.caplog/ directory and initialize the database.

caplog repo add <path>

Register a git repository for commit tracking. The path must exist and contain a .git directory.

caplog repo list

Show all registered repositories.

caplog sync

Pull new commits from all registered repos. Only fetches commits since the last sync, filtered to the current user's email (from git config user.email or the author config key). Commits are assigned to sessions by their author date, so late-night commits land on the correct day. Also writes/updates the daily Markdown log.

Note: eod, standup, and log auto-sync before running, so manual sync is only needed if you want to check raw entries mid-day.

caplog note "<text>"

Add a timestamped note to today's session. Auto-creates the session if it doesn't exist yet. Good for meetings, debugging sessions, decisions — anything that isn't a commit.

caplog log [date]

View all captured entries for a given day. Defaults to today. Accepts YYYY-MM-DD format. Also displays cached standup and EOD summaries when available.

caplog log              # today
caplog log 2026-03-25   # specific date

caplog eod

Generate an end-of-day summary using Claude. Produces two sections:

  • Summary — What you accomplished (2-5 bullet points)
  • Where I Left Off — Context snapshot for tomorrow (last thing worked on, next step, blockers)

The summary is cached in the database and written to ~/.caplog/logs/YYYY-MM-DD.md. If entries haven't changed since the last generation, the cached summary is printed instead of calling the LLM. Use --force to regenerate.

caplog standup

Generate a standup update from yesterday's session. Produces a paste-ready update:

  • Yesterday — What was completed
  • Today — Planned work (inferred from context)
  • Blockers — Any blockers, or "None"

If you ran caplog eod the day before, that summary is included as additional context. Like eod, standup results are cached — use --force to regenerate.

caplog config

View and manage configuration.

caplog config list                          # show all settings (with defaults)
caplog config get provider                  # get a specific key
caplog config set provider copilot          # switch LLM provider
caplog config set model gpt-4.1            # override the default model
caplog config set author [email protected]    # override email for commit filtering

| Key | Description | Default | |---|---|---| | provider | LLM CLI to use (claude or copilot) | claude | | model | Model name passed to the provider CLI | Provider default (sonnet for Claude, gpt-4.1 for Copilot) | | author | Email used to filter git commits during sync | git config user.email |

Environment Variables

| Variable | Required | Description | |---|---|---| | CAPLOG_HOME | No | Override data directory (default: ~/.caplog) |

Data Location

~/.caplog/
  caplog.db              # SQLite database
  logs/
    2026-03-25.md        # Daily Markdown logs
    2026-03-26.md

Daily Markdown files are the primary artifact — readable without caplog installed, searchable with grep, committable to a private repo.

Daily Workflow

During the day:

caplog note "context you want to remember"

End of day:

caplog eod                           # auto-syncs, then generates summary

Next morning:

caplog standup                       # paste-ready standup update

Development

npm run dev          # watch mode (rebuilds on changes)
npm test             # run tests
npm run test:watch   # tests in watch mode
npm run lint         # type-check (tsc --noEmit)
npm run build        # production bundle

See docs/how-it-works.md for a detailed technical walkthrough and docs/contributing.md for architecture and development conventions.

License

MIT