Giter VIP home page Giter VIP logo

gh-mirror's Introduction

gh-mirror is a simple way to mirror a user's GitHub repositories locally, maintaining the upstream repository metadata, and keep them updated easily. See the blog post I wrote it for to get more information about how to use it in a useful way.

$ gh-mirror cdown
Cloning into bare repository 'Apache-ETag.git'...
remote: Counting objects: 7, done.
remote: Compressing objects: 100% (5/5), done.
remote: Total 7 (delta 0), reused 6 (delta 0)
Receiving objects: 100% (7/7), done.
Checking connectivity... done.
Cloning into bare repository 'bats.git'...
[...]

License

gh-mirror is ISC licensed. See the LICENSE file for full details.

gh-mirror's People

Contributors

cdown avatar dchest avatar matthiask avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

gh-mirror's Issues

Doesn't mirror all repositories

FYI, GitHub API sends only a handful of repositories in the first reply. You're supposed to fetch more by yourself by looking into Link header:

Link:<https://api.github.com/user/52677/repos?page=2>; rel="next", <https://api.github.com/user/52677/repos?page=3>; rel="last"

I fixed it here dchest@5e9e0e6 but can't submit pull requiest, as I don't own copyright for link parsing code.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.