All Projects → HR → Github Clone

HR / Github Clone

Licence: apache-2.0
⬇️ ⠀git clone repo subdirectories

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Github Clone

Github Files Fetcher
Download a specific folder or file from a GitHub repo through command line
Stars: ✭ 73 (-16.09%)
Mutual labels:  downloader
Labeler
Manage labels on GitHub as code
Stars: ✭ 78 (-10.34%)
Mutual labels:  github-api
Keynuker
🔐💥 KeyNuker - nuke AWS keys accidentally leaked to Github
Stars: ✭ 82 (-5.75%)
Mutual labels:  github-api
Instascrape
🚀 A fast and lightweight utility and Python library for downloading posts, stories, and highlights from Instagram.
Stars: ✭ 76 (-12.64%)
Mutual labels:  downloader
Gitmessenger
GitMessenger is github chat app built with socket.io , firebase, nodejs and bootstrap where developers can share code,images and much more 😊
Stars: ✭ 78 (-10.34%)
Mutual labels:  github-api
New Egghead Downloader
New Egghead Downloader
Stars: ✭ 79 (-9.2%)
Mutual labels:  downloader
Musicdownloader
Material design YouTube mp3/mp4 downloader
Stars: ✭ 70 (-19.54%)
Mutual labels:  downloader
Docker Jdownloader
JDownloader 2 Docker Image (Multiarch) - Passed 40M Downloads
Stars: ✭ 85 (-2.3%)
Mutual labels:  downloader
Projmgr
R-based project management tools
Stars: ✭ 78 (-10.34%)
Mutual labels:  github-api
Mangadex Dl
Download manga from MangaDex.org.
Stars: ✭ 81 (-6.9%)
Mutual labels:  downloader
Twitter media downloader
Twitter media downloader.
Stars: ✭ 75 (-13.79%)
Mutual labels:  downloader
Github Traffic
Get the Github traffic for the specified repository
Stars: ✭ 77 (-11.49%)
Mutual labels:  github-api
Work crawler
Download comics novels 小说漫画下载工具 小説漫画のダウンローダ 小說漫畫下載:腾讯漫画 大角虫漫画 有妖气 知音漫客 咪咕 SF漫画 哦漫画 看漫画 漫画柜 汗汗酷漫 動漫伊甸園 快看漫画 微博动漫 733动漫网 大古漫画网 漫画DB 無限動漫 動漫狂 卡推漫画 动漫之家 动漫屋 古风漫画网 36漫画网 亲亲漫画网 乙女漫画 comico webtoons 咚漫 ニコニコ静画 ComicWalker ヤングエースUP モアイ pixivコミック サイコミ;アルファポリス カクヨム ハーメルン 小説家になろう 起点中文网 八一中文网 顶点小说 落霞小说网 努努书坊 笔趣阁→epub.
Stars: ✭ 1,224 (+1306.9%)
Mutual labels:  downloader
Saavn Downloader Extension
Chrome Extension to download songs and block ads for jiosaavn.com (previously saavn.com)
Stars: ✭ 74 (-14.94%)
Mutual labels:  downloader
Cmpdl
A lightweight alternative to Twitch App for downloading Minecraft modpacks.
Stars: ✭ 83 (-4.6%)
Mutual labels:  downloader
Conget
A CLI app for downloading file concurrently.
Stars: ✭ 72 (-17.24%)
Mutual labels:  downloader
Mini Github
GitHub WeChat Mini Program
Stars: ✭ 1,216 (+1297.7%)
Mutual labels:  github-api
Pornhub Downloader
Bash Script for downloading content from PornHub (the easy way)
Stars: ✭ 87 (+0%)
Mutual labels:  downloader
Repopeek
RepoPeek is a python script to get details about a repository without cloning it.
Stars: ✭ 85 (-2.3%)
Mutual labels:  github-api
Gitmad
Monitor, Alert, and Discover sensitive info and data leakage on Github.
Stars: ✭ 81 (-6.9%)
Mutual labels:  github-api

GitHub clone

Git clone (download) any sub-directories of any GitHub repository (at any reference) without having to clone the entire repository, with only its GitHub URL. Uses the GitHub API to recursively clone the sub-directories tree and files.

Motivation

I often find myself wanting to only download a certain directory, path or package of an especially big repo that I'm currently viewing (without even cloning the entire repo at depth 1) and to do so by simply copy & pasting the GitHub URL so that's why. Probably more instances where this might come in handy ;)

Rate limit

The GitHub API imposes a rate limiting of up to 60 requests per hour applies but can be increased to up to 5000 requests per hour using an OAuth token (to get one see https://help.github.com/en/articles/creating-a-personal-access-token-for-the-command-line).

GitHub clone makes an initial request to fetch repo metadata and then, a request for every subfolder in the repo. The requests to download the files within the folders are not counted against the rate limit so in most cases (i.e. the folder/repo you're trying to clone has less than 60 subfolders) the rate limit should not be a problem.

Private repositories

To clone private repositories you need to supply an OAuth token for an account with access to the private repository (to get one see https://help.github.com/en/articles/creating-a-personal-access-token-for-the-command-line).

Installation

Install the script via the pip:

pip install git+git://github.com/HR/github-clone#egg=ghclone

or via pipsi:

pipsi install git+git://github.com/HR/github-clone#egg=ghclone

Uses Python 3.3+

Usage

GitHub clone (git.io/ghclone)

Usage:
  ghclone <url> [-t | --token=<token>]
  ghclone (-h | --help)
  ghclone (-v | --version)

Examples:
  ghclone https://github.com/HR/Crypter/tree/master/app
  ghclone https://github.com/HR/Crypter/tree/dev/app
  ghclone https://github.com/HR/Crypter/tree/v3.1.0/build
  ghclone https://github.com/HR/Crypter/tree/cbee54dd720bb8aaa3a2111fcec667ca5f700510/build
  ghclone https://github.com/HR/Picturesque/tree/master/app/src -t li50d67757gm20556d53f08126215725a698560b

Options:
  -h --help           Show this screen.
  -v --version        Show version.
  -t --token=<token>  Set a GitHub OAuth token (see https://developer.github.com/v3/#rate-limiting).

License

Copyright (C) 2019-2021 Habib Rehman (https://git.io/HR)

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].