Skip to content

NOOB-3301/React-Music-CLI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

7709e19 · Mar 11, 2025

History

14 Commits
Feb 7, 2025
Mar 3, 2025
Jan 16, 2025
Jan 16, 2025
Jan 16, 2025
Jan 16, 2025
Jan 16, 2025
Feb 12, 2025
Mar 3, 2025
Mar 3, 2025
Mar 9, 2025
Jan 16, 2025

Repository files navigation

Music CLI

Music CLI is a terminal-based music player built with React, Ink, and Node.js. It allows you to browse and play audio files directly from the command line. Additional features include metadata display, playback controls, and playlist shuffling.

Music CLI

Features

  • Browse Local Music: Lists audio files from the user's Music directory.
  • Playback Controls:
    • Play/Pause: p
    • Stop: k
    • Seek Forward/Backward: f / b
    • Shuffle Playlist: s
  • Metadata Display: Shows song details such as title, artist, album, duration, and bit rate.
  • Keyboard Navigation:
    • Navigate up/down: /
    • Switch pages: /
    • Select and play: Enter
    • Exit: q

Installation

  1. Clone the repository:
    git clone <repository-url>
    cd <repository-folder>
  2. Install dependencies:
    npm install

Usage

To run the application, execute the following commands:

npm run build
chmod +x dist/*
npm link

Alternative (Requires Root Privileges)

npm run build
chmod +x dist/*
sudo npm link

Now, you can start using Music CLI from anywhere in your terminal by simply running:

music-cli