DEV Community

Cover image for Github-dlr: Download individual files and folders from Github recursively.
Rocktim Saikia
Rocktim Saikia

Posted on

Github-dlr: Download individual files and folders from Github recursively.

Have you ever needed just one file or a specific folder from a GitHub repository but didn’t want to clone the entire project? As a terminal enthusiast, I often found myself in this situation, and it led me to create a tool that solves this problem in the simplest way possible.

What is github-dlr?

github-dlr is a terminal tool designed to make your life easier by allowing you to download individual files and folders from a GitHub repository without the hassle of cloning the entire repository. Whether you’re working with large projects or just need a specific part of a repo, github-dlr gets it done with just a few keystrokes.

Check out the project on GitHub:

GitHub logo rocktimsaikia / github-dlr

Download individual files and folders from Github recursively.

Who Can Benefit from github-dlr?

This tool is perfect for:

  • Terminal Power Users: If you’re comfortable with the terminal and have Python installed, github-dlr is a lightweight and efficient solution for grabbing specific files from GitHub.
  • Linux Enthusiasts: For those who enjoy customizing their Linux setups (often referred to as "ricing"), this tool is particularly useful. Whether you’re after individual wallpapers, config files, or scripts from various repositories, github-dlr makes it quick and easy to download exactly what you need.

Why I Created github-dlr

The motivation behind github-dlr came from my own frustrations. Time and again, I found myself wanting just a single file or a specific folder from a public GitHub repository, only to realize there wasn’t a straightforward way to do it through the terminal. While there are websites that offer this functionality, I wanted something that could be accessed directly from the terminal with minimal effort.

As a terminal power user, I prefer tools that are just a few keystrokes away. So, I decided to build github-dlr—a tool that aligns with the way I work and, hopefully, with the way many of you work too.

How github-dlr Works

Using github-dlr is incredibly simple. After installing the tool, you can use a single command to download any specific file or folder from a GitHub repository. No more unnecessary cloning, no more navigating through massive project structures—just the files you need, right when you need them.

Feedback and Contributions

I’m really excited to share this tool with the community, and I’m eager to hear your feedback. Whether you have suggestions for new features, improvements, or just want to share how you’re using github-dlr, I’d love to hear from you. You can reach out through GitHub or leave a comment below.

Check out the project and give it a try:

GitHub logo rocktimsaikia / github-dlr

Download individual files and folders from Github recursively.

Thank you for your support, and I hope github-dlr becomes a useful tool in your development toolkit!

Top comments (0)