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.
- Host: GitHub
- URL: https://github.com/zahidkhawaja/gophy
- Owner: zahidkhawaja
- License: mit
- Created: 2022-10-19T23:12:50.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-02-07T04:11:57.000Z (over 3 years ago)
- Last Synced: 2025-04-26T17:47:30.981Z (about 1 year ago)
- Topics: go, golang, gpt-3, hacktoberfest, language-model, machine-learning, openai
- Language: Go
- Homepage:
- Size: 5.86 KB
- Stars: 21
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
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 🚀