Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jw4/go-downloader
Tool to mirror Go binary releases
https://github.com/jw4/go-downloader
downloader go golang scraper
Last synced: 5 days ago
JSON representation
Tool to mirror Go binary releases
- Host: GitHub
- URL: https://github.com/jw4/go-downloader
- Owner: jw4
- License: mit
- Created: 2021-05-07T06:35:43.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-05-07T17:29:43.000Z (over 3 years ago)
- Last Synced: 2024-06-21T01:55:36.088Z (5 months ago)
- Topics: downloader, go, golang, scraper
- Language: Go
- Homepage:
- Size: 10.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# go-downloader
Tool to download the Go(lang) releases.
This is helpful to avoid continually downloading the binaries repeatedly.
It's still in a very crude state (I probably won't do much to improve it, it does what I want).
Running this will check the Go download site and download all of the releases into folders in the current directory matching the version.
If the file is already downloaded it will check size and hash to see if it matches the official version and if so it will skip downloading that file again.
The tool will also write a companion file with a `.sha` suffix, containing the hash of the downloaded file, which it uses to check hashes in future runs.