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

luminaria

v0.6.3

Published

Luminaria — AI productivity platform CLI (Memo, sync, and more)

Readme

luminaria

Claude Code session sync plugin for Luminaria.

Automatically syncs your Claude Code sessions to your Luminaria knowledge base after every coding session, using Claude Code's SessionEnd hook.

Requirements

  • Node.js 18+
  • A Luminaria account with an API key

Installation

npm install -g luminaria

Setup

Run the interactive setup to configure your API key and install the hook:

luminaria setup

This will:

  1. Ask for your Luminaria API key (get one from Settings > API Keys)
  2. Set the server URL (defaults to production)
  3. Save config to ~/.luminaria/config.json
  4. Automatically add the SessionEnd hook to ~/.claude/settings.json

After setup, sessions sync automatically when they end.

Usage

Automatic (hook mode)

Once setup is complete, luminaria runs automatically when a Claude Code session ends. No manual action needed. Errors are logged to stderr and never interrupt your coding session.

Sync all existing sessions

Import all Claude Code sessions at once:

luminaria --all

Sync a specific file

luminaria --path ~/.claude/projects/my-project/session-abc123.jsonl

Help

luminaria

Configuration

Config is stored at ~/.luminaria/config.json:

{
  "api_key": "luminaria_...",
  "server_url": "https://api.luminaria.so"
}

Two Claude accounts on one machine

Every Claude account on a machine writes its sessions to the same ~/.claude/projects/ folder. To send each account's sessions to its own Memo account, give each Claude account its own Memo API key:

luminaria accounts                 # Claude accounts found here, and which key each syncs with
luminaria accounts add be79dcd9    # first 8+ characters of the ID; asks for the key
luminaria accounts remove be79dcd9 # back to the default key

The plugin tells the accounts apart the way Claude does:

  • Claude Desktop sessions: Desktop files each one under the account that ran it, and the plugin reads that.
  • Terminal sessions (not in Desktop's list): when a session ends, the end-of-session sync reads the account signed in to claude in a terminal (~/.claude.json, or $CLAUDE_CONFIG_DIR/.claude.json) and remembers it in ~/.luminaria/session-accounts.json. Later syncs use that.
  • Anything else — terminal sessions from before this version, or ones that never went through the end-of-session sync — uses the top-level api_key. The current terminal sign-in is not used for them: it says who is signed in now, not who ran an older session.

An account without its own key uses the top-level api_key. With no top-level key, its sessions are skipped and the sync says so.

After accounts add, the next luminaria sync sends that account's sessions to its own Memo account, including ones already synced with the default key. Those earlier copies stay in the default Memo account: delete them there if you don't want them in both.

The sync remembers where each session went (the default key, or an account's own key), not the key itself. Replacing a key with a new one for the same Memo account, through setup or accounts add, doesn't re-send anything. If a new key belongs to a different Memo account, only new and changed sessions go there.

Keys are saved in config.json:

{
  "api_key": "luminaria_...",
  "accounts": {
    "be79dcd9-...": { "api_key": "luminaria_...", "label": "work" }
  }
}

Each Claude account also needs its own Memo connector in Claude, signed in to the matching Memo account, for Memo search inside Claude.

How it works

  1. Claude Code fires a SessionEnd hook event when a session closes
  2. The plugin reads the session transcript (JSONL file)
  3. It POSTs the content to Luminaria's /api/v1/sync endpoint
  4. Luminaria creates atoms in your knowledge graph, deduplicating by UUID

Re-syncing the same session is safe — existing atoms are skipped, new ones are added.

Hook configuration

The setup command adds this to ~/.claude/settings.json:

{
  "hooks": {
    "SessionEnd": [
      {
        "type": "command",
        "command": "luminaria"
      }
    ]
  }
}

License

MIT