Skip to content

Building from source

Terminal window
brew install mpv
Terminal window
git clone https://github.com/drelich/needle-music-player.git
cd needle-music-player
Terminal window
npm install
Terminal window
npm run tauri dev

This starts the Vite dev server and launches the Tauri app in development mode with hot reload.

Terminal window
npm run tauri build

The .dmg will be output to src-tauri/target/release/bundle/dmg/.

Needle stores its database and mpv socket in the OS app-data directory for the bundle ID com.davidrelich.needle:

FilePurpose
library.sqliteLibrary, play history, playlists, metadata cache
mpv.sockUnix socket for mpv IPC communication

Maintenance and folder-removal actions only touch the database — your audio files are never modified or deleted.