A lightning-fast, multi-threaded CLI downloader for KukuFM audio content, written in Rust with rich terminal UI and metadata tagging.
- Blazing Fast: Multi-threaded parallel stream & segment downloads.
- Rich Terminal UI: Animated progress bars and status indicators powered by
indicatif. - Full Metadata: Embedded ID3/MP4 metadata (Title, Artist, Album, Cover Art).
- Flexible Cookie Sources: Load cookies from a local
cookies.txtfile, a remote HTTP/HTTPS URL, or an inline cookie string. - Cross-Platform: Pre-built binaries for Linux, macOS, and Windows.
Each downloadable release archive contains:
kukufm-dl/kukufm-dl.exe(Main executable binary)cookies_example.txt(Sample cookies template with setup instructions)README.md(Documentation)
Where to place cookies.txt depending on how you run kukufm-dl:
Extract the .zip or .tar.gz archive. Place cookies.txt in the exact same directory alongside the binary executable:
my-folder/
├── kukufm-dl <-- Main executable binary
├── cookies.txt <-- Place your cookies file HERE!
└── README.md
my-folder/
├── kukufm-dl.exe <-- Main executable binary
├── cookies.txt <-- Place your cookies file HERE!
└── README.md
If you clone the repository and build from source:
Place cookies.txt in the root repository directory (where Cargo.toml is located):
kukufm-dl/
├── Cargo.toml
├── cookies.txt <-- Place your cookies file HERE when using `cargo run`
├── src/
└── target/
Command:
cargo run -- --url https://kukufm.com/show/slugAfter running cargo build --release, the binary is generated at target/release/kukufm-dl (or target/release/kukufm-dl.exe on Windows).
You can run it directly from the project root:
./target/release/kukufm-dl --url https://kukufm.com/show/slug- Go to Releases and download the archive for your OS:
- Linux:
kukufm-dl-linux-amd64.tar.gz - macOS (Apple Silicon):
kukufm-dl-macos-arm64.tar.gz - macOS (Intel):
kukufm-dl-macos-x86_64.tar.gz - Windows:
kukufm-dl-windows-amd64.zip
- Linux:
- Extract the downloaded
.tar.gzor.zipfile into a folder. - Open Terminal / Command Prompt / PowerShell inside that extracted folder.
KukuFM requires active subscription cookies to stream and download premium content.
Tip
Shell Quoting Tip: When passing --cookie directly on the command line in Linux/macOS, always enclose the cookie string in single quotes ('...') instead of double quotes ("..."). Double quotes allow shell expansion of special characters like $, !, or & inside cookie values.
- Rename
cookies_example.txttocookies.txt(or createcookies.txtin the same folder askukufm-dl). - Log in to KukuFM in your web browser.
- Open Developer Tools (
F12orCtrl+Shift+I/Cmd+Option+I). - Switch to the Console tab and run:
copy(document.cookie)
- Open
cookies.txt, paste your copied cookie string, and save the file.kukufm-dlwill detect it automatically!
If your cookies are hosted online (e.g. Pastebin, Github Gist, or private server), pass the HTTP/HTTPS URL directly:
./kukufm-dl --url https://kukufm.com/show/slug -c https://example.com/my_cookies.txtPass your raw browser cookie string directly in single quotes:
./kukufm-dl --url https://kukufm.com/show/slug --cookie 'session=xyz123; token=abc456'./kukufm-dl --url https://kukufm.com/show/revenge-of-my-fake-boyfriend-8 --from-ep 1 --to-ep 10 --parallel-downloads 3.\kukufm-dl.exe --url https://kukufm.com/show/revenge-of-my-fake-boyfriend-8 --from-ep 1 --to-ep 10 --parallel-downloads 3# Custom local file path
./kukufm-dl --url https://kukufm.com/show/slug -c /path/to/my_cookies.txt
# Remote Cookie URL
./kukufm-dl --url https://kukufm.com/show/slug -c https://raw.githubusercontent.com/user/repo/main/cookies.txt
# Inline Cookie string (use single quotes '...' to avoid shell variable expansion!)
./kukufm-dl --url https://kukufm.com/show/slug --cookie 'session=xyz123; token=abc456'| Parameter | Short | Default | Description |
|---|---|---|---|
--url |
Required | Full web URL of the KukuFM show (https://kukufm.com/show/...). |
|
--from-ep |
1 |
Start episode number (>= 1). | |
--to-ep |
0 |
End episode number (0 downloads all remaining episodes). |
|
--parallel-downloads |
1 |
Concurrent episode download threads (recommended: 3 to 5). |
|
--cookie-file |
-c |
cookies.txt |
Local file path OR remote HTTP/HTTPS URL containing KukuFM cookies. |
--cookie |
Raw cookie string OR remote HTTP/HTTPS URL directly (wrap string in '...'). |
ffmpeginstalled and available in your systemPATH.- Active KukuFM subscription cookies via local
cookies.txt, remote URL, or--cookieflag.
kukufm-dl is developed strictly for personal, educational, and offline archival purposes.
- No Liability: The developer(s) and contributor(s) accept no responsibility or liability for any misuse of this software, account suspension, copyright infringement, or violation of third-party Terms of Service.
- User Responsibility: Users are solely responsible for their actions and for ensuring compliance with all applicable local, national, and international laws, regulations, and third-party terms of service.
- Intellectual Property: All product names, logos, audio content, show titles, and trademarks are property of their respective owners (KukuFM). This software does not host, stream, bypass digital rights management (DRM) protections, or redistribute copyrighted media.