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.
- 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
- Play/Pause:
- 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
- Navigate up/down:
- Clone the repository:
git clone <repository-url> cd <repository-folder>
- Install dependencies:
npm install
To run the application, execute the following commands:
npm run build
chmod +x dist/*
npm link
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