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

kiro-history

v0.5.1

Published

View Kiro CLI conversation history in your browser

Downloads

222

Readme

kiro-history

npm version npm downloads License: MIT

Browse your Kiro conversations in a beautiful web UI. Supports both Kiro CLI and Kiro IDE.

✨ Features

  • 🔍 Search - Find conversations instantly across all your history
  • 📝 Markdown Support - Properly rendered markdown with syntax-highlighted code blocks and tables
  • 🔧 Tool Details - Collapsible tool usage information for each assistant response
  • 🔄 Live Updates - Automatically refreshes when new conversations are added
  • 🎨 Clean UI - Modern, responsive interface with dark theme
  • 🚀 Source Switching - Toggle between CLI and IDE conversations when both are available

🚀 Quick Start

# Run directly with npx (no install needed)
npx kiro-history

That's it! The tool will auto-detect your Kiro data and open a browser window.

📦 Installation

# Install globally for repeated use
npm install -g kiro-history

# Then run anytime
kiro-history

🎯 Usage

Basic Usage

# Auto-detect and open browser
kiro-history

# Use a specific port
kiro-history -p 3000

# Don't open browser automatically
kiro-history --no-open

Source Selection

# Explicitly use Kiro IDE conversations
kiro-history --source ide

# Explicitly use Kiro CLI conversations
kiro-history --source cli

# Auto-detect (default - prefers CLI if both exist)
kiro-history --source auto

Custom Paths

# Use a custom database path (CLI mode)
kiro-history ~/path/to/data.sqlite3

# Use a custom sessions directory (IDE mode)
kiro-history --source ide ~/path/to/kiro.kiroagent

📋 Options

| Option | Description | Default | |--------|-------------|---------| | path | Custom path to database file (CLI) or sessions directory (IDE) | Auto-detected | | -s, --source <type> | Source type: cli, ide, or auto | auto | | -p, --port <number> | Port to run the server on | Random available port | | --no-open | Don't open browser automatically | Opens browser | | -V, --version | Show version number | - | | -h, --help | Show help | - |

🔧 How It Works

Kiro CLI saves conversations to a local SQLite database, while Kiro IDE stores them as JSON files in its global storage directory. This tool reads from either source and displays your chat history in a clean, browsable format.

Default Paths

macOS:

  • CLI: ~/Library/Application Support/kiro-cli/data.sqlite3
  • IDE: ~/Library/Application Support/Kiro/User/globalStorage/kiro.kiroagent

Linux:

  • CLI: ~/.local/share/kiro-cli/data.sqlite3
  • IDE: ~/.config/Kiro/User/globalStorage/kiro.kiroagent

Windows:

  • CLI: %USERPROFILE%\.local\share\kiro-cli\data.sqlite3
  • IDE: %APPDATA%\Kiro\User\globalStorage\kiro.kiroagent

Source Detection

When using --source auto (the default):

  1. Checks for both CLI and IDE data sources
  2. If both exist, defaults to CLI
  3. If only one exists, uses that source
  4. Shows a switch button in the UI when both sources are available

🤝 Contributing

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

📄 License

MIT © Ajaykumar Prathap

🔗 Links