Transform simple goals into powerful, optimized AI prompts using a 5-step Smart Enhancement Engine powered by LLaMA 3.3 70B via Groq.
Run locally — see setup instructions below
PromptNova is an intelligent full-stack web application that solves one of the biggest challenges in the AI era — writing effective prompts. Most users struggle to get quality responses from AI tools because they don't know how to structure their prompts properly.
PromptNova fixes this by running every user input through a 5-step Smart Prompt Enhancement Engine that automatically detects intent, expands keywords, structures the prompt, scales complexity, and applies optimization techniques — all powered by LLaMA 3.3 70B.
- ⚡ 5-Step Enhancement Engine — Intent Detection → Keyword Expansion → Structuring → Complexity Scaling → Optimization
- 🎯 3 Prompt Variants — Beginner, Advanced, and Creative versions for every goal
- 📊 Prompt Quality Meter — AI scores each prompt 0–100 with animated progress bar
- 🔗 Chain Prompting Engine — Breaks complex goals into 4 sequential linked prompts
- ✨ Improve Any Prompt — Paste any prompt and get an AI-enhanced version instantly
- 🔄 Remix Prompts — Regenerate fresh variations with one click
- 📋 20+ Quick Templates — Pre-built goals across 6 categories with filter tabs
- 💾 Custom Template Saver — Save your own goals as reusable template chips
- 📜 Prompt History — Auto-saves last 50 generations with starred favourites
- 📄 Export as TXT — Download all 3 prompt variants with metadata
- 🎨 3 Themes — NEON (cyan/purple), CYBER (orange/red), MINIMAL (warm editorial)
- 🌙 Dark + Light Mode — Every theme has both variants (6 total combinations)
- ✨ Glassmorphism UI — Blur + transparency on all panels and cards
- 💫 Animated Particle Network — 70+ connected nodes on HTML5 Canvas
- ⌨️ Typing Animation — Prompts reveal character by character
- 📱 Fully Responsive — Works on mobile, tablet, and desktop
| Layer | Technology |
|---|---|
| Backend | Node.js, Express.js |
| AI Model | LLaMA 3.3 70B (via Groq Cloud) |
| Frontend | HTML5, CSS3, Vanilla JavaScript |
| Inference | Groq LPU API |
| Storage | Browser localStorage |
| Fonts | Orbitron, Rajdhani, Space Mono |
- Smart Prompt Enhancement Engine — 5-step pipeline using LLM reasoning
- Chain Prompting Algorithm — Sequential 4-step prompt decomposition
- Prompt Quality Scorer — LLM self-evaluation on 5 dimensions (0–100)
- Prompt Improvement Engine — RTCCO framework-based rewriting
- Live Preview Generator — Client-side structural preview (zero API calls)
- AI Typing Suggestion System — Keyword-prefix intent matching (300ms debounce)
- Template Filter Algorithm — O(n) client-side category filtering
promptnova/
├── index.html # Frontend UI and layout
├── style.css # Design system — 6 theme×mode variable sets
├── script.js # Frontend controller — events, API, rendering
├── server.js # Express backend — 3 API endpoints
├── package.json # Dependencies
├── .env.example # API key template
└── .gitignore # Excludes node_modules and .env
- Node.js v18 or higher
- A free Groq API key → console.groq.com
1. Clone the repository
git clone https://github.com/madhu-mitha-e/promptnova.git
cd promptnova2. Install dependencies
npm install3. Create your environment file
cp .env.example .envOpen .env and add your Groq API key:
GROQ_API_KEY=gsk_your_key_here
PORT=3000
4. Start the server
node server.js5. Open in browser
http://localhost:3000
| Endpoint | Method | Description |
|---|---|---|
/generate-prompt |
POST | Generate 3 prompt variants with quality scores |
/improve-prompt |
POST | Enhance any existing prompt |
/chain-prompt |
POST | Generate 4-step sequential prompt chain |
| Theme | Dark Mode | Light Mode |
|---|---|---|
| NEON | Cyan #00ffe7 + Purple on near-black |
Mint teal on pale aqua |
| CYBER | Orange #ff8c00 + Red on near-black |
Amber on warm cream |
| MINIMAL | Rose-copper #f0845a + Amber on dark brown |
Terracotta on warm cream |
express— HTTP server and routinggroq-sdk— LLaMA 3.3 70B inference clientdotenv— Environment variable managementcors— Cross-Origin Resource Sharingnodemon— Development auto-restart
- Canvas 2D API — Particle network background
- Clipboard API — One-click copy
- localStorage API — History and template persistence
- Blob + URL API — Client-side file export
- CSS Custom Properties — Dynamic theme switching
- CSS backdrop-filter — Glassmorphism effect
- Multi-language prompt generation (Tamil, Hindi, Spanish, French)
- Image prompt mode for Midjourney and DALL-E
- User accounts with cloud sync
- Browser extension for ChatGPT and Claude
- Voice input via Web Speech API
- Team collaboration workspace
This project is licensed under the MIT License.
Built with ⚡ using Node.js · Groq · LLaMA 3.3 · HTML/CSS/JS