Code Generator is an application that allows you to automatically generate code by describing the functionality you want in natural language. The user can request, for example, "Create a sort function," and the program will generate code for that task by making API calls to OpenAI’s service.
- The user enters a prompt/description into the application.
- The program loads the OpenAI API key from the
.envfile. - An API call is made to the OpenAI service with the user's prompt.
- The service returns an LLM-generated code, which is displayed or saved for the user.
- Windows 10 or later.
- An OpenAI API Key (the user must obtain their own).
The installer for this program is built using Python's tkinter library, providing a simple graphical installation wizard for end users.
You do not need to have Python installed on your system to run the installer.
- Download the Installer
Download the installer in the releases section of this repository : https://github.com/MariosGramm/code-generator/releases Unzip the folder and place theinstaller.exeand thecode_generator.exein the same folder. - Double-click the
installer.exefile and follow the steps in the installation wizard. - During installation, you will be prompted to enter your OpenAI API key.
- If you do not have an API key yet, you can create one at: OpenAI API Keys
- After installation, open the program from the Start Menu or your Desktop shortcut (
code_generator.exe).
- Launch Code Generator.
- Enter a description of the function you want the code for.
- The application will communicate with the OpenAI API and display or save the generated code for you.
For questions or problems, please contact the developer or open an issue in the project's GitHub repository (if available). You can view live demos for the installation and usage here : https://drive.google.com/drive/folders/1NK_YrLBPYSjsO22dRWKfIxMSDFMrZtoP?usp=drive_link