{"id":17654895,"url":"https://github.com/mtth/gitfetcher","last_synced_at":"2026-05-08T03:13:35.503Z","repository":{"id":258773689,"uuid":"875327555","full_name":"mtth/gitfetcher","owner":"mtth","description":"Sync remote git repositories","archived":false,"fork":false,"pushed_at":"2024-10-21T01:47:25.000Z","size":33,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-10-21T23:10:13.066Z","etag":null,"topics":["git","golang"],"latest_commit_sha":null,"homepage":"","language":"Go","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/mtth.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":"2024-10-19T17:23:19.000Z","updated_at":"2024-10-21T01:47:06.000Z","dependencies_parsed_at":"2024-10-26T08:43:26.325Z","dependency_job_id":"c2f3d7ea-12ce-4f1d-b6e7-f4c0229c811b","html_url":"https://github.com/mtth/gitfetcher","commit_stats":null,"previous_names":["mtth/gitfetcher"],"tags_count":25,"template":false,"template_full_name":null,"purl":"pkg:github/mtth/gitfetcher","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mtth%2Fgitfetcher","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mtth%2Fgitfetcher/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mtth%2Fgitfetcher/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mtth%2Fgitfetcher/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mtth","download_url":"https://codeload.github.com/mtth/gitfetcher/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mtth%2Fgitfetcher/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32764836,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-08T02:36:36.067Z","status":"ssl_error","status_checked_at":"2026-05-08T02:36:07.210Z","response_time":54,"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":["git","golang"],"created_at":"2024-10-23T12:40:11.948Z","updated_at":"2026-05-08T03:13:35.474Z","avatar_url":"https://github.com/mtth.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Git fetcher [![codecov](https://codecov.io/gh/mtth/gitfetcher/graph/badge.svg?token=N1B8C8UMX0)](https://codecov.io/gh/mtth/gitfetcher)\n\n\u003e [!NOTE]\n\u003e WIP: this tool is usable but its API may change in breaking ways.\n\nA lightweight CLI to create local copies of remote repositories.\n\nHighlights:\n\n* Simple file-based configuration\n* `gitweb`-compatible local repositories\n* Automation-friendly, including secret handling\n\n\n## Quickstart\n\n\n```sh\ngo install github.com/mtth/gitfetcher\n```\n\nSample `.gitfetcher.conf` configuration ([`txtpb` format][txtpb]):\n\n```pbtxt\n  # Sync public repositories from their URL.\nsources {\n  from_url {\n    url: \"https://github.com/nodejs/node\"\n\n    # Optional override for the local path to the repository.\n    path: \"node\"\n  }\n}\n\n# Sync repositories available to a given GitHub authentication token. This is\n# useful for example to sync all your personal repos.\nsources {\n  from_github_token {\n    # A token with read access to repositories is required. It can either be\n    # specified inline or via an environment variable (prefixing it with `$`).\n    token: \"$GITHUB_TOKEN\"\n\n    # Forks are excluded by default and can be included using via this option.\n    # include_forks: true\n\n    # It's also possible to filter by repository name by specifying one or\n    # more filters, optionally including wildcards. A repository will be\n    # synced if it matches at least one.\n    # filters: \"user/*\"\n    # filters: \"user/prefix*\"\n  }\n}\n\n# More sources...\n\n# Optional settings.\noptions {\n  # Root folder where local repositories will be stored, relative to the\n  # configuration file. Defaults to the configuration's enclosing directory.\n  # root: \"/path/to/.gitfetcher.conf\"\n\n  # Layout used for repositories. The default is a standard repository with a\n  # work directory. It's possible to use bare repos instead with BARE_LAYOUT.\n  # layout: BARE_LAYOUT\n}\n```\n\nThen run `gitfetcher sync` in the folder containing the above configuration.\nSee `gitfetcher --help` for the full list of available commands and options.\n\n\n[txtpb]: https://protobuf.dev/reference/protobuf/textformat-spec/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmtth%2Fgitfetcher","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmtth%2Fgitfetcher","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmtth%2Fgitfetcher/lists"}