camsong / chrome-github-mate

Chrome extension to make single file download effortless and with more features
https://chrome.google.com/webstore/detail/github-mate/baggcehellihkglakjnmnhpnjmkbmpkf
MIT License
360 stars 63 forks source link

Add Download folder feature #29

Open leocaseiro opened 8 years ago

leocaseiro commented 8 years ago

Hi @camsong, thanks for this amazing extension.

I was wondering how hard would be to add a feature to download a folder only?

That would be very hand in case we want to download a specific folder, instead of the whole project or file by file.

I'm happy to give a try, but perhaps you'd know exactly what to do...

Thanks

Update

I've found two alternatives for that, so I believe it's possible to build:

camsong commented 8 years ago

Thanks @leocaseiro, I thought about this feature myself for several months! Didn't got any idea until your two links 😰 , DownGit and gitzip are quite a smart way to do this. Plan to add this when I got a time 😇

leocaseiro commented 8 years ago

One more reference https://github.com/VahidN/GitHubFolderDownloader

leocaseiro commented 8 years ago

We can add /trunk after the repo name and include all path after that and use svn,

like so:

From: https://github.com/camsong/chrome-github-mate/tree/master/_locales/en

To: https://github.com/camsong/chrome-github-mate/trunk/_locales/en

Run: svn checkout https://github.com/camsong/chrome-github-mate/trunk/_locales/en

Works nice on mac.

Reference: http://stackoverflow.com/a/18194523/3415716

camsong commented 8 years ago

@leocaseiro thanks for the info

darkworks commented 7 years ago

am using this one to download folders :: https://github.com/charany1/GHSDD