Generative Helper in Rust | GHR | - A command line tool to help developers generate boilerplate code templates.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
Clone the repository.
git clone https://github.com/d1pankarmedhi/ghr.git
Build the project dependencies
cargo build
Make sure to set your openai key as environment variable
export OPENAI_API_KEY=<api-key>
Run project
cargo run
Generating Dockerfile template for a python fastapi server using ghr.
cargo run
You can run the main.py file or run the binary inside the target directory, produced after building the project.
Use cargo build --release
to build a smaller and optimized binary for release.
- OpenAI response processing
- File saving
- Error handling
- Support for code template
This project is licensed under the MIT License - see the LICENSE.md file for details