An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          

# how
Copilot for your terminal, powered by Azure Cognitive Services

![](./demo.png)

## 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.