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

@vardhanbattula7/csongs

v0.0.2

Published

> A terminal music player for a local `~/Music` library.

Readme

csongs

A terminal music player for a local ~/Music library.

Requirements

  • Node.js 16 or newer
  • npm
  • ffplay and ffprobe from FFmpeg
  • cava for the visualizer
  • A Music directory in your home folder with .mp3 files

If ~/Music does not exist, csongs will prompt you to create it on launch.

Install

Global install

npm install --global @vardhanbattula7/csongs
csongs --list

From source

git clone https://codeberg.org/Vardhanb07/csongs.git
cd csongs
npm install
npm run build

Development

npm install
npm run dev

Run

After installing or building, run:

csongs

By default the app opens the song list view. Use --play to start playback immediately.

CLI

csongs --help

Usage
  csongs [options]

Options
  --list  Open the song list view
  --play  Start playing from the first song

Examples
  csongs --list
  csongs --play

Flags

  • --list opens the library browser.
  • --play starts playback from the first song in ~/Music.
  • If both are provided, --list wins.

Keyboard Commands

Library view

  • / : move selection
  • g: jump to the first song
  • G: jump to the last song
  • Enter: play the selected song
  • q / Esc: exit the app

Player view

  • Space: play or pause
  • l: loop the current song
  • L: loop the full playlist
  • n / Right Arrow: next song
  • p / Left Arrow: previous song
  • q / Esc: stop playback and exit
  • When a song ends, playback automatically moves to the next song.
  • When the final song ends and playlist loop is off, player returns to home.

How It Works

  • csongs reads audio files from ~/Music
  • Only .mp3 files are shown and played
  • The player uses ffplay
  • Track duration is read with ffprobe
  • The animated visualizer uses cava
  • CAVA signal-based exits during song transitions are treated as expected cleanup.

Commands During Setup

If you are setting up the project from source, these are the main commands:

npm install
npm run dev
npm run build