Fast YouTube to MP3 downloader โ CLI tool for music lovers
Project description
๐ต Melody CLI
YouTube โ MP3 downloader dengan interactive wizard di terminal. Navigasi dengan arrow keys โ tidak perlu hafal command apapun.
โญโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ melody v1.0.0 โ
โ YouTube โ MP3 โข Cari, Download, Konversiโ
โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
? Apa yang ingin kamu lakukan?
โฏ Download lagu / playlist dari YouTube
Download dari file daftar URL (.txt)
Cari lagu di YouTube
โโโโโโโโ Antrian [3 lagu] โโโโโโโโโโโโ
Antrian [3 lagu] โ lihat & kelola
Download antrian (3 lagu)
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Konversi file audio lokal ke MP3
Riwayat download
Pengaturan
Keluar
Install
Windows โ satu command
Buka PowerShell, paste, tekan Enter:
irm https://raw.githubusercontent.com/0xAre/melody-cli/master/install.ps1 | iex
Otomatis cek Python, install pipx, install melody, daftarkan ke PATH.
Linux / macOS
curl -sSL https://raw.githubusercontent.com/0xAre/melody-cli/master/install.sh | bash
Via pip / pipx
# pip
pip install melody-mp3
# pipx (direkomendasikan โ environment terisolasi)
pipx install melody-mp3
Persyaratan
| Python | 3.10+ |
| FFmpeg | otomatis โ diunduh saat pertama kali dibutuhkan |
melody menyertakan static-ffmpeg sebagai dependensi โ jika FFmpeg tidak ditemukan di sistem, melody mengunduhnya otomatis (~80 MB, sekali saja, tersimpan di cache).
Jika sudah punya FFmpeg di sistem, melody langsung menggunakannya tanpa download.
Fitur
- Interactive wizard โ navigasi arrow keys, tidak perlu hafal command apapun
- Queue system โ kumpulkan lagu dari beberapa pencarian, download sekaligus
- Cari YouTube langsung dari terminal
- Support YouTube Music URLs (
music.youtube.com) โ otomatis dikonversi - Auto-fallback DRM โ jika video protected, otomatis coba versi lain
- Download playlist sekaligus
- History & dedup โ tidak download ulang lagu yang sama
- Config permanen โ kualitas, folder output, sample rate
- Kompatibel music box โ 44100 Hz, libmp3lame, stereo
Penggunaan
Mode interaktif (direkomendasikan)
melody
Jalankan melody, navigasi โโ, pilih Enter. Tidak perlu hafal apapun.
Alur queue โ kumpulkan dulu, download sekaligus:
melody
โ Cari lagu di YouTube โ pilih โ Tambah ke antrian
โ Cari lagu di YouTube โ pilih โ Tambah ke antrian
โ Download antrian (proses semua sekaligus)
Mode CLI
# Download satu lagu atau playlist
melody get "https://youtu.be/..."
melody get "https://youtube.com/playlist?list=..." -o ~/Music -q 320
# Cari YouTube
melody search query "bohemian rhapsody"
# Konversi file audio lokal
melody convert file ./folder -o ./output
# Riwayat download
melody history show
# Konfigurasi
melody config show
melody config show --set quality=320
melody config show --set output_dir=D:/Musik
Konfigurasi
Tersimpan di %APPDATA%\melody\config.toml (Windows) / ~/.config/melody/config.toml (Linux/macOS).
| Key | Default | Keterangan |
|---|---|---|
output_dir |
~/Music |
Folder default download |
quality |
192 |
Bitrate MP3: 128 / 192 / 256 / 320 kbps |
skip_history |
true |
Skip otomatis jika sudah pernah didownload |
sample_rate |
44100 |
Hz โ kompatibel portable music player |
Development
git clone https://github.com/0xAre/melody-cli
cd melody-cli
pip install -e ".[dev]"
pytest tests/ -v
License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file melody_mp3-1.1.0.tar.gz.
File metadata
- Download URL: melody_mp3-1.1.0.tar.gz
- Upload date:
- Size: 27.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0eb4fed1534cc767d11e7921d22bfd4cf44b51f9cf5e852312d2a07ebd27e761
|
|
| MD5 |
07fad01661ee9cc728693dbdeef3d2aa
|
|
| BLAKE2b-256 |
4e619fc095ce1179911f1be8e3c26ddcee97d8da545a84c8e2681e613ebe389b
|
Provenance
The following attestation bundles were made for melody_mp3-1.1.0.tar.gz:
Publisher:
publish.yml on 0xAre/melody-cli
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
melody_mp3-1.1.0.tar.gz -
Subject digest:
0eb4fed1534cc767d11e7921d22bfd4cf44b51f9cf5e852312d2a07ebd27e761 - Sigstore transparency entry: 1906329747
- Sigstore integration time:
-
Permalink:
0xAre/melody-cli@4aa17c54d8ac8770dc1df271bde2d66095b41251 -
Branch / Tag:
refs/tags/v1.1.0 - Owner: https://github.com/0xAre
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@4aa17c54d8ac8770dc1df271bde2d66095b41251 -
Trigger Event:
release
-
Statement type:
File details
Details for the file melody_mp3-1.1.0-py3-none-any.whl.
File metadata
- Download URL: melody_mp3-1.1.0-py3-none-any.whl
- Upload date:
- Size: 33.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
96b2128c4dccd971cf0104a1fb10c0dd75eb66a6ec23758c4d1578afb2cdb57c
|
|
| MD5 |
9f2a3f0fe8cec4002c675662fd1cefa6
|
|
| BLAKE2b-256 |
d93db54d68ed562eb3cb7197a2361a6bb775ef56f41f1beff63d1444d69bb522
|
Provenance
The following attestation bundles were made for melody_mp3-1.1.0-py3-none-any.whl:
Publisher:
publish.yml on 0xAre/melody-cli
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
melody_mp3-1.1.0-py3-none-any.whl -
Subject digest:
96b2128c4dccd971cf0104a1fb10c0dd75eb66a6ec23758c4d1578afb2cdb57c - Sigstore transparency entry: 1906329896
- Sigstore integration time:
-
Permalink:
0xAre/melody-cli@4aa17c54d8ac8770dc1df271bde2d66095b41251 -
Branch / Tag:
refs/tags/v1.1.0 - Owner: https://github.com/0xAre
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@4aa17c54d8ac8770dc1df271bde2d66095b41251 -
Trigger Event:
release
-
Statement type: