{"id":26847724,"url":"https://github.com/freehuntx/how","last_synced_at":"2026-05-08T05:42:16.568Z","repository":{"id":284934030,"uuid":"956204744","full_name":"freehuntx/how","owner":"freehuntx","description":"Get quick answers in your terminal via copilot","archived":false,"fork":false,"pushed_at":"2025-03-28T12:24:26.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-28T13:30:38.454Z","etag":null,"topics":["ai","bash","copilot","terminal"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/freehuntx.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}},"created_at":"2025-03-27T21:41:55.000Z","updated_at":"2025-03-28T12:24:30.000Z","dependencies_parsed_at":"2025-03-28T13:30:47.702Z","dependency_job_id":"6e58a3bf-bf65-44ae-8fb0-f91df412f6f4","html_url":"https://github.com/freehuntx/how","commit_stats":null,"previous_names":["freehuntx/how"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freehuntx%2Fhow","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freehuntx%2Fhow/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freehuntx%2Fhow/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freehuntx%2Fhow/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/freehuntx","download_url":"https://codeload.github.com/freehuntx/how/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246374687,"owners_count":20766938,"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":["ai","bash","copilot","terminal"],"created_at":"2025-03-30T20:23:35.645Z","updated_at":"2026-05-08T05:42:11.523Z","avatar_url":"https://github.com/freehuntx.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# how\nA command-line tool that brings the power of GitHub Copilot to your terminal! Simply ask questions using the `how` command and get instant answers or executable commands.\n\n## Features\n- 🤖 Powered by GitHub Copilot\n- 💡 Get instant answers to general questions\n- 🔧 Receive executable shell commands for Linux/bash tasks\n- 📋 Copy commands to clipboard or execute them directly\n- 🔒 Secure GitHub authentication\n\n## Dependencies\n- [nodejs](https://nodejs.org/en/download)\n- [xsel](https://github.com/kfish/xsel)\n\n## Installation\n```\ncurl -o- https://raw.githubusercontent.com/freehuntx/how/refs/heads/master/install.sh | bash\n```\n\nThe script will:\n- Install the required scripts to `~/.local/bin`\n- Make the scripts executable\n- Add the installation directory to your PATH\n- Check for required dependencies\n\n## Usage\nSimply type `how` followed by your question:\n\n```bash\n# Get an answer to a general question\nhow what is docker\n\n# Get a shell command\nhow list all running processes\n\n# Get help with coding\nhow create a react component\n```\n\nWhen the tool provides a shell command, you can:\n- Press `e` to execute the command directly\n- Press `c` (or Enter) to copy the command to your clipboard\n\n## Authentication\nThe first time you run the tool, it will guide you through the GitHub authentication process:\n\n1. You'll be provided with a verification URL and code\n2. Visit the URL in your browser\n3. Enter the provided code\n4. The tool will automatically complete the authentication\n\nYour authentication token will be stored securely in `~/.config/copilot_token`.\n\n## Examples\n```bash\n$ how check disk space\nCommand: df -h\n[c]opy/[e]xecute [C]: e\n\nFilesystem      Size  Used Avail Use% Mounted on\n/dev/sda1       234G   89G  134G  40% /\n...\n\n$ how what is a symbolic link\nA symbolic link (also known as a symlink or soft link) is a special type of file that points to another file or directory. It's like a shortcut or reference to the original file.\n\n$ how create new user\nCommand: sudo useradd -m username\n[c]opy/[e]xecute [C]: c\nCopied!\n```\n\n## Contributing\nFeel free to submit issues and enhancement requests!\n\n## License\nThis project is licensed under the MIT License - see the LICENSE file for details.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffreehuntx%2Fhow","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffreehuntx%2Fhow","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffreehuntx%2Fhow/lists"}