xget
Grab it fast, resume it later.
Not affiliated with any other
xgetapplications, nor is thisxgeta fork of any kind. An original project.
xget is a download manager for the terminal built in Rust. It pulls files over HTTP with segmented Range downloads, queues batches, handles torrents in process, streams HLS/DASH playlists to single files, builds .torrent files, talks WebDAV, refreshes expiring links, and works as a curl replacement for quick requests. A background daemon can own the queue so downloads survive closed terminals.
xget guide lists short topic pages with examples.
Features
- Smart mode select: throttle probe picks single stream or segmented xN automatically
- Mirrors per segment: fastest source wins, bad sizes drop silently, auto mirrors for known hosts
- Proxy support:
--proxyon add/queue/resume/hls for HTTP and trackers - Queue with configurable concurrency, clashing names become name.1, name.2
- Pause and resume with sidecars, blake3 verified delta resume on re-add
- Daemon mode:
xget daemon startkeeps downloads running, CLI talks to it when active - Torrents in process: magnet and .torrent, no separate daemon needed, file select and seed timer
- Torrent creation:
xget mktorrentbuilds .torrent from file or dir - HLS/DASH:
xget hlspulls playlists to single .ts/.mp4, encrypted inputs rejected cleanly - WebDAV:
webdav://andwebdavs://download and mirror like plain HTTP reqsubcommand with curl parity for methods, headers, bodies, cookies, proxy- Link refresh: revisits the source page on 403/410/expired and continues with Range
- Captcha handoff: solve in the browser, xget takes over cookies and keeps going
- Browser hook: extension pushes links into the queue through
serve - Extras:
verify,split/join, recursivemirror,servewith Range, tcp tuning hint - Guides built in:
xget guide <quickstart|modes|mirrors|queue|resume|config|torrent|curl|refresh|hook|captcha|hls|daemon>
Requirements
- Rust 1.85+ to build
- Linux, macOS or Windows with a terminal
- Optional: Firefox or Chrome profile for captcha cookie handoff
Installation
# Local
# Build only
Release profile uses LTO and stripped symbols, the binary is about 9 MB.
Usage
Torrents, expiring links and captcha:
Playlists and daemon:
WebDAV:
Full flags per command: xget <COMMAND> --help.
Works on
Anywhere Rust builds: Linux tested, macOS and Windows should work. Static musl build for portable use is done in CI.
License
GPL-3.0-only. See LICENSE.