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

github-vec

v1.0.0

Published

Semantic search across GitHub repositories

Readme

github-vec

GitHub READMEs, vectorized.

"Ever searched GitHub for a project you knew existed but couldn't find?"

"You remember the concept, maybe a few keywords, but GitHub search returns nothing."

I got frustrated enough to embed 23M unique GitHub READMEs into a vector database. Now you can search by meaning, not just keywords.

Designed to work with claude-code subagents, keeping contexts lean.

CLI

# Install globally
bun install -g github-vec

# Search by meaning
github-vec "vector database for embeddings"
github-vec "lightweight web framework" --limit 20

Options:

  • -l, --limit <n> - Number of results (default: 10, max: 50)
  • -h, --help - Show help

Uses hosted API at https://github-vec.com

Why use this

"Someone already made something like your project. You just can't find it."

"Stop reinventing. Start finding."

Setup

./setup.sh              # Install deps + Qdrant
qdrant                  # Start Qdrant server (in separate terminal)
bun scripts/ingest.ts   # Ingest READMEs into Qdrant

Requires:

  • DEEPINFRA_API_KEY - for embeddings
  • DATA_DIR - path to data directory (default: /home/root/data)

Qdrant Servers

| Server | URL | Description | |--------|-----|-------------| | Local | http://localhost:6333 | Default development instance | | Production | http://db.todofor.ai:6333 | Remote production instance |

To ingest to production:

QDRANT_URL="http://db.todofor.ai:6333" bun scripts/ingest.ts

To sync local storage to production (stops remote Qdrant, rsyncs, restarts):

./scripts/sync-qdrant.sh

Data

| Property | Value | |----------|-------| | Records | 23M unique READMEs (100M+ with forks) | | Size | ~350 GB | | Source | BigQuery bigquery-public-data.github_repos |

Schema:

{"content_hash": "9d6a7cca...", "repo_name": "owner/repo", "content": "# Title\n..."}

| Field | Type | Description | |-------|------|-------------| | content_hash | string | SHA-1 hash (unique ID) | | repo_name | string | GitHub repo owner/repo | | content | string | Raw README.md markdown |

Sample:

{
  "content_hash": "9d6a7cca12ed5fc9831fec6d97fed2e88b1bb884",
  "repo_name": "nyc-squirrels-2015/dbc_pair_mate_v2",
  "content": "# dbc_pair_mate_v2\nThis a verion 2 of the dbc pair mate ported to Rails.\n"
}

Pull data (optional)

To re-pull from BigQuery (~$16):

bun scripts/pull-readmes.ts ./data