Giter Site home page Giter Site logo

github_backup_manager's Introduction

github_backup_manager

As the amount of developed projects on Github increase the struggle to keep up-to-date backups on local drives increase. I created this project to solve the issue.

How?

This program uses scraping and github api do the following actions:

  1. Get system data from destination folder and preform updates on repos (windows only)
  2. Scrape github for existing public repos of user
  3. Calculate approximated size of download by talking to github api (very few requests per day!)
  4. Show and download each repo that doesn't exist

Motivation

I use this program to keep an up-to-date backup off my github repos on an external hdd.

Start

  1. Make sure to install python3, git and all required libraries.
  • os
  • platform
  • ntpath
  • subprocess
  • BeautifulSoup
  • requests
  • datetime
  1. Edit destination_path and user_name at the top of main.py file.
  2. Run main.py
python main.py

Screenshot

During execution the program will ask a couple of questions on how to proceed. See screenshot below:

Screenshot

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.