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

@sigilware/sigil

v1.1.2

Published

Deterministic, explainable, zero-dependency chat-to-context extractor for Claude and Gemini exports and share links. No API keys, no AI; network only when you pass a URL.

Readme

sigil

Deterministic, explainable chat-to-context extractor for Claude and Gemini exports and share links. Turns a long conversation into a compact, evidence-annotated context doc you can hand to any LLM (or yourself) to continue the work.

A sigil is a compact symbol that carries meaning — this tool distills a whole thread into the small token that carries it forward.

No AI, no API keys, zero dependencies. Classic NLP only (TextRank + MMR for key sentences, RAKE for keyphrases, tf-idf for topics, hand-written heuristics for goals/current-state/rules). Network is used only when you pass a URL.

Install

npm install -g @sigilware/sigil
# or run without installing:
npx @sigilware/sigil

Requires Node.js 18+.

Usage

sigil                      # interactive session (like opencode) for current dir
sigil my-project           # interactive session for a named project
sigil < FILE > out.md      # read chat text from stdin
sigil chat.json            # analyze a Claude / Gemini export file
sigil https://claude.ai/share/...     # fetch a share link
sigil https://chatgpt.com/share/...   # fetch a ChatGPT share link
sigil --serve              # local web UI at http://localhost:8177

Share links: Claude (claude.ai/share/…), ChatGPT (chatgpt.com/share/…, including legacy chat.openai.com/share/…), and general raw URLs (exports, gists, pastebins) are fetched automatically through a reader proxy. Gemini share links (share.gemini.google/…) are served by Google only to real browsers, so sigil asks you to open the link and paste the conversation text instead — unless you install an optional Gemini reader.

Optional Gemini reader

sigil cannot read Gemini share pages itself (Google serves them only to real browsers). Point it at a reader that can, with SIGIL_GEMINI_READER:

SIGIL_GEMINI_READER=linksnap sigil https://share.gemini.google/...

linksnap is a matching reader: it drives a stealth browser, captures the conversation from Gemini's RPC layer, and prints it as Markdown. When SIGIL_GEMINI_READER is unset, the built-in "open and paste" guidance applies instead.

Two reader forms are supported:

  • CLI on PATH (bare name, e.g. linksnap) — spawned as linksnap <url> <flags>; its stdout is the transcript. Default flags are --stdout --headless; override them with SIGIL_GEMINI_ARGS (space-separated, e.g. --browser chrome --settle 2000).
  • ES module file (absolute/relative path or file:// URL) — import()ed, then its default export (or named fetchGemini) is called:
    export async function fetchGemini({ url }) {
      // open url in a real browser (Playwright/Puppeteer), grab the transcript…
      return { text: "…raw chat text or markdown…", title: "Optional title" };
    }
    text is required; title is optional.

Any reader error is reported with a hint to install/fix it or unset the variable. Bare scoped names (@scope/pkg) and names with path separators are treated as files; everything else runs as a CLI on PATH.

Options: -o, --output <file> · --json (also print evidence sections) · --title <text> · --note <text> · --top-sentences <n> · --top-keyphrases <n> · --port <n> · --help · --version

Interactive shortcuts

| Key | Action | | --- | --- | | Ctrl+Alt+C | copy the context doc to your clipboard | | Ctrl+P | toggle commands/help overlay | | Ctrl+Q or Ctrl+C | quit | | Enter | generate the doc (empty input: view current project) | | /show · /top · /bottom · /clear · /copy | commands |

How it works

  1. Parse — detects Claude export / Claude share link / Gemini console / Gemini Takeout and normalizes the transcript (fences, roles, message ids).
  2. Extract — goal, key topics + keyphrases, code blocks, files, glossary, questions, current state (last ask + next steps), and a compressed transcript (user turns verbatim, assistant turns kept at their highest-centrality sentences).
  3. Annotate — every claim carries _Evidence: …_ pointing at the exact turn it came from.
  4. Render — one flat markdown doc: ## Goal, ## Current state, ## Rules, ## Code, ## Key topics, ## Glossary, ## Compressed transcript, ## Stats.

Projects are stored under ~/.sigil/projects.json so you can resume them next time.

Every document is deterministic for the same input — grep the source, no black boxes.

License

MIT