https://github.com/xnth97/how
Copilot for your terminal, powered by Azure Cognitive Services
https://github.com/xnth97/how
azure-cognitive-services chatgpt cli copilot shell terminal
Last synced: about 2 months ago
JSON representation
Copilot for your terminal, powered by Azure Cognitive Services
- Host: GitHub
- URL: https://github.com/xnth97/how
- Owner: xnth97
- License: mit
- Created: 2023-03-28T02:28:31.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-05-23T05:48:20.000Z (about 2 years ago)
- Last Synced: 2025-01-23T17:35:23.597Z (over 1 year ago)
- Topics: azure-cognitive-services, chatgpt, cli, copilot, shell, terminal
- Language: Go
- Homepage:
- Size: 299 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# how
Copilot for your terminal, powered by Azure Cognitive Services

## Features
- Works as a copilot for your terminal, simply types `how ` to ask it anything.
- Powered by Azure Cognitive Services.
- Uses PowerShell under Windows and bash under *nix.
- Directly execute the command.
## Usage
1. Prerequisite: have `go` installed; have a valid Azure model deployment.
2. Clone this repo.
3. Open `main.go`, fill in your Azure credentials. You must have a valid Azure model deployment. Please see __Prerequisite__ section of [Azure documentation](https://learn.microsoft.com/en-us/azure/cognitive-services/openai/chatgpt-quickstart?tabs=command-line&pivots=rest-api).
4. Build with `go build .`, then copy the `how` binary to anywhere in `PATH` you like, e.g. `/usr/local/bin/`.
## License
`how` is available under MIT license. See the [LICENSE](LICENSE) file for more info.