A simple web-based tool to generate AI programming prompts. The app allows developers to fill in basic inputs such as the programming language and project details to generate an AI-ready prompt that can be used to generate boilerplate code with AI models like ChatGPT.
- Select from the top 10 programming languages.
- Input program purpose and additional project details.
- Automatically generate a detailed prompt based on user input.
- Built with Next.js, TypeScript, and Tailwind CSS for a fast and modern user experience.
- Supports basic form validation to ensure valid inputs.
-
Clone the repository:
git clone https://github.com/your-username/ai-prompt-generator.git cd ai-prompt-generator
-
Install the dependencies:
npm install
-
Run the development server:
npm run dev
-
Open http://localhost:3000 to view the app in the browser.
- Open the application in your browser at
http://localhost:3000
. - Select a programming language from the dropdown list.
- Enter the purpose of the program (e.g., "Build a to-do list app").
- Optionally, add any additional project details (e.g., "Include user authentication").
- Click Generate Prompt to view the AI-ready prompt based on your inputs.
- Use the generated prompt in an AI assistant like ChatGPT to generate code.
- Optionally, clear the form and start again by clicking the Clear Form button.
Ensure you have the following installed:
To start the development server:
npm run dev
To create a production build:
npm run build
.
├── public # Public assets (favicon, etc.)
├── src
│ ├── app # Next.js App Router structure
│ ├── components # UI Components (if applicable)
│ └── styles # Global styles
├── .gitignore # Ignored files
├── package.json # Project dependencies and scripts
├── tailwind.config.js # Tailwind CSS configuration
└── README.md # Project documentation
- Fork the repository.
- Create a new feature branch (
git checkout -b feature/your-feature-name
). - Commit your changes (
git commit -m 'Add some feature'
). - Push to the branch (
git push origin feature/your-feature-name
). - Open a pull request to merge your changes.
This project is licensed under the MIT License - see the LICENSE file for details.