Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ronknight/backup-repos
💾This Python script clones and archives all GitHub repositories for a user.
https://github.com/ronknight/backup-repos
backup github python repositories script
Last synced: about 1 month ago
JSON representation
💾This Python script clones and archives all GitHub repositories for a user.
- Host: GitHub
- URL: https://github.com/ronknight/backup-repos
- Owner: ronknight
- License: mit
- Created: 2024-07-07T01:55:00.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-09-28T20:18:04.000Z (4 months ago)
- Last Synced: 2024-11-07T07:20:19.951Z (3 months ago)
- Topics: backup, github, python, repositories, script
- Language: Python
- Homepage: https://www.pinoyitsolution.com
- Size: 125 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README-Backup GitHub Repositories Flowchart-1.eraserdiagram
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
flowchart-diagram
title Backup GitHub Repositories Flowchart
// Define groups for better organization
Setup [color: lightblue] {
Install Python Libraries [icon: package]
Clone Repository [icon: git-branch]
Create .env File [icon: file-text]
}Script Execution [color: lightgreen] {
Run Script [icon: play-circle]
Fetch Repositories [icon: download]
Clone Repositories [icon: git-branch]
Create Zip Archive [icon: archive]
}// Define the flow
Start [shape: oval, icon: play] > Install Python Libraries: pip install requests python-dotenv
Install Python Libraries > Clone Repository: git clone https://github.com/ronknight/backup-repos.git
Clone Repository > Create .env File: Add GitHub credentials
Create .env File > Run Script: python backup_repos.pyRun Script > Fetch Repositories: Use GitHub API
Fetch Repositories > Clone Repositories: Into repos folder
Clone Repositories > Create Zip Archive: repositories_backup.zip
Create Zip Archive > End [shape: oval, icon: check-circle]