Crates.io | askcommand |
lib.rs | askcommand |
version | 0.1.0 |
source | src |
created_at | 2023-12-13 03:42:11.730906 |
updated_at | 2023-12-13 03:42:11.730906 |
description | A command-line tool to generate Linux commands using OpenAI's GPT-4 |
homepage | |
repository | https://github.com/ryankopf/askcommand |
max_upload_size | |
id | 1067646 |
size | 48,836 |
This Rust application utilizes the async_openai
crate to interact with OpenAI's GPT-4 model. It generates Linux command line commands based on user inputs.
async_openai
cratecargo build
to compile the project.Install the application with a query to generate Linux commands:
git clone https://github.com/ryankopf/askcommand.git
cd askcommand
cargo build --release
sudo mv target/release/askcommand /usr/local/bin/ask
Contributions are welcome. Please open an issue first to discuss what you would like to change.
Distributed under the MIT License. See LICENSE
for more information.