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

lorepanic

v0.1.1

Published

Sync your LorePanic campaigns to a local folder your coding agent can work with

Readme

lorepanic

Sync your LorePanic campaigns to a local folder of markdown that coding agents (Claude Code, Codex, OpenCode) understand natively.

Your campaign becomes a repo: documents, notes, characters, and session transcripts as plain files, with an AGENTS.md so any agent knows the layout. Write prep notes in your own editor, push them back, and they are indexed and searchable in LorePanic at the table.

Install

npm install -g lorepanic
# or one-off:
npx lorepanic login

Requires Node 20+.

Usage

lorepanic login                 # device-code flow, approve in the browser
lorepanic pull                  # materialize a campaign into ./<campaign-slug>/
lorepanic push                  # send changed or new notes/ files back
lorepanic sync                  # push, then pull
lorepanic campaigns             # list your campaigns
lorepanic logout                # forget local credentials

Workspace layout

my-campaign/
  AGENTS.md                 # generated: layout + conventions for agents
  CLAUDE.md                 # points Claude Code at AGENTS.md
  .claude/skills/           # prep-session, recap, npc
  .lorepanic/state.json     # sync bookkeeping (do not edit)
  documents/<category>/     # source material (read-only)
  notes/                    # your notes (editable, two-way sync)
  characters/<type>/        # PCs and NPCs (read-only for now)
  sessions/<nn>-<name>/     # session notes + transcripts (read-only)

Every synced file carries front-matter with the server entity id. New .md files you drop into notes/ are created server-side on the next push.

Conflicts

Sync is optimistic and never silently overwrites:

  • pull onto a locally edited file writes the server version next to it as <name>.remote.md and tells you.
  • push of a note that changed server-side is rejected; merge, then lorepanic push --force (the server keeps full version history either way).
  • push --prune deletes notes on the server whose local files you removed.

Notes

  • The CLI talks to https://lorepanic.com by default; use lorepanic login --api-url http://localhost:8001 against a dev instance.
  • Documents that are copies of licensed/published content are not exported; they stay searchable in the LorePanic app.
  • logout removes the local credential. A server-side token management UI is planned; contact support if you need a token revoked in the meantime.

Development

npm ci
npm run build

Issues and contributions are welcome on GitHub. For account or security questions, email [email protected].