{"id":13724190,"url":"https://github.com/netlify/git-gateway","last_synced_at":"2025-04-04T18:09:54.569Z","repository":{"id":24665227,"uuid":"101957187","full_name":"netlify/git-gateway","owner":"netlify","description":"A Gateway to Git APIs","archived":false,"fork":false,"pushed_at":"2024-05-14T09:31:00.000Z","size":5886,"stargazers_count":412,"open_issues_count":33,"forks_count":90,"subscribers_count":42,"default_branch":"master","last_synced_at":"2025-03-28T17:11:23.918Z","etag":null,"topics":["managed-services","platform","production"],"latest_commit_sha":null,"homepage":null,"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/netlify.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-08-31T03:54:52.000Z","updated_at":"2025-03-19T09:19:53.000Z","dependencies_parsed_at":"2023-02-16T10:16:11.024Z","dependency_job_id":"8f2b9423-1f2d-4658-b6c3-2aff3ee58455","html_url":"https://github.com/netlify/git-gateway","commit_stats":null,"previous_names":[],"tags_count":23,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netlify%2Fgit-gateway","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netlify%2Fgit-gateway/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netlify%2Fgit-gateway/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netlify%2Fgit-gateway/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/netlify","download_url":"https://codeload.github.com/netlify/git-gateway/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247226215,"owners_count":20904465,"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":["managed-services","platform","production"],"created_at":"2024-08-03T01:01:51.739Z","updated_at":"2025-04-04T18:09:54.551Z","avatar_url":"https://github.com/netlify.png","language":"Go","readme":"# git-gateway - Gateway to hosted git APIs\n\n**Secure role based access to the APIs of common Git Hosting providers.**\n\nWhen building sites with a JAMstack approach, a common pattern is to store all content as structured data in a Git repository instead of relying on an external database.\n\nNetlify CMS is an open-source content management UI that allows content editors to work with your content in Git through a familiar content editing interface. This allows people to write and edit content without having to write code or know anything about Git, markdown, YAML, JSON, etc.\n\nHowever, for most use cases you won’t want to require all content editors to have an account with full access to the source code repository for your website.\n\nNetlify’s Git Gateway lets you set up a gateway to your choice of Git provider's API (currently available with both GitHub and GitLab 🎉 ) that lets tools like Netlify CMS work with content, branches and pull requests on your users’ behalf.\n\nThe Git Gateway works with any identity service that can issue JWTs and only allows access when a JSON Web Token with sufficient permissions is present.\n\nTo configure the gateway, see our `example.env` file\n\nThe Gateway limits access to the following sub endpoints of the repository:\n\nfor GitHub:\n```\n   /repos/:owner/:name/git/\n   /repos/:owner/:name/contents/\n   /repos/:owner/:name/pulls/\n   /repos/:owner/:name/branches/\n   /repos/:owner/:name/merges/\n   /repos/:owner/:name/statuses/\n   /repos/:owner/:name/compare/\n   /repos/:owner/:name/commits/\n   /repos/:owner/:name/issues/\u003cnumber\u003e/labels\n```\nfor GitLab:\n```\n   /projects/:owner/:name/merge_requests/\n   /projects/:owner/:name/repository/files/\n   /projects/:owner/:name/repository/commits/\n   /projects/:owner/:name/repository/tree/\n   /projects/:owner/:name/repository/compare/\n   /projects/:owner/:name/repository/branches/\n```\n","funding_links":[],"categories":["Go","others","Git Gateway"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnetlify%2Fgit-gateway","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnetlify%2Fgit-gateway","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnetlify%2Fgit-gateway/lists"}