Repository navigation
v2.1.0
v2.1.0
Download results (closes #2)
DownloadResult,DownloadManyResult,DownloadManySimpleResult,FromFileResult,FromManifestResultreturnResult{URL, Path, Size, Bytes, Segments, ChecksumVerified, Duration, CacheHit}GoDownload.OnDone/Options.OnDone— one callback per completed file
Freshness check
NoStaleoption + CLI--no-stale: skip re-downloads when the server reports the file unchanged (If-None-Match/If-Modified-Since, sidecar<outpath>.gd-meta)- Works with multi-segment downloads
HuggingFace models
DownloadHF(repo)/ CLI--hf owner/model: bulk-fetches a whole model repository, nested paths preserved--hf-api-urlfor self-hosted HF-compatible endpoints- CLI
--json(also for URLs/manifests): stable machine-readable report for agent tool-calls
README
- Feature comparison table vs aria2c/wget/curl, agent workflow, terminal demo GIF
Install
go install github.com/saromanov/godownload/cmd/godownload@latest
Binaries for linux/darwin/windows (amd64, arm64) below; sha256 files alongside.
Full changelog: v2.0.0...v2.1.0