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

songsmith-cli

v0.4.0

Published

SongSmith 2.0 CLI — AI-powered song creation from your terminal

Downloads

281

Readme

SongSmith CLI

AI-powered song creation from your terminal. Companion to songsmith.studio — a Pro ($35/mo) or Studio ($100/mo) subscription is required.

npm install -g songsmith-cli
songsmith login --email
songsmith status

What it does

Wraps the SongSmith webapp's API so you can plan albums, generate song concepts, render videos, and dispatch tracks to Suno without leaving the terminal. All credit-gated commands participate in the server's reservation ledger via a per-attempt operationId, so retrying a failed command never double-charges.

Common commands

# Concepts & lyrics
songsmith concept "rainy night in Tokyo" --style "lo-fi hip hop"
songsmith album plan "Neon Horizons" --theme "cyberpunk city" --genre synthwave --tracks 10

# Art & video
songsmith art generate "neon cityscape" --aspect 16:9
songsmith render song <id> --wait
songsmith render album <id> --wait

# Dispatch to Suno (requires the SongSmith Chrome extension)
songsmith suno send <song-id>
songsmith suno send --album <album-id> --on-error continue

# Recovery
songsmith songs retry <id>                       # reset a failed song to draft
songsmith songs fetch-audio <id> <suno-url>      # pull audio after a bridge timeout
songsmith album resume <id>                      # show missing tracks in a partial album

# Observability
songsmith songs events <id>                      # event timeline for a song
songsmith status --full                          # credits + Suno fleet health + render-queue lag

songsmith --help lists every command; songsmith <cmd> --help shows arguments for a specific one.

Global flags

  • --format json — switch any command to JSON output (also auto-detects pipes).
  • --quiet — suppress non-essential output.
  • --verbose — log API calls + timing.
  • --skip-preflight — bypass the pre-flight credit/kill-switch check (escape hatch for CI).
  • --api-url <url> — point at a non-prod environment.

Auth & config

  • Credentials are stored at ~/.config/songsmith/credentials.json with mode 0600.
  • Tokens auto-refresh on 401.
  • API errors include the server's x-request-id so support tickets can be correlated to backend logs.

Configuration

Firebase API key. The CLI uses Firebase Auth for sign-in. Firebase API keys are non-secret per Firebase's design — they identify the project, not the user — so an embedded fallback ships with the CLI. To override (e.g. self-hosted Firebase project), set one of:

export SONGSMITH_FIREBASE_KEY=your-key   # CLI-specific
# or
export NEXT_PUBLIC_FIREBASE_API_KEY=your-key   # matches the webapp env var

Precedence: SONGSMITH_FIREBASE_KEY > NEXT_PUBLIC_FIREBASE_API_KEY > embedded fallback.

Diagnostics. Run songsmith doctor for a fast checklist of credentials, API reachability, subscription tier, and the Suno bridge state. Add --deep to also probe the running extension via PING.

Suno bridge

Suno generation requires the SongSmith Chrome extension running in your browser. The CLI starts a localhost WebSocket server, opens a relay tab at songsmith.studio/cli-bridge, and proxies generation requests through it. songsmith suno connect starts a persistent bridge; subsequent suno send calls reuse it.

Links

License

Proprietary — see SongSmith terms of service.