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

@cookielab.io/klovi

v3.5.0

Published

Klovi — browse and present AI coding session history

Readme

@cookielab.io/klovi

Browse and present AI coding session history. Supports Claude Code, Codex CLI, Cursor, and OpenCode.

Quick Start

bunx @cookielab.io/klovi@latest

Klovi starts a local server on http://127.0.0.1:3583 and opens your browser. All data stays on your machine. Sessions are read directly from each tool's local storage.

Compatibility run:

npx @cookielab.io/klovi@latest

CLI Options

klovi [options]

Options:
  --port NUMBER     Override the default port (default: 3583)
  --no-browser      Start the server without opening a browser

Environment Variables

| Variable | Default | Description | |---|---|---| | KLOVI_PORT | 3583 | Server port | | KLOVI_HOST | 127.0.0.1 | Bind address (localhost-only by default) | | KLOVI_STATIC_DIR | (auto) | Override the static assets directory | | KLOVI_SETTINGS_PATH | ~/.klovi/settings.json | Override the settings file used by the CLI |

Programmatic API

import { startKloviServer } from "@cookielab.io/klovi/server";

const server = await startKloviServer({
  host: "127.0.0.1",
  port: 3583,
});

console.log(`Klovi listening on ${server.url}`);

// Later:
server.stop();

startKloviServer(options?)

Starts the Klovi backend server. Returns { url, stop() }.

| Option | Type | Default | Description | |---|---|---|---| | host | string | "127.0.0.1" | Bind address | | port | number | 0 (auto) | Server port | | version | string | "dev" | Version string | | commit | string | "" | Commit hash | | settingsPath | string | ~/.klovi/settings.json | Settings file path | | runtime | "auto" \| "bun" \| "node" | "auto" | Runtime selection |

Supported Tools

  • Claude Code — reads from ~/.claude/projects/
  • Codex CLI — reads from ~/.codex/sessions/
  • Cursor — reads from ~/.cursor/ plus Cursor's platform-specific app-support SQLite state
  • OpenCode — reads from ~/.local/share/opencode/opencode.db

Settings

Klovi stores settings in ~/.klovi/settings.json by default. The settings file tracks:

  • enabled/disabled state for each built-in plugin
  • optional custom data directory overrides per plugin
  • general UI settings such as the security warning preference

In browser-served mode there is no native directory picker, so custom plugin paths are edited manually.

License

MIT