{"id":20157579,"url":"https://github.com/g4s8/gitstrap","last_synced_at":"2025-10-03T23:59:45.355Z","repository":{"id":37458253,"uuid":"164098671","full_name":"g4s8/gitstrap","owner":"g4s8","description":"CLI for managing GitHub resources","archived":false,"fork":false,"pushed_at":"2025-03-06T09:31:36.000Z","size":364,"stargazers_count":70,"open_issues_count":8,"forks_count":15,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-03-31T11:03:03.959Z","etag":null,"topics":["cli","git","github","webhooks"],"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/g4s8.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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},"funding":{"github":["g4s8","OrlovM"],"custom":["bitcoin:bc1qc878l49ga0mjkyur3h6355dsdfkjrn265t9qp7"]}},"created_at":"2019-01-04T11:21:48.000Z","updated_at":"2025-02-19T11:03:10.000Z","dependencies_parsed_at":"2024-05-06T10:49:04.271Z","dependency_job_id":"48cc8c4f-0c69-4512-a737-7296b4f56b1c","html_url":"https://github.com/g4s8/gitstrap","commit_stats":null,"previous_names":[],"tags_count":28,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/g4s8%2Fgitstrap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/g4s8%2Fgitstrap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/g4s8%2Fgitstrap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/g4s8%2Fgitstrap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/g4s8","download_url":"https://codeload.github.com/g4s8/gitstrap/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247648977,"owners_count":20972945,"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":["cli","git","github","webhooks"],"created_at":"2024-11-13T23:46:57.180Z","updated_at":"2025-10-03T23:59:40.304Z","avatar_url":"https://github.com/g4s8.png","language":"Go","readme":"# Gitstrap\n\n[![CI](https://github.com/g4s8/gitstrap/actions/workflows/go.yml/badge.svg)](https://github.com/g4s8/gitstrap/actions/workflows/go.yml)\n[![Hits-of-Code](https://hitsofcode.com/github/g4s8/gitstrap)](https://hitsofcode.com/view/github/g4s8/gitstrap)\n[![codebeat badge](https://codebeat.co/badges/89bbb569-fba9-4c68-9b21-e2520b59fbeb)](https://codebeat.co/projects/github-com-g4s8-gitstrap-master)\n\n[![GitHub release](https://img.shields.io/github/release/g4s8/gitstrap.svg?label=version)](https://github.com/g4s8/gitstrap/releases/latest)\n\nManage your GitHub repositories as a set of resouce configuration files!\n\nGitstrap automates routine operations with Github.\nIt can create and configure Github repositories, teams, readmes, organizations, etc\nfrom `yaml` specification files.\nIt helps to:\n * Create new repository on Github;\n * Manage repositories permissions;\n * Keep all organization repositories configuration in yaml files in one directory;\n * Configure webhooks for Github repo 5) configure branch protection rules;\n * Other repo management tasks;\n\n\nSee Wiki for [full documentation](https://github.com/g4s8/gitstrap/wiki/Specifications).\n\n# Demo\n\n[![asciicast](https://asciinema.org/a/504401.svg)](https://asciinema.org/a/504401)\n\n# Quickstart\n\n 1. Download `gitstrap` CLI (see [Install](#install) section)\n 2. Get configuration from any of your repositories or from this one: `gitstrap get --owner=g4s8 gitstrap \u003e repo.yaml`\n 3. Edit YAML config (see [Specification](https://github.com/g4s8/gitstrap/wiki/Specifications) reference)\n 4. Create or update you repository with `gitstrap apply -f repo.yaml`\n\n\n## Install\n\nFirst you need to install it.\n\nTo get binary for your platform use [download script](https://github.com/g4s8/gitstrap/blob/master/scripts/download.sh):\n```sh\ncurl -L https://raw.githubusercontent.com/g4s8/gitstrap/master/scripts/download.sh | sh\n```\n\nOn MacOS you can install it using `brew` tool:\n```sh\nbrew tap g4s8/.tap https://github.com/g4s8/.tap\nbrew install g4s8/.tap/gitstrap\n```\n\nAlternatively, you can build it using `go get github.com/g4s8/gitstrap`\n\n## Get GitHub token\n\nTo use `gitstrap` you need GitHub token.\nGo to settings (profile settings, developer settings, personal access token, generate new token):\nhttps://github.com/settings/tokens/new\nand select all `repo` checkboxes and `delete_repo` checkbox (in case you want gitstrap to be able to\ndelete repositories). You may use this token as CLI option (`gitstrap --token=ABCD123 apply`)\nor save it in `~/.config/gitstrap/github_token.txt` file.\n\n## Contributing\n\nSee [CONTRIBUTING.md](https://github.com/g4s8/gitstrap/blob/master/CONTRIBUTING.md) for details.\n","funding_links":["https://github.com/sponsors/g4s8","https://github.com/sponsors/OrlovM","bitcoin:bc1qc878l49ga0mjkyur3h6355dsdfkjrn265t9qp7"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fg4s8%2Fgitstrap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fg4s8%2Fgitstrap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fg4s8%2Fgitstrap/lists"}