Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/milisp/github-file-dl
download github folder or file. Resuming interrupted downloads
https://github.com/milisp/github-file-dl
file-download github
Last synced: about 1 hour ago
JSON representation
download github folder or file. Resuming interrupted downloads
- Host: GitHub
- URL: https://github.com/milisp/github-file-dl
- Owner: milisp
- License: mit
- Created: 2024-03-29T07:00:18.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-08-31T08:34:43.000Z (5 months ago)
- Last Synced: 2024-11-22T17:50:42.626Z (2 months ago)
- Topics: file-download, github
- Language: Rust
- Homepage:
- Size: 15.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# github-file-dl
> download github special files. Resuming interrupted downloads
> 下载 github 某个文件夹或文件,可以断点续传
[api](https://docs.github.com/en/rest/repos/contents) - github contents api
## python
### Install```sh
pip install git+https://github.com/milisp/github-file-dl
```### Usage
```sh
github-file-dl -h
github-file-dl github_url download_folder
github-file-dl github_url download_folder -p proxy_url
```### main code file
[`__main__.py`](src/github_file_dl/__main__.py)
## Rust
How to Run:Without Proxy:
```sh
cargo run --release -- "https://github.com/owner/repo/tree/branch/folder_path"
```With Proxy:
```sh
cargo run --release -- "https://github.com/owner/repo/tree/branch/folder_path" "http://your_proxy_here"
```## Similar or related Projects
- [github-files-fetcher](https://github.com/Gyumeijie/github-files-fetcher) - nodejs
- [fetch](https://github.com/gruntwork-io/fetch) - golang