Skip to content

GitHub download zip

Rob Garrison edited this page Oct 24, 2022 · 19 revisions

A userscript adds download links so that downloaded filenames include the SHA

Examples

URL Name of downloaded file Details
https://api.github.com/repos/Mottie/GitHub-userscripts/zipball/master Mottie-GitHub-userscripts-v1.0.214-0-gae48ca9.zip user + repo + last tag + #? + "g" + SHA of last commit
https://api.github.com/repos/Mottie/GitHub-userscripts/zipball/v1.0.208 Mottie-GitHub-userscripts-v1.0.208-0-gaa9b2db.zip user + repo + associated tag + #? + "g" + SHA of tagged version
https://api.github.com/repos/Mottie/GitHub-userscripts/zipball/31340a9 Mottie-GitHub-userscripts-v1.0.211-3-g31340a9.zip user + repo + last tag + #? + "g" + SHA of last commit
https://api.github.com/repos/mozilla/pdf.js/zipball/gh-pages mozilla-pdf.js-078f568.zip user + repo + SHA of last commit in that branch

Screenshots

github-download-zip

github-download-zip-commits

Change Log

Version 0.2.8 (2022-10-24)

  • Update dependencies.

Version 0.2.7 (2021-07-21)

  • Update mutation script.

Version 0.2.6 (2021-01-31)

  • Update mutation script.

Version 0.2.5 (2020-03-27)

  • Fixed section alignment.
  • Fixed error & no results handling.
  • Included zip & tarball in results.

Version 0.2.4 (2019-10-19)

  • Stop wrap on commits page.

Version 0.2.3 (2019-06-07)

  • Update loading icon.
  • Prevent JS error on click.

Version 0.2.0 – 0.2.2 (2019-05-05)

  • Use non-truncated path. Fixes issue #81.
  • Add release links dropdown. Closes issue #62.
  • Fix message for no releases.
  • Prevent truncated branch name usage. See issue #81.

Version 0.1.2 (2019-02-16)

Version 0.1.1 (2019-01-28)

  • Update mutation script.

Version 0.1.0 (2018-10-22)

  • Initial commit.