Fast YouTube to MP3 downloader โ CLI tool for music lovers
Project description
๐ต Melody CLI
Fast, elegant YouTube โ MP3 downloader for the 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
Konversi file audio lokal ke MP3
โโโโโโโโโโโโโโ
Riwayat download
Pengaturan
Keluar
Install
Windows (satu command)
Buka PowerShell, paste ini, tekan Enter:
irm https://raw.githubusercontent.com/0xAre/melody-cli/master/install.ps1 | iex
Script akan otomatis:
- cek Python & FFmpeg
- install
pipxjika belum ada - install
melodydan daftarkan ke PATH
Linux / macOS
curl -sSL https://raw.githubusercontent.com/0xAre/melody-cli/master/install.sh | bash
Via PyPI
pip install melody-mp3
Manual dari GitHub
pip install git+https://github.com/0xAre/melody-cli.git
Persyaratan
| Python | 3.10 atau lebih baru |
| FFmpeg | wajib ada di PATH untuk konversi MP3 |
Install FFmpeg:
# Windows
winget install -e --id Gyan.FFmpeg
# macOS
brew install ffmpeg
# Ubuntu / Debian
sudo apt install ffmpeg
Penggunaan
Mode interaktif (direkomendasikan)
melody
Jalankan saja melody, navigasi dengan โโ arrow keys. Tidak perlu hafal flag apapun.
Alur queue โ kumpulkan dulu, download sekaligus:
Cari โ pilih โ Tambah ke antrian
Cari โ pilih โ Tambah ke antrian
...
Download antrian (proses semua sekaligus)
Mode CLI (untuk scripting)
# Download lagu / playlist
melody get "https://youtu.be/..."
melody get "https://youtube.com/playlist?list=..." -o ~/Music -q 320
# Cari dan download
melody search query "bohemian rhapsody"
# Konversi file lokal
melody convert file ./dump -o ./musik
# Riwayat
melody history show
# Konfigurasi
melody config show
melody config show --set quality=320
melody config show --set output_dir=D:/Musik
Konfigurasi
Tersimpan otomatis di %APPDATA%\melody\config.toml (Windows) atau ~/.config/melody/config.toml.
| 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 dengan portable music player |
Kompatibilitas Music Player
Melody menghasilkan MP3 yang kompatibel dengan hampir semua portable music player (music box, Acome, dll):
- Sample rate 44100 Hz
- Codec libmp3lame
- Stereo (2 channel)
- ID3 metadata tertanam
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.0.0.tar.gz.
File metadata
- Download URL: melody_mp3-1.0.0.tar.gz
- Upload date:
- Size: 23.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4e6999c9450e9362c63d40730d7e90fc7442e5ef5caf027f395c91f70df4d0a6
|
|
| MD5 |
a89f3d54bdcba62d4c34c4fa24081450
|
|
| BLAKE2b-256 |
b4da87570249301b9fe2217ea06f3a8ce0b9766ade26c51e502b55acbb35578f
|
Provenance
The following attestation bundles were made for melody_mp3-1.0.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.0.0.tar.gz -
Subject digest:
4e6999c9450e9362c63d40730d7e90fc7442e5ef5caf027f395c91f70df4d0a6 - Sigstore transparency entry: 1905674753
- Sigstore integration time:
-
Permalink:
0xAre/melody-cli@3ca17d178ce6904aad0683a22268f346c4cadce8 -
Branch / Tag:
refs/tags/v1.0.0 - Owner: https://github.com/0xAre
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@3ca17d178ce6904aad0683a22268f346c4cadce8 -
Trigger Event:
release
-
Statement type:
File details
Details for the file melody_mp3-1.0.0-py3-none-any.whl.
File metadata
- Download URL: melody_mp3-1.0.0-py3-none-any.whl
- Upload date:
- Size: 30.9 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 |
0b353b53479c5d81d18069af3ce7a0d23f6369f6e228c65566007a02435acb4a
|
|
| MD5 |
eb714c7ca4c4f3b05dd0177bcba9af7d
|
|
| BLAKE2b-256 |
10c75475f43f0f1c94a2f4c5c15a2a31580545c84ac2399918a3312083cc6d73
|
Provenance
The following attestation bundles were made for melody_mp3-1.0.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.0.0-py3-none-any.whl -
Subject digest:
0b353b53479c5d81d18069af3ce7a0d23f6369f6e228c65566007a02435acb4a - Sigstore transparency entry: 1905674880
- Sigstore integration time:
-
Permalink:
0xAre/melody-cli@3ca17d178ce6904aad0683a22268f346c4cadce8 -
Branch / Tag:
refs/tags/v1.0.0 - Owner: https://github.com/0xAre
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@3ca17d178ce6904aad0683a22268f346c4cadce8 -
Trigger Event:
release
-
Statement type: