mp3-now-cli
v1.0.1
Published
Official command-line client for MP3.now audio conversion
Maintainers
Readme
MP3.now CLI
Official command-line client for MP3.now. See the conversion API documentation.
Install
npm install --global mp3-now-cliRequires Node.js 18 or newer and a MP3.now account with an API key and conversion credits.
Authenticate
Create an API key at mp3.now/dashboard/api-access, then save it locally:
mp3-now login mp3now_your_key_hereThe key is stored in ~/.config/mp3-now/config.json with user-only permissions. For CI, set MP3NOW_API_KEY instead of saving a key. Never commit the key.
Convert
Find converter slugs in the API documentation, then run:
mp3-now convert song.wav --slug wav-to-mp3 --output song.mp3
mp3-now convert song.mp3 --slug compress-mp3 --option bitrate=128The CLI queues the job, waits for completion, and downloads the result. Use --no-wait to return the job immediately, then check it later:
mp3-now status JOB_ID --jsonRun mp3-now --help for all options.
