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

@rackbops/ac-plugin-research-feed-store

v0.1.1

Published

Sidecar that mirrors the research-triage machine feed into local SQLite for artifact-console's research-feed plugin (#453).

Readme

@rackbops/ac-plugin-research-feed-store

A kind: "sidecar" artifact-console-plugins package: no dist/ on npm at all (the manifest ships in package.json; files: []). What ships is a container image, ghcr.io/rackbops/ac-research-feed-store, built by publish.yml alongside the npm publish and proxied by the host at /api/x/research-feed-store/* once installed.

What it mirrors

It polls research-triage's machine feed (GET /api/feed/gradings, docs/deploy.md "Machine feed") into a local SQLite file, so the console's research-feed plugin keeps serving verdicts even while research-triage or the network between them is down, and never loses a grading across a container restart.

Routes

  • GET /healthz -- always 200 while the process is up: { ok: true, feed: { state, lastAttemptAt, lastSuccessAt, error? }, mirrored: <row count> }. state is "ok", "unreachable" or "unconfigured".
  • GET /verdicts?verdict=&watchLive=&limit= -- the latest grading per url.
  • GET /verdicts/:id -- one grading plus every grading sharing its url (its full history).
  • GET /history?limit= -- every grading, newest first.
  • POST /submit { url } -- relays to research-triage's own submit endpoint; 503 { ok: false, error } when unconfigured or unreachable, never 502/504.

Env keys

All runtime-only -- nothing here is ever baked into the image.

| Key | Required | Notes | |---|---|---| | RESEARCH_FEED_URL | yes | The feed's origin, e.g. https://rt.rackbops.com. | | RESEARCH_FEED_TOKEN | yes | Bearer token (npm run feed:mint-token in research-triage). | | RESEARCH_FEED_ACCESS_CLIENT_ID | no | Cloudflare Access service token id. | | RESEARCH_FEED_ACCESS_CLIENT_SECRET | no | Cloudflare Access service token secret. | | RESEARCH_FEED_POLL_SECONDS | no | Default 300, minimum 30. | | RESEARCH_FEED_DB | no | Absolute path, default /data/research-feed.db. |

Without RESEARCH_FEED_URL/RESEARCH_FEED_TOKEN the sidecar runs "unconfigured": /healthz still answers 200 and /verdicts//history still serve whatever is already mirrored (empty on a fresh volume).

Operator setup

  1. In research-triage, mint the bearer: npm run feed:mint-token.
  2. Under rt.rackbops.com's Cloudflare Access non_identity policy, mint a service token (Client Id + Secret).
  3. Copy deploy/research-feed-store.env.example to research-feed-store.env next to your compose.yaml, fill in the four feed keys, then chmod 600 research-feed-store.env.
  4. Append deploy/compose.fragment.yaml to your compose.yaml.
  5. docker compose up -d research-feed-store.

Install into a console

See the repo root README -- install this alongside @rackbops/ac-plugin-research-feed (the in-process panel/card that reads it). The sidecar's HTTP API is unchanged across every version listed in either CHANGELOG, so any pair works.