Skip to content

Repository files navigation

Bunkr Downloader Portable GUI

This project is a fork of the original BunkrDownloader by Lysagxra. Huge thanks to her for creating and maintaining the powerful core of this application!

This version focuses on providing an user-friendly Graphical User Interface (GUI) and includes other features to make downloading as simple as possible. It was originally built for Windows, and now also runs — CLI and GUI — on Linux (see the Linux section below).

Screenshots

Download tab: paste a URL or load a batch file, watch live progress in the log.

Download tab

Settings tab: save folder, concurrent downloads, retries, filters, and advanced toggles.

Settings tab

✨ Features

This fork includes all the powerful core features from the original, plus:

  • Dual Download Modes: Easily switch between downloading a single URL or batch downloading from a .txt file using a simple toggle.
  • Graphical User Interface (GUI): A simple and intuitive interface for downloading. No command line needed!
  • Portable Executable: Download and run the application directly without needing to install Python or any dependencies (Windows .exe, Linux binary).
  • Easy URL Pasting: A convenient "Paste" button to quickly insert a Bunkr URL from your clipboard.
  • File Browser: A "Browse" button to easily select your URL list file when in "Batch from file" mode.
  • Settings Tab: Tweak the save folder, max concurrent downloads, retries, and include/exclude filters without touching the command line.
  • Stop Button: Cancel a batch mid-run — the current URL finishes, the rest are skipped.
  • Detailed CLI Window (optional): Toggle in Settings to spawn each download in its own console for the full Rich progress bars.
  • Automatic Folder Opening: Once your download is complete, the folder containing the files will automatically open.
  • Build & Setup Scripts: Comes with .bat scripts for Windows and .sh scripts for Linux/macOS to easily set up the environment and build the executable from source.

Core Features

  • Downloads multiple files from an album concurrently.
  • Supports batch downloading via a list of URLs.
  • Supports selective file downloading based on filename criteria.
  • Provides progress indication during downloads.
  • Automatically creates a directory structure for organized storage.
  • Logs URLs that encounter errors for troubleshooting.

💻 How to Use (Easy Way)

  1. Go to the Releases page.
  2. Download the latest BunkrDownloader-portable-GUI.exe file.
  3. Run the application.
  4. Choose your download mode:
    • For a single link: Leave it on "Single URL", paste your Bunkr URL, and click Download.
    • For multiple links: Select "Batch from file", click Browse to select your .txt file, and then click Download.
  5. That's it!

🛠️ For Developers (Building from Source)

If you want to build the application yourself:

  1. Clone this repository:
    git clone https://github.com/ZeroHackz/BunkrDownloader-Portable.git
  2. Navigate to the project directory:
    cd BunkrDownloader-Portable
  3. Run the setup script. This will create a virtual environment and install the required dependencies.
    setup_launcher.bat
  4. To build the executable, run the build script:
    build.bat
    The .exe will be available in the dist folder.

🐧 Linux Usage

Both the CLI and the GUI run natively on Linux (and should work the same way on macOS).

System dependencies

The core CLI has no OS-specific dependencies beyond Python 3.10+. The GUI additionally needs:

  • Tk — usually already installed alongside Python; if python3 -c "import tkinter" fails, install your distro's Tk package (e.g. sudo apt install python3-tk on Debian/Ubuntu, sudo dnf install python3-tkinter on Fedora).
  • xdg-utils — used by the "Open folder" button (xdg-open); installed by default on most desktop distros.
  • A terminal emulator (xterm, gnome-terminal, konsole, or xfce4-terminal) — only needed for the optional "detailed CLI window" setting; the GUI falls back to running without a detached console if none is found.

Running from source

git clone https://github.com/ZeroHackz/BunkrDownloader-Portable.git
cd BunkrDownloader-Portable

./setup_launcher.sh     # creates venv/ and installs dependencies
./launch_cli.sh <url>   # run the CLI (prompts for a URL if omitted)
./launch_gui.sh         # run the GUI

Building a portable AppImage

./build.sh

This produces a single portable file, dist/BunkrDownloader-x86_64.AppImage, with both interfaces in it:

./BunkrDownloader-x86_64.AppImage                     # GUI
./BunkrDownloader-x86_64.AppImage --cli <bunkr_url>   # CLI

No Python installation is required to run it. Like the Windows .exe, the GUI keeps Downloads/ and settings.json next to the .AppImage file. It runs on distros with the same or a newer glibc than the machine it was built on. The first build downloads appimagetool into build/tools/.

Optional CI build: .github/workflows/appimage.yml.example is a GitHub Actions workflow that builds the AppImage on Ubuntu 22.04, so it also runs on older distros, and attaches it to the release when a GUIv* tag is pushed. To enable it, rename the file to appimage.yml.

CLI Usage

The original command-line interface is still available and fully functional.

Single Download

python downloader.py <bunkr_url>      # Windows
python3 downloader.py <bunkr_url>     # Linux/macOS

Selective & Batch Downloads

All the original flags like --ignore, --include, and batch downloading via URLs.txt are still supported, along with --custom-path, --no-download-folder, --no-album-folder, --clean-name, --max-retries, --connections, --rate-limit, --dry-run, --disable-disk-check, and --version.

For more details, please refer to the Lysagxra README.

Logging

The application logs any issues encountered during the download process in a file named session.log. Check this file for any URLs that may have been blocked or had errors.