rapel
Chunked, resumable HTTP downloader with concurrent downloads and post-part hooks
TLDR
SYNOPSIS
rapel download [options] URLrapel merge [options]
DESCRIPTION
rapel is a modern, cross-platform downloader that splits large files into chunks, downloads them concurrently, and supports reliable resume after interruption. It records download parameters in a sidecar file so resuming is safe even across different sessions or machines.After a successful download (or on demand), parts can be merged into the final file. A `--post-part` hook lets you upload, verify, or process each chunk as soon as it lands — useful for streaming uploads to object storage or triggering downstream pipelines.The tool is written in Go, has zero runtime dependencies besides the binary, and works on Linux, macOS, Windows, FreeBSD, and Raspberry Pi (armv6/armv7).
PARAMETERS (download)
-c, --chunk-size SIZE
Chunk size with K/M/G suffix (default 100M)--jobs N
Number of concurrent chunk downloads (default 1)-x, --proxy URL
Proxy (supports socks5h://, http://, etc.)-r, --retries N
Retries per chunk request (default 10)--merge
Automatically merge chunks after download completes--post-part CMD
Shell command to run after each chunk (supports {part}, {idx}, {base})--force
Ignore any existing state and start fresh
