A sleek Rust application leveraging GTK for a user-friendly graphical interface, seamlessly integrating with the Ollama API to generate AI-powered responses.
- Intuitive GUI: Built with GTK for a smooth user experience.
- AI Integration: Harnesses the power of Ollama's language model for intelligent responses.
- Cross-Platform: Runs on various operating systems supporting Rust and GTK.
Ensure you have the following installed on your system:
- Rust (latest stable version)
- GTK3 (version 3.24 or higher)
- Ollama (make sure the Ollama service is running)
-
Clone the repository:
git clone https://github.com/AndresCdo/ollama-rs-gtk.git
-
Navigate to the project directory:
cd ollama-rs-gtk -
Build the application:
cargo build --release
-
Start the Ollama service (if not already running).
-
Launch the application:
cargo run --release
-
Enter your prompt in the text field and click "Send" to generate a response.
- To modify API endpoints or model parameters, edit the
config.tomlfile in the project root.
We welcome contributions! Please follow these steps:
- Fork the repository.
- Create a new branch:
git checkout -b feature-branch-name. - Make your changes and commit them:
git commit -m 'Add some feature'. - Push to the branch:
git push origin feature-branch-name. - Submit a pull request.
- If you encounter GTK-related errors, ensure your GTK installation is correct and up-to-date.
- For API issues, check your internet connection and verify that the Ollama service is running.
This project is licensed under the MIT License - see the LICENSE file for details.
- GTK-rs for Rust bindings to GTK
- Ollama for providing the AI model API
- All contributors who have helped shape this project
For support or queries, please open an issue on the GitHub repository or contact the maintainer at [your-email@example.com].