GitHub Download ZIP

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

Aŭtoro
Mottie
Ĉiutagaj instaloj
0
Tutaj instaloj
674
Ratings
11 0 0
Versio
0.2.8
Kreita
2018/10/22
Ĝisdatigita
2024/02/17
Licenco
MIT
Aplikiĝas al

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

Examples

URLName of downloaded fileDetails
https://api.github.com/repos/Mottie/GitHub-userscripts/zipball/masterMottie-GitHub-userscripts-v1.0.213-0-gaaafb00.zipuser + repo + last tag + #? + "g" + SHA of last commit
https://api.github.com/repos/Mottie/GitHub-userscripts/zipball/v1.0.208Mottie-GitHub-userscripts-v1.0.208-0-gaa9b2db.zipuser + repo + associated tag + #? + "g" + SHA of tagged version
https://api.github.com/repos/Mottie/GitHub-userscripts/zipball/31340a9Mottie-GitHub-userscripts-v1.0.211-3-g31340a9.zipuser + repo + last tag + #? + "g" + SHA of last commit
https://api.github.com/repos/mozilla/pdf.js/zipball/gh-pagesmozilla-pdf.js-078f568.zipuser + repo + SHA of last commit in that branch

github-download-zip

github-download-zip-commits

Hosted with ♥ at GitHub