chrome-github-mate icon indicating copy to clipboard operation
chrome-github-mate copied to clipboard

Add Download folder feature

Open leocaseiro opened this issue 9 years ago • 5 comments

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:

  • https://github.com/minhaskamal/DownGit/
  • https://github.com/KinoLien/gitzip

leocaseiro avatar Aug 12 '16 01:08 leocaseiro

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 😇

camsong avatar Aug 14 '16 02:08 camsong

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

leocaseiro avatar Nov 22 '16 23:11 leocaseiro

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

leocaseiro avatar Nov 22 '16 23:11 leocaseiro

@leocaseiro thanks for the info

camsong avatar Nov 23 '16 02:11 camsong

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

darkworks avatar Mar 14 '17 05:03 darkworks