A powerful web application that generates custom programming tasks with visualizations based on user-selected criteria.
- Multiple Task Types: Select from various task types (games, algorithms, data structures, web applications, etc.)
- Multi-Language Support: Generate tasks for multiple programming languages
- Visualizations: Auto-generate flowcharts, application structure diagrams, and GUI mockups
- PDF Export: Get beautifully formatted PDF files with task descriptions
- Customization Options: Upload your own pattern or use text input
- Node.js (v14 or higher)
- npm or yarn
- OpenAI API key
- Clone the repository:
git clone https://github.com/DBOYttt/programming-task-generator.git
cd programming-task-generator- Install dependencies:
npm install- Create a
.envfile in the root directory with your OpenAI API key:
OPENAI_API_KEY=your_api_key_here
- Start the server:
npm startThe application will be available at http://localhost:3000.
- Open your browser and navigate to
http://localhost:3000 - Select one or more task types
- Choose the programming language(s)
- Select the output language for instructions
- Enable/disable visualization options
- Enter a pattern template or upload a PDF
- Click "Generate PDF"
- Save the generated PDF file
| Variable | Description | Default |
|---|---|---|
| PORT | Port for the server | 3000 |
| OPENAI_API_KEY | Your OpenAI API key | - |
see more in Wiki tab
- OpenAI GPT-4 for content generation
- Mermaid.js for diagram generation
- Puppeteer for PDF creation