{"id":51294284,"url":"https://github.com/schappim/homebrew-goimage","last_synced_at":"2026-06-30T13:01:34.532Z","repository":{"id":360675324,"uuid":"1251198173","full_name":"schappim/homebrew-goimage","owner":"schappim","description":"Homebrew tap for goimage - CLI for image generation via OpenAI, Google nano banana, or xAI Grok","archived":false,"fork":false,"pushed_at":"2026-05-27T10:58:49.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-05-27T12:24:02.223Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/schappim.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2026-05-27T10:41:12.000Z","updated_at":"2026-05-27T10:58:52.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/schappim/homebrew-goimage","commit_stats":null,"previous_names":["schappim/homebrew-goimage"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/schappim/homebrew-goimage","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schappim%2Fhomebrew-goimage","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schappim%2Fhomebrew-goimage/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schappim%2Fhomebrew-goimage/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schappim%2Fhomebrew-goimage/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/schappim","download_url":"https://codeload.github.com/schappim/homebrew-goimage/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schappim%2Fhomebrew-goimage/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34967628,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-30T02:00:05.919Z","response_time":92,"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":[],"created_at":"2026-06-30T13:01:30.246Z","updated_at":"2026-06-30T13:01:34.522Z","avatar_url":"https://github.com/schappim.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Homebrew Tap for goimage\n\nThis is the official Homebrew tap for [goimage](https://github.com/schappim/goimage) - a Go CLI for image generation using OpenAI (GPT Image), Google Gemini 2.5 Flash Image (nano banana), or xAI Grok image APIs.\n\n## Installation\n\n```bash\n# Add the tap\nbrew tap schappim/goimage\n\n# Install goimage\nbrew install goimage\n\n# Upgrade to latest version\nbrew upgrade goimage\n```\n\n## Quick Start\n\n```bash\n# Set your API key(s)\nexport OPENAI_API_KEY=\"your-openai-api-key\"\nexport GEMINI_API_KEY=\"your-google-ai-studio-key\"  # optional\nexport XAI_API_KEY=\"your-xai-api-key\"              # optional\n\n# Generate from a prompt (uses OpenAI by default)\ngoimage \"a watercolor of a fox in autumn leaves\"\n\n# Pipe a prompt from another command\necho \"a logo for goimage\" | goimage -o logo.png\n```\n\n## Providers\n\ngoimage supports three image-generation providers:\n\n### OpenAI (default)\n\n```bash\ngoimage \"a hand-drawn map of a fantasy island\"        # defaults to gpt-image-2\ngoimage -m gpt-image-1 \"fallback when your key isn't org-verified\"\ngoimage -s 1536x1024 -q high \"wide landscape banner\"\ngoimage -i original.png \"make it watercolor\"          # image-to-image edit\ngoimage -i room.png --mask area.png \"put a sofa here\" # inpaint with a mask\n```\n\n### Google (nano banana)\n\n```bash\ngoimage -p google \"a cyberpunk teacup on a marble counter\"\ngoimage -p google --aspect 16:9 \"a cinematic shot of a misty pine forest\"\ngoimage -p google --aspect 9:16 \"a portrait of a desert sunset\"\n```\n\n### Grok (xAI)\n\n```bash\ngoimage -p grok \"a Saturday-morning cartoon hedgehog as a barista\"\ngoimage -p grok -n 4 -o variants.png \"logo for a Go CLI\"\n```\n\n## Usage\n\n```bash\n# Save to a specific path\ngoimage -o fox.png \"a watercolor fox\"\n\n# Open the result after saving\ngoimage --open \"a desk setup with mechanical keyboard and ferns\"\n\n# Generate multiple variations\ngoimage -n 3 -o cat.png \"a cat in a hat\"   # cat-1.png, cat-2.png, cat-3.png\n\n# Choose a model\ngoimage -m gpt-image-1-mini \"quick robot thumbnail\"\n\n# Choose an output format (OpenAI)\ngoimage --format webp \"modern WebP output\"\n\n# Pipe an LLM prompt\nllm \"describe a poster for a sci-fi novel about whales in space\" \\\n  | goimage -p google --aspect 9:16 --open\n```\n\n## Options\n\n| Option        | Short | Description                                       | Default     |\n|---------------|-------|---------------------------------------------------|-------------|\n| `--provider`  | `-p`  | Provider (`openai`, `google`, `grok`)             | `openai`    |\n| `--model`     | `-m`  | Model to use                                      | Provider-specific |\n| `--output`    | `-o`  | Save to this path                                 | Auto-named  |\n| `--size`      | `-s`  | Image size (OpenAI)                               | `1024x1024` |\n| `--quality`   | `-q`  | `low` / `medium` / `high` / `auto` (OpenAI)       | `auto`      |\n| `--format`    |       | `png` / `jpeg` / `webp` (OpenAI)                  | `png`       |\n| `--aspect`    |       | Aspect ratio (Google)                             | `1:1`       |\n| `--count`     | `-n`  | Number of images                                  | `1`         |\n| `--input`     | `-i`  | Reference image (repeatable) for image-to-image   | -           |\n| `--mask`      |       | Mask image (OpenAI inpainting)                    | -           |\n| `--open`      |       | Open the saved image                              | `false`     |\n| `--token`     |       | API key                                           | From env    |\n\n## Scripting Examples\n\n```bash\n# Generate from a file of prompts\nwhile IFS= read -r line; do\n  goimage -o \"prompt-$RANDOM.png\" \"$line\"\ndone \u003c prompts.txt\n\n# Compare providers side-by-side\nprompt=\"a single matte black coffee cup on white\"\ngoimage -p openai -o openai.png \"$prompt\"\ngoimage -p google -o google.png \"$prompt\"\ngoimage -p grok   -o grok.png   \"$prompt\"\n```\n\n## Documentation\n\nFor full documentation and more examples, see the [goimage README](https://github.com/schappim/goimage).\n\n## License\n\nMIT License\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fschappim%2Fhomebrew-goimage","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fschappim%2Fhomebrew-goimage","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fschappim%2Fhomebrew-goimage/lists"}