Skip to main content

Clone and update a GitHub user's repos locally.

Project description

<h1>
gh-archiver
<a href="https://badge.fury.io/py/gh-archiver">
<img src="https://img.shields.io/pypi/v/gh-archiver.svg?colorB=green&style=flat">
</a> <a href="https://tldrlegal.com/license/mit-license" target="_blank">
<img src="https://img.shields.io/badge/license-MIT-blue.svg?style=flat">
</a>
</h1>

Clone and update a GitHub user's repositories locally:

```sh
$ gh-archiver ChrisCummins -o ~/src/GitHub/
cloning atom
cloning autoencoder
updating chriscummins.cc
...
```

## Installation

```sh
$ pip install gh-archiver
```

Requires Python >= 3.6.

## Usage

Create a credentials file `~/.githubrc` with your GitHub username and password:

```sh
$ cat <<EOF > ~/.githubrc
[User]
Username = YourUsername
Password = password1234
EOF
$ chmod 0600 ~/.githubrc
```

Alternatively, use flag `--githubrc <path>` to specify an alternate path to the credentials file.

## License

Made with ❤️ by [Chris Cummins](http://chriscummins.cc). Released under [MIT License](https://tldrlegal.com/license/mit-license).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gh-archiver-0.0.2.tar.gz (3.6 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page