{"id":45185530,"url":"https://github.com/techquestsdev/howto","last_synced_at":"2026-02-20T10:31:39.779Z","repository":{"id":336235110,"uuid":"1148818129","full_name":"techquestsdev/howto","owner":"techquestsdev","description":"AI-powered CLI that turns natural language into suggested shell commands (OpenAI, Claude, Gemini, DeepSeek, Copilot).","archived":false,"fork":false,"pushed_at":"2026-02-03T12:22:26.000Z","size":56,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-02-04T02:29:37.367Z","etag":null,"topics":["ai","anthropic","cli","developer-tools","github-copilot","go","google-gemini","natural-language","openai","productivity","shell","terminal"],"latest_commit_sha":null,"homepage":"https://TechQuests.dev/projects/howto","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/techquestsdev.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":"2026-02-03T12:01:08.000Z","updated_at":"2026-02-03T12:21:25.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/techquestsdev/howto","commit_stats":null,"previous_names":["techquestsdev/howto"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/techquestsdev/howto","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techquestsdev%2Fhowto","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techquestsdev%2Fhowto/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techquestsdev%2Fhowto/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techquestsdev%2Fhowto/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/techquestsdev","download_url":"https://codeload.github.com/techquestsdev/howto/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techquestsdev%2Fhowto/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29647894,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-20T09:27:29.698Z","status":"ssl_error","status_checked_at":"2026-02-20T09:26:12.373Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["ai","anthropic","cli","developer-tools","github-copilot","go","google-gemini","natural-language","openai","productivity","shell","terminal"],"created_at":"2026-02-20T10:31:39.720Z","updated_at":"2026-02-20T10:31:39.774Z","avatar_url":"https://github.com/techquestsdev.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Howto\n\nAI-powered command-line assistant that suggests shell commands from natural language queries.\n\n[![CI](https://github.com/techquestsdev/howto/actions/workflows/ci.yml/badge.svg)](https://github.com/techquestsdev/howto/actions/workflows/ci.yml)\n[![Go Version](https://img.shields.io/github/go-mod/go-version/techquestsdev/howto?style=flat-square\u0026logo=go\u0026logoColor=white)](https://github.com/techquestsdev/howto/blob/main/go.mod)\n[![Go Report Card](https://goreportcard.com/badge/github.com/techquestsdev/howto)](https://goreportcard.com/report/github.com/techquestsdev/howto)\n[![codecov](https://img.shields.io/codecov/c/github/techquestsdev/howto?style=flat-square)](https://codecov.io/gh/techquestsdev/howto)\n[![Release](https://img.shields.io/github/v/release/techquestsdev/howto?style=flat-square\u0026include_prereleases)](https://github.com/techquestsdev/howto/releases)\n[![License](https://img.shields.io/github/license/techquestsdev/howto?style=flat-square)](https://github.com/techquestsdev/howto/blob/main/LICENSE)\n\n## Features\n\n- **Multiple AI Providers**: OpenAI, Anthropic (Claude), Google Gemini, DeepSeek, and GitHub Copilot\n- **Terminal Integration**: Commands are inserted directly into your terminal for review before execution\n- **Cross-Platform**: Works on macOS, Linux, and Windows\n- **Auto-Detection**: Automatically detects available providers from environment variables\n- **Model Override**: Use any model your provider supports\n\n## Installation\n\n### Homebrew (macOS/Linux)\n\n```bash\nbrew install techquestsdev/tap/howto\n```\n\n### Go Install\n\n```bash\ngo install github.com/techquestsdev/howto@latest\n```\n\n### From Source\n\n```bash\ngit clone https://github.com/techquestsdev/howto.git\ncd howto\nmake build\n```\n\n## Configuration\n\nSet an API key for your preferred provider:\n\n```bash\n# OpenAI\nexport OPENAI_API_KEY=sk-...\n\n# Anthropic (Claude)\nexport ANTHROPIC_API_KEY=sk-ant-...\n\n# Google Gemini\nexport GEMINI_API_KEY=...\n\n# DeepSeek\nexport DEEPSEEK_API_KEY=...\n\n# GitHub Copilot (uses gh CLI, no env var needed)\n# See \"GitHub Copilot Setup\" section below\n```\n\n## Usage\n\n### Basic Usage\n\n```bash\nhowto \"find all .go files modified in the last 7 days\"\n# Output: find . -name \"*.go\" -mtime -7\n\nhowto \"compress directory foo to tar.gz\"\n# Output: tar -czvf foo.tar.gz foo\n\nhowto \"show disk usage sorted by size\"\n# Output: du -sh * | sort -hr\n```\n\n### Options\n\n```bash\n# Dry run (print command without inserting into terminal)\nhowto -d \"list docker containers\"\n\n# Use a specific model\nhowto -m gpt-4-turbo \"count lines of code\"\n\n# Force a specific provider\nhowto -p Anthropic \"show memory usage\"\n```\n\n### List Available Providers\n\n```bash\nhowto providers\n```\n\nOutput:\n```\n=== Available Providers ===\n\nProvider        Status          Default Model             Env Variable\n--------        ------          -------------             ------------\nOpenAI          Ready           gpt-4o                    OPENAI_API_KEY\nAnthropic       Not configured  claude-sonnet-4-20250514  ANTHROPIC_API_KEY\nGemini          Ready           gemini-2.0-flash          GEMINI_API_KEY\nDeepSeek        Not configured  deepseek-chat             DEEPSEEK_API_KEY\nGitHub Copilot  Ready           gpt-4                     gh copilot (CLI)\n```\n\n## Environment Variables\n\n| Variable | Description |\n|----------|-------------|\n| `OPENAI_API_KEY` | OpenAI API key |\n| `ANTHROPIC_API_KEY` | Anthropic API key |\n| `GEMINI_API_KEY` | Google Gemini API key |\n| `DEEPSEEK_API_KEY` | DeepSeek API key |\n| `HOWTO_MODEL` | Override default model for auto-detected provider |\n| `HOWTO_PROVIDER` | Force a specific provider |\n\n## GitHub Copilot Setup\n\nGitHub Copilot integration uses the official GitHub CLI extension (no API key needed):\n\n```bash\n# 1. Install GitHub CLI (if not already installed)\nbrew install gh  # macOS\n# or see https://cli.github.com/ for other platforms\n\n# 2. Install the Copilot extension\ngh extension install github/gh-copilot\n\n# 3. Authenticate with GitHub\ngh auth login\n\n# 4. Verify it works\ngh copilot suggest \"list files\"\n```\n\n\u003e **Note**: Requires an active GitHub Copilot subscription.\n\n## How It Works\n\n1. You provide a natural language description of what you want to do\n2. Howto sends your query to the configured AI provider\n3. The AI returns a shell command appropriate for your OS\n4. The command is inserted into your terminal's input buffer\n5. You can review and edit before pressing Enter to execute\n\n\u003e **Note**: On Windows, commands are printed to stdout instead of being injected into the terminal.\n\n## Provider Priority\n\nWhen multiple providers are configured, howto uses them in this order:\n1. OpenAI\n2. Anthropic\n3. Gemini\n4. DeepSeek\n5. GitHub Copilot\n\nUse the `--provider` flag to override the automatic selection.\n\n## Development\n\n```bash\n# Run tests\nmake test\n\n# Run linter\nmake lint\n\n# Build binary\nmake build\n\n# Run all checks\nmake check\n```\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n## Credits\n\nInspired by the original [howto](https://github.com/antonmedv/howto) by Anton Medvedev.\n\n---\n\n### Made with ❤️ and Go\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechquestsdev%2Fhowto","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftechquestsdev%2Fhowto","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechquestsdev%2Fhowto/lists"}