PromptEnhance is a web application designed to help users create better AI prompts through intelligent enhancement. It leverages advanced prompt engineering principles and AI to transform simple, "lazy" prompts into comprehensive, well-structured instructions that yield superior results from language models.
Smart Prompt Enhancement - AI-powered prompt improvement with best practices built-in
Questioning - Interactive prompt refinement through user feedback
Web Search Integration - Optional context enrichment using real-time web data
Edit Requests - Request specific edits to the enhanced prompt
Prompt Styling - Customize the style of your prompts
Prompt Library - Save your enhanced prompts on your device
The project consists of three main components:
PromptEnhance/
├── backend/ # Django REST API
│ ├── api/ # Main API app
│ │ ├── enhance.py # Prompt enhancement logic
│ │ ├── edits.py # Prompt editing logic
│ │ ├── shared_utils.py # Shared utilities for enhancement and editing
│ │ ├── consumers.py # WebSocket consumers
│ │ ├── prompt.py # Prompt builder utilities
│ └── backend/ # Django project settings
└── prompt-enhance-frontend/ # Vite/TypeScript frontend
└── src/
git clone <repository-url>
cd PromptEnhance# Create and activate virtual environment
python -m venv venv
# Windows
venv\Scripts\activate.bat
# macOS/Linux
source venv/bin/activate
# Install dependencies
pip install -r requirements.txt
# Navigate to backend
cd backend
# Start Django development server
python manage.py runserverThe backend API will be available at http://localhost:8000
# Navigate to frontend directory
cd prompt-enhance-frontend
# Install dependencies
npm install
# Start development server
npm run devThe frontend will be available at http://localhost:5173
Create a .env file in the backend/ directory with the following content:
API_KEY=your-api-key-here
BASE_URL=BASE_URL=https://ai.hackclub.com/proxy/v1
MODEL=google/gemini-3-flash-preview
HACKCLUB_SEARCH_API_KEY=your-hackclub-search-api-key
# Django Settings
SECRET_KEY=your-django-secret-key
DEBUG=True- Enter Task Context - Describe what the prompt is for
- Input Your Prompt - Write your initial prompt
- Enable Web Search (Optional) - Include additional context from web
- Enhance - Click to generate an improved version
- Questioning - Answer follow-up questions to refine further
- Edit - Request specific edits to the enhanced prompt
- Django 5.2 - Web framework
- Django REST Framework 3.16 - API development
- OpenAI Python SDK 2.15 - AI integration
- Database - There is no database, no data is stored!
- React 19.2 - UI library
- TypeScript 5.9 - Type safety
- Vite 7.2 - Build tool
- React Compiler - Performance optimization
Contributions are welcome! Please feel free to submit a Pull Request or open an Issue for any bugs or feature requests.