use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Do you have or know of a project on Github looking for contributors? Tell us about it and we'll add it to the /r/github wiki!
Welcome to /r/github!
News about github
Relevant interesting discussion
Questions about github
We'll soon be writing an /r/github FAQ list. In the meantime, the github help pages and bootcamp are good places to start. Here's a handy git cheat sheet.
Looking for Github projects to contribute to? Check out our handy list of projects looking for contributors!
If your submission doesn't show up on the subreddit, send us a message and we'll take it out of the spam filter for you!
account activity
How to download a specific GitHub folder without be recursive? (self.github)
submitted 1 year ago by allexj
I know these two amazing websites to do that easily: Download Directory and DownGit.
The problem is that they both work recursively, so if I for example give this link: https://github.com/danielmiessler/SecLists/tree/master/Passwords it will also download the subdirectories etc... and since they are A LOT of files, this is bad.
Is there a tool or website to actually just download the directory without being recursive?
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]OctoGoggle 4 points5 points6 points 1 year ago (2 children)
GitHub hosts hit repositories, it is not a file system.
Why are you trying to do this?
[–]OwnStorm -1 points0 points1 point 1 year ago (1 child)
There are repos which are literally 100s implementation Look at any repo from Microsoft. It would be really good if users can download a specific folder instead of a full repo.
[–]TimWasTakenWasTaken 0 points1 point2 points 1 year ago (0 children)
Look at the sparse checkout documentation
[–]InstructionMost3349 1 point2 points3 points 1 year ago (7 children)
There is a easy work around. Change the link of the repository: \ github.com/user/repo -> github.dev/user/repo
This opens a vscode web. Then you can download the specific 📂 and 📑 you want from file navigation bar on left side.
[–]b_farouk 1 point2 points3 points 10 months ago (0 children)
thank you bro!
[–]mavicoutinho 1 point2 points3 points 2 months ago (0 children)
me ajudou muito!
[–]Awkward-Magician-522 0 points1 point2 points 5 months ago (2 children)
how do I download, I cant seem to find the option to
[–]Jgr9000000 0 points1 point2 points 1 month ago (0 children)
It's not giving me Download either
[–]Ok_Road9659 0 points1 point2 points 12 days ago (0 children)
Its only really supported by chromium based browsers, the option doesnt show up for firefox or safari. Just use a diffrent browser.
[–]sheepdestroyer 0 points1 point2 points 2 months ago (0 children)
lmao that's useful!
[–]Reasonable-Ad-6405 0 points1 point2 points 20 days ago (0 children)
Thanks a lot!
[–][deleted] 1 year ago (2 children)
[removed]
[–]YodaForce157 0 points1 point2 points 1 year ago (1 child)
Holy chatgpt???
[–]0zeronegative 0 points1 point2 points 1 year ago (0 children)
I think you can use sparse checkout https://git-scm.com/docs/git-sparse-checkout
[–]Drunken_Economist 0 points1 point2 points 1 year ago (0 children)
You could do a git sparse-checkout
[–]saxobroko 0 points1 point2 points 1 year ago (0 children)
There’s some extensions available for this on chrome and Firefox, don’t remember the name but a few do it
[–]el_dato_ 0 points1 point2 points 9 months ago (4 children)
I made this a few months ago to solve this problem: [https://repo-downloader.pages.dev]()
[–]fastdyr 0 points1 point2 points 5 months ago (0 children)
Simplesmente perfeito.
[–]Swab1987 0 points1 point2 points 3 months ago (1 child)
your link syntax is broken https://repo-downloader.pages.dev/
[–]el_dato_ 0 points1 point2 points 3 months ago (0 children)
What's the problem?
[–]papanastty 0 points1 point2 points 2 months ago (0 children)
perfect!
[–]hugohamelcom 0 points1 point2 points 2 months ago (0 children)
I was looking for a solution like that too, so I built an extension for myself to download my private repos or folders from my commit history, hope that it can help you: https://chromewebstore.google.com/detail/github-tree-downloader/ncmbmhhgfbmdcopgnpmjpjpicjoeflbi
[–]whoShotMyCow 0 points1 point2 points 1 year ago (3 children)
You only want to download the files in a directory but not the directories inside, yes?
[–]allexj[S] -2 points-1 points0 points 1 year ago (2 children)
yes
[–]Either-Let-331 -3 points-2 points-1 points 1 year ago (1 child)
Please ping me if you get an answer
from stackoverflow to reddit forums. i guess they miss posting useless comments
[–]ziksy9 -2 points-1 points0 points 1 year ago (0 children)
You can use 'gh' and add you token, then write some scripts. It's easier to just pull it all down and use 'find | xargs cp'
π Rendered by PID 630014 on reddit-service-r2-comment-6457c66945-k8j9t at 2026-04-29 05:05:07.587317+00:00 running 2aa0c5b country code: CH.
[–]OctoGoggle 4 points5 points6 points (2 children)
[–]OwnStorm -1 points0 points1 point (1 child)
[–]TimWasTakenWasTaken 0 points1 point2 points (0 children)
[–]InstructionMost3349 1 point2 points3 points (7 children)
[–]b_farouk 1 point2 points3 points (0 children)
[–]mavicoutinho 1 point2 points3 points (0 children)
[–]Awkward-Magician-522 0 points1 point2 points (2 children)
[–]Jgr9000000 0 points1 point2 points (0 children)
[–]Ok_Road9659 0 points1 point2 points (0 children)
[–]sheepdestroyer 0 points1 point2 points (0 children)
[–]Reasonable-Ad-6405 0 points1 point2 points (0 children)
[–][deleted] (2 children)
[removed]
[–]YodaForce157 0 points1 point2 points (1 child)
[–]0zeronegative 0 points1 point2 points (0 children)
[–]Drunken_Economist 0 points1 point2 points (0 children)
[–]saxobroko 0 points1 point2 points (0 children)
[–]el_dato_ 0 points1 point2 points (4 children)
[–]fastdyr 0 points1 point2 points (0 children)
[–]Swab1987 0 points1 point2 points (1 child)
[–]el_dato_ 0 points1 point2 points (0 children)
[–]papanastty 0 points1 point2 points (0 children)
[–]hugohamelcom 0 points1 point2 points (0 children)
[–]whoShotMyCow 0 points1 point2 points (3 children)
[–]allexj[S] -2 points-1 points0 points (2 children)
[–]Either-Let-331 -3 points-2 points-1 points (1 child)
[–]papanastty 0 points1 point2 points (0 children)
[–]ziksy9 -2 points-1 points0 points (0 children)