CodeGuide is a Flask application that uses the Google GenerativeAI palm
library to generate code examples and explanations based on a given topic and coding level. It also answers questions about the generated code.
- Generate code examples based on a given topic and coding level
- Provide explanations for the generated code examples
- Answer questions about the generated code
- Clone this repository: https://github.com/mmuddinhamza/CodeGuide
- Install the required packages: pip install -r requirements.txt
- set up your API key: export API_KEY = your_api_key
- Start the Flask application: python app.py
- Open your web browser and navigate to
http://localhost:5000
. - Enter a topic, your coding level, and any questions you have.
- Click "Submit" to generate a code example, an explanation, and answers to your questions.
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.