Skip to content

Desktop · Open source · Free

Hızır download manager

“Fast downloads, on every computer.”

A free, open source download manager for Windows, macOS and Linux. It splits each file across many connections, picks up where it left off after a crash, catches downloads straight from the browser and saves HLS, DASH and YouTube videos. Light on memory: 16 MB in the tray.

  • Rust · Tauri 2
  • Open source · MIT
  • Windows · macOS · Linux
  • English · Türkçe
Hızır progress window: live speed graph and 12 connections
Hızır main window: downloads with progress bars, speeds and categories
  • 3Desktop platforms from one codebase: Windows, macOS, Linux
  • 8×Faster on a throttled server: 12.4 MiB/s on one connection, ~100 on eight
  • 16 MBMemory in the background; 39 MB with the window open
  • 14K+Lines of Rust, with 107 tests and end-to-end runs on a fault-injecting server
Story

A download manager that is free, open and fast. On every operating system.

Download managers that really speed things up are either paid, Windows-only or long abandoned. On macOS and Linux the choice is a terminal tool or the browser's own single-connection download.

Hızır fills that gap. It splits a file into parts and downloads them over several connections at once, writes each byte straight into place without a merge step, and resumes from the last checkpoint after a crash or power cut. It catches downloads from the browser with their cookies, so links behind a login work too.

It is small and quiet: the Windows and macOS installers are under 8 MB, it sits in the tray using 16 MB of memory, and every release is checked on Windows, macOS and Linux before it ships. The code is open under the MIT license.

1 → 8 connections, 12 → 100 MiB/s
Measured on a server that caps every connection at 20 MB/s: the same file, eight times faster.
Link picker: every link on a page with checkboxes, ready to download

Two things that set it apart

01Adaptive connections

Adds connections while speed grows, backs off when the server objects

A download starts on 4 connections. Every two seconds the engine checks the total speed: if the new connections added at least 10%, it opens two more, up to 32. When the server answers 429 or 503, it halves the count and keeps that as the ceiling.

  • Parts are re-split on the fly: when one finishes, the slowest remaining part is cut in half.
  • Bytes go straight to their place in a preallocated file; there is no merge step at the end.
  • Checkpoints every 250 ms in one SQLite transaction; a crash costs at most a fraction of a second.
adaptive.rs
Progress window with 12 connections

02Browser to app

Catches downloads from the browser, cookies included

One extension works in Chrome, Edge, Brave, Firefox and Zen. When you click a download, the browser's own panel never opens; the link reaches Hızır with its cookies, referrer and user agent, so files behind a login download too.

  • The extension talks to a small native host; the host reaches the app over 127.0.0.1 with a 256-bit token.
  • HLS and DASH streams are fetched by Hızır's own segmented engine; tracks are joined with ffmpeg without re-encoding.
  • "Download all links" and a site grabber for whole folders of files.
hizir-native-host
Download caught from the browser
Content

What it does, and how

Download engine6

  • Multi-connectionAdaptive

    4 to 32 connections per file, decided by measured speed.

  • ResumeCrash-safe

    Picks up after a crash, a restart or a dropped connection.

  • Checksums

    SHA-256 or MD5 verified while the file downloads, not after.

  • Mirrors

    Several addresses for one file; parts are shared between them.

  • Speed limit and quotaToken bucket

    A global limit, a per-file limit and an hourly quota.

  • Proxy

    HTTP and SOCKS5, with per-site sign-in.

Browser and video5

  • Browser extensionMV3

    Chromium browsers and Firefox/Zen with one extension.

  • HLS and DASH

    Stream segments are downloaded in parallel and joined without re-encoding.

  • YouTube and Instagram

    yt-dlp only resolves the link; Hızır's own engine downloads it.

  • Download all linksPicker

    Lists every link on a page; you tick and download.

  • Site grabber

    Crawls a site and collects files by type.

Desktop app6

  • Queues and schedulerScheduled

    Each queue has its own parallel limit and weekday hours.

  • When done

    Open, show in folder, play a sound or shut the computer down.

  • Virus scan

    Runs the scanner you choose after each download.

  • Tray mode16 MB

    Starts at login and waits quietly in the tray.

  • Automatic updates

    Signed update packages, installed with one click.

  • Command lineCLI

    hizir-cli downloads without a window, for scripts and servers.

Code structure

An engine with no I/O, adapters around it.

Hızır is built as ports and adapters. The download engine decides everything (how many connections, which part goes where, when to write a checkpoint) without touching the network or the disk; those come in through ports. That is why the engine can be tested with fake clocks and fake servers, and why the same engine powers the app, the CLI and the tests.

Layers and dependency direction

  1. core

    Domain and engine: planner, adaptive connections, scheduler, quota. Pure Rust, no I/O.

    Depends on nothing

  2. infra

    Port implementations: HTTP (reqwest + rustls), SQLite, file writes, HLS/DASH, yt-dlp, ffmpeg.

    Depends on→ core

  3. native-host

    The bridge between the browser extension and the app.

    Depends on→ core

  4. cli

    hizir-cli: the same engine without a window.

    Depends on→ core→ infra

  5. app

    Tauri 2 + Svelte 5. The only place where everything is wired together.

    Depends on→ core→ infra

  6. extension

    One MV3 extension for Chromium and Firefox/Zen.

    Depends on→ native-host

crates/core/src/app/adaptive.rs
/// Reports total speed on every tick; returns the current target connection count.
pub fn observe(&mut self, now: Instant, speed: u64) -> u16 {
    let Some(changed_at) = self.last_change else {
        self.last_change = Some(now);
        return self.target;
    };
    if now.saturating_duration_since(changed_at) < WINDOW || speed == 0 {
        return self.target;
    }
    self.last_change = Some(now);
    match self.baseline {
        None => self.grow(speed),
        Some(baseline) if speed as f64 >= baseline as f64 * MIN_GAIN => self.grow(speed),
        Some(_) => {}
    }
    self.target
}

/// 429/503 or refused connections: halve the target and keep it as this download's ceiling.
pub fn on_throttled(&mut self, now: Instant) {
    self.ceiling = (self.target / 2).max(1);
    self.target = self.ceiling;
    self.last_change = Some(now);
}
The adaptive connection count: grow while speed improves by at least 10%, halve and cap when the server throttles. No I/O, so it is tested with a fake clock.

Rules

  • 01

    The engine doesn't know the world

    Network, disk, clock and database come in through ports; the engine is tested with fakes in milliseconds.

  • 02

    HTTP/1.1 on purpose

    HTTP/2 would put every part on one TCP connection and cancel the point of splitting; Hızır asks for HTTP/1.1.

  • 03

    One writer

    A single task writes every part into a preallocated file with positional writes and pooled 128 KiB buffers.

  • 04

    Types from one source

    TypeScript types for the interface are generated from the Rust types with ts-rs; the two sides can't drift apart.

  • 05

    Tested against a hostile server

    End-to-end tests run against a local server that drops connections, slows down and answers 429 on purpose.

  • 06

    Checked on three systems

    Every change runs formatting, Clippy and tests on Ubuntu, macOS and Windows before it can be released.

Tech stack

  • Rust 2024
  • Tokio
  • reqwest · rustls
  • SQLite (WAL)
  • Tauri 2
  • Svelte 5
  • TypeScript
  • ts-rs
  • Vite
  • Vitest
  • WebExtensions (MV3)
  • yt-dlp · ffmpeg
  • GitHub Actions
How it's made

Built with AI agents, under human review.

Hızır is another product from my setup where I run AI agents like a team. Architecture, performance targets and every release decision stay with me; the agents write, test and measure in parallel.

  1. Decisions are written down

    A decision table at the root records why each choice was made, from HTTP/1.1 to the token file's permissions. An agent reads it before touching the code.

  2. Measured, not assumed

    Speed and memory claims come from benchmarks: a throttled local server, real downloads, and memory read from the operating system.

  3. Honest about gaps

    What was tried by hand and what was only checked in the browser preview is listed openly in the repository.

  4. One tag, four builds

    A version tag builds Windows, macOS (Intel and Apple Silicon) and Linux, signs the update packages and publishes the release.

Roadmap

Done

  • Version 0.1.5 released for Windows, macOS and Linux
  • Adaptive multi-connection engine with crash-safe resume
  • Browser extension for Chromium browsers and Firefox/Zen
  • HLS, DASH, YouTube and Instagram downloads
  • Queues, scheduler, quota, site grabber, link picker
  • Signed automatic updates; verified on macOS

Up next

  • Chrome Web Store and Firefox Add-ons listings
  • Code-signed installers for Windows and macOS
  • Subtitles for video downloads
  • Site passwords in the system keychain
  • Multi-language audio and every DASH period

Hızır is free and open source under the MIT license; installers are on GitHub Releases. The installers are not code-signed yet, so Windows and macOS show a warning on first launch. Some features (queues, site grabber, virus scan) are covered by tests and the browser preview but have not been tried by hand in the real app yet.

Let's build one

Need a desktop app?

I build fast, light desktop apps for Windows, macOS and Linux from a single codebase, from the engine to the installer. Let's talk about your idea in 15 minutes.