Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/MinhasKamal/DownGit
Create GitHub Resource Download Link
https://github.com/MinhasKamal/DownGit
directory downgit download file folder github github-api javascript
Last synced: 12 days ago
JSON representation
Create GitHub Resource Download Link
- Host: GitHub
- URL: https://github.com/MinhasKamal/DownGit
- Owner: MinhasKamal
- License: mit
- Created: 2016-07-31T20:57:33.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2024-01-13T20:57:38.000Z (10 months ago)
- Last Synced: 2024-10-15T09:25:27.937Z (25 days ago)
- Topics: directory, downgit, download, file, folder, github, github-api, javascript
- Language: JavaScript
- Homepage: https://minhaskamal.github.io/DownGit
- Size: 174 KB
- Stars: 1,687
- Watchers: 19
- Forks: 409
- Open Issues: 38
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome - MinhasKamal/DownGit - Create GitHub Resource Download Link (JavaScript)
- jimsghstars - MinhasKamal/DownGit - Create GitHub Resource Download Link (JavaScript)
README
DownGit
[![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://www.paypal.com/donate/?business=5KR6BA9MYTM62&no_recurring=0¤cy_code=USD)
#### Create GitHub Resource Download Link
With this tool you can directly download or create download link to any GitHub **public directory or file**.
### Website
[DownGit ↑](https://minhaskamal.github.io/DownGit)
### How to Use?
##### Advanced Usage
A typical download URL will look like this- `https://minhaskamal.github.io/DownGit/#/home?url=&fileName=&rootDirectory=`
Now, if you want to download this directory- **`https://github.com/MinhasKamal/DownGit/tree/master/res/images`** with this file name- **`DownGit-Images.zip`** and this root directory name- **`ImagesOfDownGit`**, then the URL will be- https://minhaskamal.github.io/DownGit/#/home?url=https://github.com/MinhasKamal/DownGit/tree/master/res/images&fileName=DownGit-Images&rootDirectory=ImagesOfDownGit
In default, value of `fileName` and `rootDirectory` is set to the name of the downloading file or directory. If you do not want to add the directory itself in the zip, then set `rootDirectory=false`. Like: this link- https://minhaskamal.github.io/DownGit/#/home?url=https://github.com/MinhasKamal/DownGit/tree/master/res/images&rootDirectory=false, will download a file named **`images.zip`**; however the root directory- `"images"`, will not be included in the zip.
If you want to download file- **`https://github.com/MinhasKamal/DownGit/blob/master/res/images/downgit.png`** with name- **`DownGitIcon.zip`**, then the link will be- https://minhaskamal.github.io/DownGit/#/home?url=https://github.com/MinhasKamal/DownGit/blob/master/res/images/downgit.png&fileName=DownGitIcon
### License
DownGit is licensed under MIT License.