{"id":25171151,"url":"https://github.com/basemax/github-cloner","last_synced_at":"2026-04-15T15:41:32.910Z","repository":{"id":272114910,"uuid":"915075553","full_name":"BaseMax/github-cloner","owner":"BaseMax","description":"GitHub Cloner is a Ruby script to automate cloning all repositories from your GitHub account. It supports both public and private repositories, with a configurable clone path.","archived":false,"fork":false,"pushed_at":"2025-01-11T04:30:09.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-03T12:02:54.683Z","etag":null,"topics":["clone","git","git-clone","git-cloner","git-lfs","github","github-api","github-clone","github-clone-api"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BaseMax.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}},"created_at":"2025-01-10T22:59:48.000Z","updated_at":"2025-01-11T11:12:58.000Z","dependencies_parsed_at":"2025-01-12T09:10:46.069Z","dependency_job_id":null,"html_url":"https://github.com/BaseMax/github-cloner","commit_stats":null,"previous_names":["basemax/github-cloner"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BaseMax%2Fgithub-cloner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BaseMax%2Fgithub-cloner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BaseMax%2Fgithub-cloner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BaseMax%2Fgithub-cloner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BaseMax","download_url":"https://codeload.github.com/BaseMax/github-cloner/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247079110,"owners_count":20879997,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["clone","git","git-clone","git-cloner","git-lfs","github","github-api","github-clone","github-clone-api"],"created_at":"2025-02-09T09:19:24.984Z","updated_at":"2026-04-15T15:41:27.880Z","avatar_url":"https://github.com/BaseMax.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GitHub Cloner\n\n**GitHub Cloner** is a Ruby script to automate cloning all repositories from your GitHub account. It supports both public and private repositories, with a configurable clone path.\n\n## Features\n\n- Fetches all repositories (public and private) from your GitHub account.\n- Clones repositories into a specified directory.\n- Uses `.env` file for storing sensitive information like GitHub tokens.\n\n## Requirements\n\n- Ruby (\u003e= 2.5)\n- Git\n- `dotenv` gem for managing environment variables\n\n## Installation\n\n1. Clone this repository:\n\n   ```bash\n   git clone https://github.com/BaseMax/github-cloner.git\n   cd github-cloner\n   ```\n\n2. Install the required gem:\n\n    ```bash\n    gem install dotenv\n    ```\n\n3. Copy the `.env.example` file to `.env`:\n\n    ```bash\n    cp .env.example .env\n    ```\n\n4. Edit the `.env` file to include your GitHub personal access token and desired clone path:\n\n    ```\n    GITHUB_TOKEN=your-personal-access-token\n    CLONE_PATH=./../\n    ```\n\n    Replace your-personal-access-token with your GitHub token.\n\n    Set `CLONE_PATH` to your desired directory for cloning (default is `./`).\n\n    Note: To generate a personal access token, visit GitHub Token Settings.\n\n## Using\n\n```bash\nruby github_cloner.rb\n```\n\nThe script will:\n\n- Fetch all your repositories from GitHub.\n- Clone them into the directory specified by `CLONE_PATH`.\n\n### Example Output\n\n```\nFetching repositories...\nCloning repo1 into ./../...\nCloning repo2 into ./../...\nAll repositories cloned successfully!\n```\n\n### License\n\nThis project is licensed under the MIT License.\n\nCopyright 2025, Max Base","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbasemax%2Fgithub-cloner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbasemax%2Fgithub-cloner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbasemax%2Fgithub-cloner/lists"}