Skip to content

v2.1.0

Choose a tag to compare

@github-actions github-actions released this 29 Oct 05:46
· 12 commits to master since this release

v2.1.0

Download results (closes #2)

  • DownloadResult, DownloadManyResult, DownloadManySimpleResult, FromFileResult, FromManifestResult return Result{URL, Path, Size, Bytes, Segments, ChecksumVerified, Duration, CacheHit}
  • GoDownload.OnDone / Options.OnDone — one callback per completed file

Freshness check

  • NoStale option + 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-url for 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