Skip to content

Download any Github repo or its folders right from command line

License

Notifications You must be signed in to change notification settings

Propsi4/DownGit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DownGit

🔴WARNING🔴:

There may occur some bugs, if you find any, please report them to me.

Description:

DownGit is a simple and convenient command-line tool that allows users to download exact folders from GitHub repositories without the need to use the web interface or 3-rd party websites that provide this feature. This program provides access to GitHub repositories through commands, simplifying and speeding up the download process. It also enables users to set their own token to increase the rate limits for API requests to GitHub.

Installation:

pip install downgit

Commands:

downgit get
downgit set-token
downgit remove-token
downgit help
  • get <url> <ignore-files> - The get command allows you to download a GitHub repository by specifying the repository's URL. Optionally, you can specify ignored files, separated by ';'. This feature allows users to choose which files they want to download.

    Example of use:

      downgit get https://github.com/Propsi4/emotions-recognition/tree/main/client "src/App.tsx;src/index.tsx"
    
  • set-token <token> - The set-token command lets you set a personal GitHub token to increase the rate limits for API requests. This is especially useful for users who frequently use this program and want more capabilities for downloading data from GitHub.

  • remove-token - The remove-token command allows you to remove a previously set GitHub token if you no longer wish to use it for API access.

  • help - The help command displays the command menu to familiarize users with the available options and correct command syntax.

DownGit is an excellent tool for working with GitHub repositories through the command line, simplifying the download process and making it more efficient.

About

Download any Github repo or its folders right from command line

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages