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

https://github.com/h3n4l/chatsh

Translate text to bash command in terminal and execute. 🚀
https://github.com/h3n4l/chatsh

ai bash chatgpt gpt-35-turbo rust terminal tool zsh

Last synced: about 1 year ago
JSON representation

Translate text to bash command in terminal and execute. 🚀

Awesome Lists containing this project

README

          

# chatsh
Translate text to bash command in terminal. 🚀

![demo-gif](/static/readme-demo.gif)

## Install

### For Homebrew (recommend) - Linux & macOS

```bash
brew tap h3n4l/chatsh
brew install chatsh
```

### For others

You can download the file from the [release](https://github.com/h3n4l/chatsh/releases) page.

## Usage

### Set the environment variable

You need to set the openai key in the environment variable named `OPENAI_KEY` first.

```bash
export OPENAI_KEY=YOUR_OPENAI_KEY
```

### Run chatsh anywhere

```bash
chatsh
```