{"id":19401275,"url":"https://github.com/mishamyrt/rakun","last_synced_at":"2026-07-20T19:32:17.278Z","repository":{"id":108579576,"uuid":"490203515","full_name":"mishamyrt/rakun","owner":"mishamyrt","description":"🦝 Remote repositories synchronizer","archived":false,"fork":false,"pushed_at":"2026-05-02T19:59:48.000Z","size":152,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-05-02T20:28:59.624Z","etag":null,"topics":["backup","github","gitlab","nas"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mishamyrt.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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":"2022-05-09T08:48:35.000Z","updated_at":"2026-05-02T19:59:51.000Z","dependencies_parsed_at":"2023-03-14T23:30:49.185Z","dependency_job_id":null,"html_url":"https://github.com/mishamyrt/rakun","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mishamyrt/rakun","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mishamyrt%2Frakun","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mishamyrt%2Frakun/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mishamyrt%2Frakun/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mishamyrt%2Frakun/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mishamyrt","download_url":"https://codeload.github.com/mishamyrt/rakun/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mishamyrt%2Frakun/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35698118,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-07-20T02:08:10.276Z","status":"ssl_error","status_checked_at":"2026-07-20T02:08:09.736Z","response_time":111,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["backup","github","gitlab","nas"],"created_at":"2024-11-10T11:17:46.128Z","updated_at":"2026-07-20T19:32:17.272Z","avatar_url":"https://github.com/mishamyrt.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n    \u003cimg width=\"100\"\n         alt=\"Logo\"\n         src=\"./assets/logo.svg\"\u003e\n\u003c/p\u003e\n\n\u003ch1 align=\"center\"\u003eRakun\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/mishamyrt/rakun/actions/workflows/qa.yml\"\u003e\n    \u003cimg src=\"https://github.com/mishamyrt/rakun/actions/workflows/qa.yml/badge.svg\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/mishamyrt/rakun/releases/latest\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/v/tag/mishamyrt/rakun?label=version\" /\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\nUtility that downloads repositories from different services to local storage.\nIt was developed because of concerns about blocking my GitHub account.\n\nThe first time you run the utility, it creates one `tar.gz` archive per repository. On subsequent runs it compares remote HEAD commits, updates only changed repositories, and keeps an index in `.rakun-index.json`.\n\n## Installation\n\n### Brew (macOS)\n\n```sh\nbrew install mishamyrt/tap/rakun\n```\n\n### From sources\n\n```sh\ngo install github.com/mishamyrt/rakun@latest\n```\n\n## Configuration\n\nThe utility loads configuration from a yaml file.\nThe default is to check `rakun.config.yaml` in the current directory.\n\nTo specify a custom configuration path, run the utility with the `-c` flag.\n\n```sh\nrakun -c my_config.yaml \n```\n\nUse `-o` or `--output` to choose where archives will be written. If omitted, Rakun writes into the current working directory.\n\n```sh\nrakun -c config.yaml -o ./backups\n```\n\nUse `-j` or `-jobs` to control parallel repository processing. The default is `runtime.NumCPU()`.\n\n```sh\nrakun -c config.yaml -j 8\n```\n\n### Structure\n\n```yaml\n- domain: github.com\n  type: github\n  token: !env $GITHUB_TOKEN\n  namespaces:\n    mishamyrt:\n      skip: # Ignore list\n        - X01BD-kernel\n        - X01BD-device\n    Paulownia-Group:\n  repos:\n    - ghostty-org/ghostty\n\n- domain: github.enterprise.local\n  type: github\n  token: ghp_your_enterprise_token\n  repos:\n    - platform/core\n\n- domain: gitlab.com\n  type: gitlab\n  token: !env $GITLAB_TOKEN\n  namespaces:\n    platform/core:\n      skip:\n        - archived-project\n        - platform/core/tools/cli\n  repos:\n    - platform/core/api\n```\n\nEach top-level item describes one source host. For `type: github`, `namespaces` discovers every repository visible to the token for a given user or organization, and `repos` uses `owner/repo`.\n\nFor `type: gitlab`, `namespaces` uses a GitLab group path such as `platform/core`, discovers projects in that group and its subgroups, and excludes shared projects. `repos` uses the full project path such as `platform/core/api` or `platform/core/tools/cli`.\n\n`token` may be either plain text or an environment reference:\n\n```sh\nexport GITHUB_TOKEN=your_github_access_token\nexport GITLAB_TOKEN=your_gitlab_access_token\nrakun -c config.yaml -o ./results\n```\n\nIf a group uses `namespaces`, `token` is required.\nIf a group uses only explicit `repos`, `token` is optional and public repositories can be synchronized without it.\n\nEach synchronized repository is stored as a full Git checkout inside an archive:\n\n```text\n\u003coutput\u003e/\u003chost\u003e/\u003cnamespace\u003e/\u003crepo\u003e.tar.gz\n```\n\n## License\n\nGPL-3.0\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmishamyrt%2Frakun","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmishamyrt%2Frakun","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmishamyrt%2Frakun/lists"}