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

@thestraylight/heptapod-web

v0.1.3

Published

Next.js viewer for Heptapod narrative code reviews.

Readme

@thestraylight/heptapod-web

The packaged persistent Next.js site for viewing reviews uploaded by repository-local Heptapod CLIs. It is installed once per machine through the main package.

pnpm add --global @thestraylight/heptapod
heptapod service install

The service defaults to port 49731; heptapod service configure --port <port> stores a per-user override read by the site and every repository CLI.

For a locally linked development checkout, use pnpm exec heptapod-web-dev --port 3000. It runs the linked Next.js source with hot reload; heptapod-web serves the last production build.

pnpm typecheck regenerates route types before checking TypeScript. Checks use .next/types and exclude .next/dev so cached development validators cannot reference routes removed since the last dev session.

Next serves the UI and control API on the same port; API routes live under /api/service. Repository CLIs use them to register repositories and upload versioned review results. There is no API sidecar. Development builds core on startup; restart after changing its source.

The homepage manages registered local repositories and streams an independent setup checklist for each one. Opening a repository lists its uploaded reviews. Capture, preparation, refresh, validation, tests, and ingestion remain repository-local and are not launched by the website.

GitHub avatar and status requests start as RSC promises. Their results populate a reducer store in the root layout, retaining cached metadata across navigation while refreshed values resolve.

Each repository review list renders through RSC and polls repository-scoped JSON summaries for newly uploaded results. The site can remove an imported review without deleting its repository-local narrative artifacts.

Difftastic is an optional host dependency shown in the homepage setup checklist. Install it to generate structural diffs during ingestion; otherwise reviews use standard diffs. No Difftastic binary is bundled or downloaded by Heptapod.

Agents can add optional steps[].explanations for complex or non-obvious changes. Each explanation targets a file and original/updated source line or range in that step's patch. Purple speech bubbles sit at the right edge of the corresponding diff row, distinct from blue reviewer comments; hover, focus, or tap to read the explanation and highlight its range. Both structural and standard diffs support these hints, including the details rail. Ingestion validates anchors and saves the explanations with the review. See the skill's artifact format for the metadata contract.