{"id":32846905,"url":"https://github.com/doganarif/apimug","last_synced_at":"2025-11-13T13:00:57.528Z","repository":{"id":322911907,"uuid":"1091401065","full_name":"doganarif/ApiMug","owner":"doganarif","description":"Terminal-based API client for exploring and testing OpenAPI/Swagger specifications with an interactive TUI","archived":false,"fork":false,"pushed_at":"2025-11-07T01:14:36.000Z","size":31,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-11-07T03:15:00.237Z","etag":null,"topics":["api","cli","go","golang","openapi","swagger","tui"],"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/doganarif.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-11-07T01:00:10.000Z","updated_at":"2025-11-07T03:07:55.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/doganarif/ApiMug","commit_stats":null,"previous_names":["doganarif/apimug"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/doganarif/ApiMug","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doganarif%2FApiMug","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doganarif%2FApiMug/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doganarif%2FApiMug/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doganarif%2FApiMug/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/doganarif","download_url":"https://codeload.github.com/doganarif/ApiMug/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doganarif%2FApiMug/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":283320032,"owners_count":26816393,"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","status":"online","status_checked_at":"2025-11-08T02:00:06.281Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["api","cli","go","golang","openapi","swagger","tui"],"created_at":"2025-11-08T08:01:04.848Z","updated_at":"2025-11-10T10:01:53.659Z","avatar_url":"https://github.com/doganarif.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ApiMug\n\nA terminal-based API client for OpenAPI/Swagger specifications with an interactive TUI interface.\n\n\n\u003cimg width=\"2056\" height=\"1110\" alt=\"image\" src=\"https://github.com/user-attachments/assets/b80bdfe6-e0ff-4b42-a785-5656a7b23775\" /\u003e\n\n\n## Features\n\n- Browse and explore OpenAPI 3.0 and Swagger 2.0 specifications\n- Interactive TUI powered by Bubbletea\n- Send HTTP requests directly from the terminal\n- Multiple authentication methods (Bearer, API Key, Basic, OAuth2)\n- Built-in Swagger UI server\n- Live configuration of base URL and server port\n- Support for both JSON and YAML formats\n- Automatic Swagger 2.0 to OpenAPI 3.0 conversion\n\n## Installation\n\n### Homebrew\n\n```bash\nbrew tap doganarif/apimug\nbrew install apimug\n```\n\n### Go Install\n\n```bash\ngo install github.com/doganarif/apimug/cmd/apimug@latest\n```\n\n### From Source\n\n```bash\ngit clone https://github.com/doganarif/apimug.git\ncd apimug\ngo build -o apimug ./cmd/apimug\n```\n\n## Usage\n\n### Basic Usage\n\n```bash\napimug spec.yaml\n```\n\n### With Options\n\n```bash\n# Specify custom base URL\napimug spec.yaml --base-url https://api.example.com\n\n# Specify custom Swagger UI port\napimug spec.yaml --port 3000\n\n# Load from URL\napimug https://petstore.swagger.io/v2/swagger.json\n```\n\n### Keyboard Shortcuts\n\n**Main List View**\n- `↑/↓` or `j/k` - Navigate endpoints\n- `Enter` - View endpoint details\n- `s` - Configure authentication\n- `c` - Open settings\n- `q` - Quit\n\n**Endpoint Details**\n- `Enter` - Send request\n- `Esc` - Back to list\n- `q` - Quit\n\n**Request Form**\n- `Tab` - Navigate between fields\n- `Ctrl+S` - Send request\n- `Esc` - Back to details\n\n**Response View**\n- `Esc` - Back to request form\n- `q` - Quit\n\n**Settings**\n- `Tab` - Navigate between fields\n- `Ctrl+S` - Save settings\n- `Esc` - Cancel\n\n**Authentication**\n- `↑/↓` - Select auth scheme\n- `Tab` - Navigate between fields\n- `Ctrl+S` - Save configuration\n- `Esc` - Cancel\n\n## Authentication\n\nApiMug supports multiple authentication methods:\n\n- **None** - No authentication\n- **Bearer Token** - JWT or other bearer tokens\n- **API Key** - Header, query, or cookie-based API keys\n- **Basic Auth** - Username and password\n- **OAuth2** - OAuth2 bearer tokens\n\nConfigure authentication by pressing `s` from the main view.\n\n## Settings\n\nPress `c` from the main view to configure:\n\n- **Base URL** - API endpoint base URL\n- **Swagger UI Port** - Port for the built-in Swagger UI server\n\nSettings can be changed at runtime without restarting the application.\n\n## Examples\n\nThe repository includes example specifications:\n\n- `example.yaml` - OpenAPI 3.0 Pet Store API\n- `swagger-example.yaml` - Swagger 2.0 Pet Store API\n\nTry them out:\n\n```bash\napimug example.yaml\napimug swagger-example.yaml\n```\n\n## License\n\nMIT License - see [LICENSE](LICENSE) file for details.\n\n## Contributing\n\nContributions are welcome. Please feel free to submit a Pull Request.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdoganarif%2Fapimug","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdoganarif%2Fapimug","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdoganarif%2Fapimug/lists"}