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

https://github.com/zahidkhawaja/gophy

AI-powered CLI tool to help you remember bash commands. Ported to Go.
https://github.com/zahidkhawaja/gophy

go golang gpt-3 hacktoberfest language-model machine-learning openai

Last synced: 12 months ago
JSON representation

AI-powered CLI tool to help you remember bash commands. Ported to Go.

Awesome Lists containing this project

README

          

# Gophy: GPT-3 Powered CLI Tool

A port of the popular [Rusty](https://github.com/zahidkhawaja/rusty) CLI tool to Go.

Convert natural language into executable commands directly from the terminal!

Open source CLI tool powered by [OpenAI](https://openai.com/) (bring your own key).

https://user-images.githubusercontent.com/21132214/196826911-38d9211c-62c6-4510-9e8c-ab2803909330.mov

## Installation

1. Clone this repo.

2. Build the [Go](https://go.dev/) program.

```bash
go build
```

3. Add the binary `gophy` to your path.

## OpenAI API key

Create an environment variable `OPENAI_KEY` with your API key from [OpenAI](https://openai.com/api/).

## Usage

```bash
gophy
```

## Go Docs

- [Learn Go](https://go.dev/doc/) - learn about the Go programming language.

## 🧠 OpenAI Docs

- [OpenAI API](https://beta.openai.com/docs/introduction) from the creators of GPT-3.

## Follow [Zahid](https://twitter.com/chillzaza_) for updates 🚀