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

@seedprotocol/feed-hyper

v0.6.6

Published

Hyperdrive / Hyperswarm distribution for Seed Protocol feeds

Readme

@seedprotocol/feed-hyper

Publish Seed Protocol RSS/Atom/JSON feeds into a Hyperdrive, announce them on Hyperswarm, and serve them to ordinary RSS readers over localhost HTTP.

seed feed serve accepts both drive paths (/posts/rss.xml) and historical HTTP paths (/posts/rss).

Generation stays in @seedprotocol/feed. This package is transport only (Node 20+). It pulls in Holepunch native modules (sodium-native, etc.).

Trust model

  • A feed’s identity is its Hyperdrive public key (z32), not a hostname.
  • Bytes are signed by that key. Peers and HTTP gateways are interchangeable mirrors.
  • https://feed.seedprotocol.io (or any seed feed serve process) is a convenience gateway, not the source of truth.
  • Official Seed feeds will use DEFAULT_SEED_FEED_HYPER_KEY once ops publish and back up the first keypair (empty string until then).

Drive layout

/registry.json
/{collection}/rss.xml
/{collection}/atom.xml
/{collection}/feed.json
/{collection}/archive/{year}/{month}/rss.xml   # when includeArchives

registry.json lists schemas, formats, the drive key, and last update metadata.

Install

bun add @seedprotocol/feed-hyper

Requires a toolchain that can build Holepunch native addons.

Library API

import {
  publishFeed,
  openFeed,
  seedFeed,
  serveFeed,
  localFeedUrl,
  DEFAULT_SEED_FEED_HYPER_KEY,
} from '@seedprotocol/feed-hyper'

const session = await publishFeed({
  schemas: ['post'],
  formats: ['rss', 'atom', 'json'],
  storePath: '.seed/feed-store',
  announce: true, // keep swarm joined until session.close()
})

console.log(session.key, session.hyperUrl)

const opened = await openFeed({
  key: session.key,
  storePath: '.seed/feed-reader',
})
const rss = await opened.get('/posts/rss.xml')

const gateway = await serveFeed({
  key: session.key,
  storePath: '.seed/feed-reader',
  port: 8080,
})
console.log(localFeedUrl(gateway.baseUrl, 'post', 'rss'))

Fixtures / tests

Pass fixtureContents: { '/posts/rss.xml': '...' } to publishFeed to skip EAS generation.

CLI (via @seedprotocol/cli)

seed feed publish --schema post --format rss,atom,json --store .seed/feed-store
seed feed seed <key> --store .seed/feed-store
seed feed serve <key> --port 8080 --host 127.0.0.1

Use --no-announce on publish/serve to stay offline (local store only).

Operator notes

  1. Back up the Corestore directory for any key you care about (especially the official key).
  2. Run at least one always-on seed feed seed <key> (or leave publish announcing) so cold feeds resolve.
  3. Point RSS apps at http://127.0.0.1:8080/posts/rss.xml or http://127.0.0.1:8080/posts/rss after seed feed serve.
  4. Unpublish/revocation: regenerating omits revoked items from the current drive version; Hypercore history retains prior versions.

See docs/FEED_HYPER.md for the full runbook and manual validation checklist.

Tests

Path tests always run. Native Corestore/Hyperdrive/HTTP tests run when FEED_HYPER_TESTS=1 or when not in CI (FEED_HYPER_TESTS=0 to skip).

cd packages/feed-hyper && bunx vitest run
FEED_HYPER_TESTS=1 bunx vitest run

Runtime note: Holepunch natives are intended for Node.js. Running them under Bun may crash (uv_get_osfhandle). Prefer node / tsx for CLI and Vitest (which uses Node) for tests.

Manual validation checklist

See docs/FEED_HYPER.md.