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

https://github.com/zahidkhawaja/rusty

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

gpt-3 hacktoberfest language-model machine-learning openai rust rust-lang

Last synced: 10 days ago
JSON representation

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

Awesome Lists containing this project

README

        

# Rusty: AI-Powered CLI Tool

Convert natural language into executable commands directly from the terminal!

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

Feeling rusty on your bash skills? This might help! Built using Rust 🦀

https://user-images.githubusercontent.com/21132214/193903587-1f6a51fe-b0d7-4f24-b95b-4bbd0e718ef2.mov

## Installation

1. Clone this repo.

2. Build the [Rust](https://www.rust-lang.org/tools/install) program.

```bash
cargo build --release
```

3. Add the binary `rusty` to your path. It's located in the `rusty/target/release` directory.

## OpenAI API key

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

## Usage

```bash
rusty
```

## Contributing

If you would like to contribute to Rusty, you can find more information in [CONTRIBUTING.md](https://github.com/zahidkhawaja/rusty/blob/main/CONTRIBUTING.md).

## 🦀 Rust Docs

- [Learn Rust](https://www.rust-lang.org/learn) - learn about the Rust programming language.

## 🧠 OpenAI Docs

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

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