{"id":50665726,"url":"https://github.com/saadjs/genie-cli","last_synced_at":"2026-06-08T06:05:06.109Z","repository":{"id":346082732,"uuid":"1188451769","full_name":"saadjs/genie-cli","owner":"saadjs","description":"You make a wish, genie grants a command ✨","archived":false,"fork":false,"pushed_at":"2026-04-09T04:00:08.000Z","size":25,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-09T05:34:13.416Z","etag":null,"topics":["claude","claude-code","cli","go"],"latest_commit_sha":null,"homepage":"","language":"Go","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/saadjs.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-03-22T04:59:19.000Z","updated_at":"2026-04-09T03:59:01.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/saadjs/genie-cli","commit_stats":null,"previous_names":["saadjs/genie-cli"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/saadjs/genie-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saadjs%2Fgenie-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saadjs%2Fgenie-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saadjs%2Fgenie-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saadjs%2Fgenie-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/saadjs","download_url":"https://codeload.github.com/saadjs/genie-cli/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saadjs%2Fgenie-cli/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34050247,"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-08T02:00:07.615Z","response_time":111,"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":["claude","claude-code","cli","go"],"created_at":"2026-06-08T06:04:40.669Z","updated_at":"2026-06-08T06:05:06.091Z","avatar_url":"https://github.com/saadjs.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🧞 genie\n\nTranslate plain English into shell commands.\n\n```bash\n$ genie\n🧞 What do you need? what's in the desktop folder?\n\n  $ ls ~/Desktop\n\n  Copied to clipboard!\n```\n\nGenie supports both Claude and Codex as non-interactive backends. Claude is the default provider.\n\n## Prerequisites\n\n- One supported provider CLI installed and logged in:\n- [Claude Code CLI](https://docs.anthropic.com/en/docs/claude-code) for the default `claude` provider\n- [OpenAI Codex CLI](https://developers.openai.com/codex/cli) for the optional `codex` provider\n\n## Install\n\nHomebrew is the recommended install method:\n\n### Homebrew\n\n```bash\nbrew install saadjs/tap/genie\n```\n\n## Usage\n\n```bash\n# Interactive mode (recommended — handles apostrophes and special chars)\ngenie\n\n# Inline mode\ngenie show me all files in this folder\ngenie \"what's in the desktop folder?\"\n\n# Auto-execute (asks for confirmation before running)\ngenie -r list all go files\n\n# Explain an existing command\ngenie --explain \"ls -la | grep .go\"\n\n# Show recent history\ngenie --history\n\n# Use Codex instead of Claude\ngenie --provider codex show me all files in this folder\n```\n\n## Flags\n\n| Flag              | Description                              |\n| ----------------- | ---------------------------------------- |\n| `--explain`       | Explain an existing shell command        |\n| `--history`       | Show the last 20 saved requests/commands |\n| `--provider`      | LLM provider: `claude` or `codex`        |\n| `-r`, `--run`     | Show the command, then ask to execute it |\n| `--model`         | Override the provider model              |\n| `-v`, `--version` | Print version                            |\n\n## Config\n\nOptional config file at `~/.genie.yaml`:\n\n```yaml\nprovider: claude # or codex (default: claude)\nmodel: haiku # default is haiku for claude, gpt-5.4-mini for codex\nauto_run: false # Execute the suggested command automatically (default: false)\nclipboard: true # Copy the suggested command to clipboard (default: true)\n```\n\n## Features\n\n- Translate plain English into shell commands\n- Explain existing shell commands with `--explain`\n- Show recent history with `--history`\n- Copy suggested commands to the clipboard by default\n- Warn before risky commands such as `sudo`, recursive `rm`, `mkfs`, and device writes\n- Optionally run the suggested command after confirmation\n\n## Build from source\n\n```bash\ngit clone https://github.com/saadjs/genie-cli.git\ncd genie-cli\nmake build\n./bin/genie\n```\n\n## Testing\n\n```bash\nmake test\n```\n\n## How it works\n\nGenie sends your plain English request to the selected provider CLI in non-interactive mode. Claude uses `claude -p`; Codex uses `codex exec`. The response is parsed and displayed as a shell command. Nothing is executed unless you use the `-r` flag and confirm.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaadjs%2Fgenie-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsaadjs%2Fgenie-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaadjs%2Fgenie-cli/lists"}