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

@fuelex/speedy-spot

v0.1.0

Published

Distributed worker and cluster framework for Discord music bots with Spotify integration

Readme

Speedy-Spot

Speedy-Spot is an open-source custom worker and cluster system for high-traffic Discord music bots using Spotify login and playlist access.

Goals

  • Isolate workloads with workers and cluster orchestration
  • Reduce load and improve request latency under heavy traffic
  • Provide resilient queue processing with retries and dead-letter handling
  • Expose operational metrics and health endpoints
  • Deliver complete MkDocs documentation hosted on GitHub Pages

Project Status

Foundation bootstrapped in JavaScript with:

  • src/cluster shard and worker orchestration
  • src/workers worker runtime and job execution
  • src/queue pluggable queue provider (memory and redis)
  • src/auth Spotify OAuth session, retry-aware token refresh, and playlist sync pipeline
  • src/lavalink Lavalink client, node failover, shard/cluster routing, voice updates, and player dispatch
  • src/api operational HTTP API with strict job validation and admin token auth
  • src/playback guild-level execution coordination
  • src/telemetry structured logging + in-memory metrics

Quick Start

npm install
npm run start

Server defaults to http://localhost:3000.

Useful Endpoints

  • GET /health
  • GET /metrics
  • GET /clusters
  • GET /auth/spotify/url?userId=<id>
  • POST /jobs enqueue validated jobs
  • POST /auth/spotify/callback exchange auth code for token

Key Environment Variables

  • QUEUE_PROVIDER=memory|redis (default memory)
  • REDIS_URL=redis://localhost:6379
  • REDIS_KEY_PREFIX=speedyspot
  • TOKEN_STORE_PROVIDER=memory|file|encrypted-file (default memory)
  • TOKEN_STORE_FILE=./.speedyspot-tokens.json
  • TOKEN_STORE_ENCRYPTION_KEY=<32-byte base64 or 64-char hex> required for encrypted-file
  • ADMIN_API_TOKEN=<secret> (optional; enables header auth for control endpoints)
  • SPOTIFY_MOCK_MODE=true|false (default true)
  • SPOTIFY_CLIENT_ID, SPOTIFY_CLIENT_SECRET, SPOTIFY_REDIRECT_URI
  • SPOTIFY_MAX_RETRIES, SPOTIFY_RETRY_BASE_MS
  • LAVALINK_NODES JSON array of nodes, example: [{"id":"main","url":"http://127.0.0.1:2333","password":"youshallnotpass","sessionId":"abc123"}]
  • LAVALINK_DEFAULT_SOURCE (default spsearch)

Documentation

  • Sources: docs/
  • MkDocs config: mkdocs.yml
  • Local docs serve: npm run docs:serve