Generate fun coding challenges and improve your skills.
This app uses LLMs to generate coding challenges for common programming languages. The user can also choose the language, the level of difficulty and challenge length, and specify the topic. They can show a hint, a possible solution and get feedback on their attempts.
- Install the required packages
pip install -r requirements.txt
(optionally you can first create a virtual environment)
- Create a .env file in the root folder with the following content (or copy/paste the content of the .env.example file)
OPENAI_API_KEY=<your_openai_api_key>
- Optionally you can choose another (OpenAI) LLM model, the default model is
gpt-4o-mini
LLM_MODEL=<name_of_llm>
- Run the following command to start the flask app
python main.py
- Go to http://127.0.0.1:5000/ in your browser
- Have fun
This project is licensed under the MIT License - see the LICENSE file for details.