{"id":31642485,"url":"https://github.com/tameronline/repos_archive","last_synced_at":"2026-04-17T08:31:02.234Z","repository":{"id":296638901,"uuid":"994009320","full_name":"TamerOnLine/Repos_Archive","owner":"TamerOnLine","description":"Archive any GitHub user's repositories (public \u0026 private) by language with metadata JSON.","archived":false,"fork":false,"pushed_at":"2025-06-01T03:45:46.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-21T14:50:27.347Z","etag":null,"topics":["archive","cli","git-clone","github","metadata","pyinstaller","python"],"latest_commit_sha":null,"homepage":"https://tameronline.github.io/Repos_Archive/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TamerOnLine.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-06-01T01:58:35.000Z","updated_at":"2025-06-01T03:45:49.000Z","dependencies_parsed_at":"2025-06-01T12:40:49.667Z","dependency_job_id":"b9847cfa-4da4-4e80-8532-ba030b154ed5","html_url":"https://github.com/TamerOnLine/Repos_Archive","commit_stats":null,"previous_names":["tameronline/repos_archive"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/TamerOnLine/Repos_Archive","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TamerOnLine%2FRepos_Archive","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TamerOnLine%2FRepos_Archive/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TamerOnLine%2FRepos_Archive/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TamerOnLine%2FRepos_Archive/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TamerOnLine","download_url":"https://codeload.github.com/TamerOnLine/Repos_Archive/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TamerOnLine%2FRepos_Archive/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31921731,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-16T18:22:33.417Z","status":"online","status_checked_at":"2026-04-17T02:00:06.879Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["archive","cli","git-clone","github","metadata","pyinstaller","python"],"created_at":"2025-10-07T03:59:39.158Z","updated_at":"2026-04-17T08:31:02.216Z","avatar_url":"https://github.com/TamerOnLine.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Repos_Archive\n\n📦 A simple yet powerful Python script to archive GitHub repositories (public and private), with automatic organization by programming language and metadata generation via `info.json`.\n\n---\n\n## 🚀 Features\n\n- Fetches all **public repositories** for a given GitHub user.\n- Optionally fetches **private repositories** using a GitHub Token.\n- Clones each repository into a structured folder based on its primary language.\n- Generates an `info.json` file with metadata for each project (name, description, language, creation date, etc.).\n\n---\n\n## 🧰 Requirements\n\n- Python 3.7+\n- Git installed on your system\n- `requests` Python package (`pip install requests`)\n\n---\n\n## ⚙️ Usage\n\n### 🔹 1. Clone the script\n\n```bash\ngit clone https://github.com/TamerOnLine/Repos_Archive.git\ncd Repos_Archive\n```\n\n### 🔹 2. Run the script\n\n#### ✅ Archive public repositories only:\n```bash\npython myarchive.py \u003cgithub-username\u003e\n```\n\n#### 🔐 Archive public + private repositories:\n```bash\npython myarchive.py \u003cgithub-username\u003e --token ghp_XXXXXXX\n```\n\n\u003e 🔒 Ensure the token has the following scopes: `repo`, `read:org` (if needed).\n\n---\n\n## 🗂️ Output Directory Structure\n\n```\nRepos_Archive/\n├── Python/\n│   └── flask-shop/\n│       ├── .git/\n│       └── info.json\n├── JavaScript/\n│   └── react-app/\n...\n```\n\n---\n\n## 📦 Output Per Project\n\nEach archived repository will include:\n\n- A full clone of the repository\n- An `info.json` file like this:\n\n```json\n{\n  \"name\": \"project-name\",\n  \"description\": \"short description\",\n  \"language\": \"Python\",\n  \"created_at\": \"2023-01-01T00:00:00Z\",\n  \"archived_at\": \"2025-06-01\",\n  \"github\": \"https://github.com/username/project-name\"\n}\n```\n\n---\n\n## 📄 License\n\nApache License 2.0 — see [LICENSE](LICENSE) for full details.\n\n---\n\n## ✨ Future Enhancements (optional)\n\n- Auto-zip each archived repo\n- Export metadata to CSV/Excel\n- Build a GUI to browse the archive visually\n\n---\n\n## 🙋‍♂️ Contributions\n\nContributions are welcome! Feel free to fork and submit a pull request.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftameronline%2Frepos_archive","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftameronline%2Frepos_archive","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftameronline%2Frepos_archive/lists"}