{"id":37147036,"url":"https://github.com/vmware-archive/medusa","last_synced_at":"2026-01-14T17:13:45.118Z","repository":{"id":66819972,"uuid":"133691269","full_name":"vmware-archive/medusa","owner":"vmware-archive","description":"A simple CLI wrapper around the GitHub REST API, for working with GitHub organizations.  GO + ORG -\u003e GORGON -\u003e MEDUSA","archived":true,"fork":false,"pushed_at":"2022-03-24T15:08:41.000Z","size":12,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-12-19T00:04:20.631Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vmware-archive.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":"2018-05-16T16:01:31.000Z","updated_at":"2023-01-28T02:10:19.000Z","dependencies_parsed_at":"2023-07-08T10:01:25.429Z","dependency_job_id":null,"html_url":"https://github.com/vmware-archive/medusa","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/vmware-archive/medusa","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vmware-archive%2Fmedusa","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vmware-archive%2Fmedusa/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vmware-archive%2Fmedusa/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vmware-archive%2Fmedusa/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vmware-archive","download_url":"https://codeload.github.com/vmware-archive/medusa/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vmware-archive%2Fmedusa/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28427205,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T16:38:47.836Z","status":"ssl_error","status_checked_at":"2026-01-14T16:34:59.695Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":[],"created_at":"2026-01-14T17:13:44.314Z","updated_at":"2026-01-14T17:13:45.103Z","avatar_url":"https://github.com/vmware-archive.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# medusa\nThis project is a WIP!\n\n# Setting up your GitHub API key\n1. Log into GitHub.\n2. Click on the emoji dropdown in the upper right corner and choose \"Settings\"\n3. Click on the Developer Settings link at the bottom of the left hand nav bar.\n4. Click on Personal access tokens.\n5. Click on Generate new token.\n6. Enter a token description\n7. Check repo:status, repo_deployment and public_repo under repo, read:org under admin:org, read:user and user:email under user\n8. Copy the API key and store it somewhere safe, you will need to copy it to your clipboard when you run Medusa the first time.\n\nTODO:\nlist of V2 features\nmedusa invite \u003cuser_name\u003e\nmedusa remove \u003cuser_name\u003e\nwhat else???\n\nThe goal is to wrap, combine and enhance calls the to the GitHub org REST API:\n\ncurl -s -H \"Authorization: token API_KEY\" https://api.github.com/repos/carbonblack/automation-groovy/collaborators\n\ncurl -s -H \"Authorization: token API_KEY\" https://api.github.com/repos/carbonblack/automation-groovy\n\nfor repo in $(curl -s -H \"Authorization: token API_KEY\" 'https://api.github.com/orgs/carbonblack/repos?type=private\u0026per_page=100' | jq -r '.[].name');do curl -s -H \"Authorization: token API_KEY\" https://api.github.com/repos/carbonblack/${repo}/collaborators \u0026\u003e ${repo}.txt;done\n\nfor repo_file in *.txt;do repo=${repo_file%.txt};echo ${repo};cat ${repo_file} | jq -r '.[] | select(.permissions.admin == true) | .login';echo \"\";done \u003e repo_admins.out\n\nfor repo_file in *.txt;do repo=${repo_file%.txt};echo ${repo};cat ${repo_file} | jq -r '.[] | select(.permissions.admin == true) | .login';echo \"\";done \u003e repo_admins.out        \n\ncurl -s -H \"Authorization: token API_KEY\" 'https://api.github.com/orgs/carbonblack/members?type=private\u0026per_page=100\u0026page=1\u0026role=admin' | jq '.[]'\n\ncurl -s -H \"Authorization: token API_KEY\" 'https://api.github.com/orgs/carbonblack/members?type=private\u0026per_page=100\u0026role=admin' | jq '.[]'     \n\ncurl -s -H \"Authorization: token API_KEY\" https://api.github.com/orgs/carbonblack/members\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvmware-archive%2Fmedusa","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvmware-archive%2Fmedusa","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvmware-archive%2Fmedusa/lists"}