rsii

Crates.iorsii
lib.rsrsii
version0.1.0
created_at2025-01-22 16:45:17.935586+00
updated_at2025-01-22 16:45:17.935586+00
descriptionRSII - Rust AI Command-line Assistant
homepagehttps://github.com/ioma8/rsii
repositoryhttps://github.com/ioma8/rsii
max_upload_size
id1526837
size62,901
Jakub Kolcar (ioma8)

documentation

https://github.com/ioma8/rsii

README

🌟🚀 Rust Smart Interactive Interface (RSII)

Ever wanted your terminal to be smarter? RSII uses Rust and OpenAI to turn your queries into system commands. It's like having a clever assistant in your command line.

Features

  • Fetches system information and user queries.
  • Integrates with OpenAI's Chat Completion API.
  • Executes commands based on AI responses.
  • Copies commands to clipboard for easy execution.
  • Supports macOS, Linux, and Windows for command execution.

Installation

  1. Ensure Rust is installed on your system. You can download and install Rust from rust-lang.org.

  2. Install the RSII package using Cargo:

    cargo install rsii
    
  3. Edit a configuration file at ~/.rsii/config.toml:

    [default]
    model = "your-model" # gpt-4o-mini
    api-key = "your-api-key" # sk-....
    

Usage

Run the application with a user query:

rsii "Your query here"

The application will fetch system information, process the query using OpenAI's API, and execute the corresponding command.

License

This project is licensed under the MIT License.

Commit count: 20

cargo fmt