{"id":25339766,"url":"https://github.com/jordangarrison/ghadmin","last_synced_at":"2026-05-10T02:03:18.152Z","repository":{"id":277111424,"uuid":"931356134","full_name":"jordangarrison/ghadmin","owner":"jordangarrison","description":"A powerful command-line tool for managing GitHub organizations, teams, and members efficiently.","archived":false,"fork":false,"pushed_at":"2025-07-08T14:25:40.000Z","size":30,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-08T15:35:34.691Z","etag":null,"topics":["admin","cli","deno","github","typescript"],"latest_commit_sha":null,"homepage":"https://github.com/jordangarrison/ghadmin","language":"TypeScript","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/jordangarrison.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,"zenodo":null}},"created_at":"2025-02-12T06:15:18.000Z","updated_at":"2025-02-13T16:31:43.000Z","dependencies_parsed_at":"2025-02-13T08:15:37.983Z","dependency_job_id":null,"html_url":"https://github.com/jordangarrison/ghadmin","commit_stats":null,"previous_names":["jordangarrison/ghadmin"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jordangarrison/ghadmin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jordangarrison%2Fghadmin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jordangarrison%2Fghadmin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jordangarrison%2Fghadmin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jordangarrison%2Fghadmin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jordangarrison","download_url":"https://codeload.github.com/jordangarrison/ghadmin/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jordangarrison%2Fghadmin/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264979791,"owners_count":23692497,"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":["admin","cli","deno","github","typescript"],"created_at":"2025-02-14T07:28:53.912Z","updated_at":"2026-05-10T02:03:18.069Z","avatar_url":"https://github.com/jordangarrison.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ghadmin - GitHub Administration CLI\n\nA powerful command-line tool for managing GitHub organizations, teams, and members efficiently.\n\n## Features\n\n- **Team Management**\n  - Create and delete teams\n  - List all teams in an organization\n  - Manage team settings and permissions\n\n- **Member Management**\n  - Add/remove members to teams\n  - Bulk add multiple users to teams\n  - Invite users to organization\n  - List team members\n  - List pending organization invitations\n\n## Installation\n\n### Quick Install (Recommended)\n\nRequirements:\n\n- [Devbox](https://www.jetify.com/docs/devbox/)\n- Git\n\n```bash\n# Clone the repository\ngit clone https://github.com/jordan.garrison/ghadmin.git\ncd ghadmin\n\n# Install using Devbox\ndevbox install\n```\n\nThis will:\n\n1. Compile the binary\n2. Install it globally as `ghadmin`\n3. Make it available in your PATH\n\n### Manual Installation\n\n#### Download Binary\n\n1. Visit the [Releases](https://github.com/jordan.garrison/ghadmin/releases) page\n2. Download the appropriate binary for your platform:\n   - Linux: `ghadmin-linux-x64` or `ghadmin-linux-arm64`\n   - macOS: `ghadmin-macos-x64` or `ghadmin-macos-arm64`\n   - Windows: `ghadmin-windows-x64.exe`\n3. Make the binary executable (Unix-based systems):\n\n   ```bash\n   chmod +x ghadmin-*\n   ```\n\n4. Move it to your PATH:\n\n   ```bash\n   # Example for Unix-based systems\n   sudo mv ghadmin-* /usr/local/bin/ghadmin\n   ```\n\n#### Build from Source\n\nRequirements:\n\n- [Devbox](https://www.jetify.com/docs/devbox/)\n- Git\n\n```bash\n# Clone the repository\ngit clone https://github.com/jordan.garrison/ghadmin.git\ncd ghadmin\n\n# Build using Devbox\ndevbox run compile\n\n# Optional: Install globally\ndevbox run install\n```\n\n## Configuration\n\nThe CLI requires a GitHub token with appropriate permissions. Set it using environment variables:\n\n```bash\nexport GITHUB_TOKEN=your_token_here\n```\n\n## Usage\n\n### Team Management\n\n```bash\n# List all teams in an organization\nghadmin teams list \u003corg\u003e\n\n# Create a new team\nghadmin teams create \u003corg\u003e \u003cteam-name\u003e -d \"Team description\"\n\n# Delete a team\nghadmin teams delete \u003corg\u003e \u003cteam-slug\u003e\n```\n\n### Member Management\n\n```bash\n# List team members\nghadmin teams members list \u003corg\u003e \u003cteam-slug\u003e\n\n# Add a single member to a team\nghadmin teams members add \u003corg\u003e \u003cteam-slug\u003e \u003cusername\u003e --role=member\n\n# Remove a member from a team\nghadmin teams members remove \u003corg\u003e \u003cteam-slug\u003e \u003cusername\u003e\n\n# Bulk add multiple members to a team\nghadmin teams members bulk-add \u003corg\u003e \u003cteam-slug\u003e \"user1,user2,user3\" --role=member\n\n# Invite a user to the organization\nghadmin teams members invite \u003corg\u003e \u003cusername\u003e --team-slugs=\"team1,team2\" --role=direct_member\n\n# List pending organization invitations\nghadmin teams members list-invites \u003corg\u003e\n```\n\n### Output Formats\n\nAll commands support different output formats using the `--format` flag:\n\n```bash\n# JSON output\nghadmin teams list \u003corg\u003e --format=json\n\n# YAML output\nghadmin teams list \u003corg\u003e --format=yaml\n\n# Table output (default)\nghadmin teams list \u003corg\u003e --format=table\n```\n\n## Development\n\n### Prerequisites\n\n- [Devbox](https://www.jetify.com/docs/devbox/)\n- Git\n\n### Setup\n\n```bash\n# Clone the repository\ngit clone https://github.com/jordan.garrison/ghadmin.git\ncd ghadmin\n\n# Enter Devbox shell\ndevbox shell\n```\n\n### Available Scripts\n\n```bash\n# Compile for current platform\ndevbox run compile\n\n# Compile for all platforms\ndevbox run compile:all\n\n# Run tests\ndevbox run test\n```\n\n### Platform-Specific Builds\n\n```bash\n# Linux (x64)\ndevbox run compile:linux:x64\n\n# Linux (ARM64)\ndevbox run compile:linux:arm64\n\n# macOS (Intel)\ndevbox run compile:macos:x64\n\n# macOS (Apple Silicon)\ndevbox run compile:macos:arm64\n\n# Windows\ndevbox run compile:windows:x64\n```\n\n## Contributing\n\n1. Fork the repository\n2. Create your feature branch (`git checkout -b feature/amazing-feature`)\n3. Commit your changes using conventional commits:\n\n   ```bash\n   feat: add new feature\n   fix: resolve bug\n   docs: update documentation\n   ```\n\n4. Push to the branch (`git push origin feature/amazing-feature`)\n5. Open a Pull Request\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjordangarrison%2Fghadmin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjordangarrison%2Fghadmin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjordangarrison%2Fghadmin/lists"}