ericlathrop / github-backup Goto Github PK
View Code? Open in Web Editor NEWBackup GitHub repositories locally.
License: MIT License
Backup GitHub repositories locally.
License: MIT License
The Github API uses paging on the returned JSON results, so if you have a significant number of starred repositories, you may only get a smaller number returned and therefore downloaded that you have actually starred (still public only).
http://stackoverflow.com/questions/14057478/github-api-issue-listing-starred-repos
https://api.github.com/users/{username}/starred?page=X&per_page=Y
where X is the number of the page (defaults to 1), and Y is the page size (max 100).
Thanks for the tool!
Planning to make a PR allowing the user to specify a list of repo names to ignore when performing the backup. I was thinking a file called .dontbackup
or .ignoredrepos
or something that is a newline-separated list of repos to skip if the name matches. If it exists it should reside in the same directory where the CLI is invoked.
The username/
prefix can be optionally specified in case a repo of the same name exists multiple times in the full user+organizations+starred repo list. If no prefix is specified then all matching repos will be ignored.
e.g.
somerepo
someotherrepo
benwiley4000/github-backup
Thoughts?
I guess you are aware of the same tool (in a different language) from @joeyh which seems to have the same goals than your project.
Can you maybe add a section to the readme explain the differences?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.