diohub
diohub copied to clipboard
ability to download repo
I would love to be able to download a repo. Btw this is easily the best GitHub app!
The url format used by download ZIP option used by the official website is
https://github.com/{user}/{repo}/archive/refs/heads/{branch}.zip
This could be used here
Example: https://github.com/NamanShergill/diohub/archive/refs/heads/development.zip
for the development
branch of NamanShergill/diohub
Notes:
- Omitting the
refs/heads/
also works. e.g.https://github.com/NamanShergill/diohub/archive/development.zip
- You can replace the branch with a commit hash too e.g.
https://github.com/NamanShergill/diohub/archive/69b13ab65f5ffef13e448d4f3241ae997a3bfdc9.zip
- You can replace the branch with a tag name too e.g.
https://github.com/NamanShergill/diohub/archive/0.3.2-beta.zip
. That link would be same ashttps://github.com/NamanShergill/diohub/archive/refs/tags/0.3.2-beta.zip
whererefs/tags
is included - Replacing the
.zip
with.tar.gz
also works and downloads a gzipped tarball instead of a zip file
@NamanShergill Hope this helps
I will be adding this feature in the next update along with repository releases. I'm currently working on project boards and comment reactions for the meantime.
However I think I didn't list it on the roadmap. Will do so in a while.