download_bintray
Version, currently master branch1 version
- master branchlatestApr 9, 2021
github.com/da1nerd/download_bintray
Downloads everything from bintray
Installation
# Add this to your shard.yml
dependencies:
download_bintray:
github: da1nerd/download_bintray
branch: mastermaster is a branch, not a release, so this tracks it rather than pinning a version.
Then run:
shards installshard.yml
- Crystal
1.0.0- License
- MIT
- Author
- joel
- Target
download_bintrayfrom src/download_bintray.cr
Dependencies
This version declares no dependencies.
README
download_bintray
JFrog is sunsetting Bintray on May 1, 2021 (see the community announcement). I couldn't find a simple way to backup all of my artifacts so I wrote this small client to download everything.
Note: I initially attempted to use
wgetfor a recursive directory download, but bintray formatted the links in a funny way (probably to avoid people doing exactly that).
This was written in haste and has a limited life span and use-case, so the code is quit ugly and I have no intention of changing that. PRs welcome!
Installation
shards build
This will compile and place the binary in ./bin
Usage
Run the executable with --help to get a list of options.
The following will download all of the artifacts of someuser from https://dl.bintray.com/someuser/ into ~/bintray_backup
./bin/download_bintray -u someuser -d ~/bintray_backup -c
The -c option will verify the size of the downloaded files.
This will slow down the process, but the results are cached so re-runs have no performance penalty.
By performing a file check you can safely recover from a corrupt download after a network interruption by simply re-running the program.
Once everything is downloaded you can prune all the cached files. The caches make re-running the program a lot faster, but there is no reason to keep them if you have finished your backup.
./bin/download_bintray -d ~/bintray_backup -p
You now have a pristine mirror of your bintray artifacts!
Contributing
- Fork it (https://github.com/your-github-user/download_bintray/fork)
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create a new Pull Request
Contributors
- da1nerd - creator and maintainer
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This branch
- Branch
master- Seen
- Apr 9, 2021
- Crystal
1.0.0- Indexed
- yes
Dependents
No indexed shard depends on this one yet.
Repository
github.com/da1nerd/download_bintray
Metadata
- Created
- Aug 12, 2026
- Updated
- Aug 14, 2026
- Synced
- Aug 14, 2026
- Versions
- 1