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. 🚀
- Host: GitHub
- URL: https://github.com/h3n4l/chatsh
- Owner: h3n4l
- License: mit
- Created: 2023-06-02T16:38:45.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-07-20T14:44:23.000Z (almost 3 years ago)
- Last Synced: 2025-04-11T00:11:40.926Z (about 1 year ago)
- Topics: ai, bash, chatgpt, gpt-35-turbo, rust, terminal, tool, zsh
- Language: Rust
- Homepage:
- Size: 11.3 MB
- Stars: 11
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# chatsh
Translate text to bash command in terminal. 🚀

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