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

gsd-qdrant-cli

v1.0.7

Published

CLI per setup automatico GSD + Qdrant in qualsiasi progetto Node.js

Readme

gsd-qdrant-cli

CLI Node.js per creare e sincronizzare una knowledge base semantica di progetto su Qdrant.

Obiettivo del prodotto

L'obiettivo non è solo indicizzare file, ma rendere naturale una richiesta come:

"prendi il componente X dal progetto Y e applicalo qui"

Per questo il tool separa:

  • contesto GSD (.gsd) → collection docs
  • codice riutilizzabile → collection snippets

E arricchisce gli snippet con metadata strutturali e link verso il contesto .gsd.

Come funziona

Lanciando gsd-qdrant nella root di un progetto Node.js:

  1. crea gsd-qdrant/
  2. crea gsd-qdrant/.qdrant-sync-state.json
  3. crea gsd-qdrant/index.js
  4. crea o valida due collection Qdrant per progetto:
    • <project>-docs
    • <project>-snippets
  5. indicizza .gsd nella collection docs
  6. indicizza il codice progetto nella collection snippets
  7. collega ogni snippet ai documenti .gsd rilevanti

Modello dati

Collection docs

Payload principali:

  • kind: docs
  • project
  • path
  • title
  • date
  • content
  • ids
  • linksTo

Collection snippets

Payload principali:

  • kind: snippet
  • project
  • path
  • language
  • scope
  • workspace
  • kindDetail
  • name
  • symbolNames
  • exports
  • imports
  • ids
  • relatedDocs
  • relatedDocPaths
  • relatedDocIds
  • content

Questa struttura è pensata per retrieval più precisi su query generiche di riuso.

Uso

gsd-qdrant

Comandi principali:

gsd-qdrant
gsd-qdrant snippet search "component button" --context
gsd-qdrant snippet apply "script per docker"

Requisiti

  • Node.js >= 18
  • Qdrant raggiungibile, default: http://localhost:6333

Avvio locale rapido:

docker run -d --name qdrant -p 6333:6333 -p 6334:6334 qdrant/qdrant

Variabili ambiente

QDRANT_URL=http://localhost:6333
VECTOR_NAME=fast-all-minilm-l6-v2
EMBEDDING_MODEL=sentence-transformers/all-MiniLM-L6-v2
EMBEDDING_DIMENSIONS=384

Stato attuale

  • gsd-qdrant è l'entry point unico per bootstrap + sync
  • bootstrap e sync sono project-wide, senza ramo frontend/backend
  • reinstallazioni inutili evitate quando i pacchetti minimi sono già presenti
  • output CLI ripulito sul happy path
  • snippet arricchiti con metadata strutturali e contesto .gsd

Prossimo focus

Il lavoro principale rimasto è il retrieving quality:

  • ranking migliore per componenti/hooks/utils/routes/scripts
  • controllo compatibilità target prima dell'apply
  • snippet apply Qdrant-first invece che database statico-first

Pubblicazione npm

Versione target corrente del repository: 1.0.7

Prima di pubblicare:

npm pkg fix
npm publish --dry-run

npm publish --dry-run resta la validazione autorevole dello stato del package.