Skip to content

pavank-code/RePRo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸš€ RePRo - The Refined Prompt Enhancer

The Ultimate AI Prompt Engineering Tool - Transform any raw prompt into a powerful, optimized prompt using advanced AI techniques.

Chrome Extension License: MIT PRs Welcome

RePRo is a free, open-source Chrome Extension that acts as "Grammarly for AI Prompts" β€” paste any prompt and get an optimized version that works better with ChatGPT, Claude, Gemini, Midjourney, DALL-E, Sora, and more.


✨ Key Features

Feature Description
🧠 Context-Aware Enhancement Auto-detects prompt type (text, code, image, video) and applies specialized optimization
🎯 One-Click Optimization Paste any prompt β†’ Click "Enhance" β†’ Get a 3-5x more effective prompt
πŸ“‹ Copy to Clipboard One-click copy for immediate use
πŸ”„ Compare View Side-by-side original vs enhanced comparison
πŸŒ™ Beautiful Dark UI Sleek neon glow design with smooth animations
πŸ” Secure API Keys Your keys never leave your browser
πŸ†“ Free Models Works with free OpenRouter models

🎨 Supported Prompt Types

RePRo automatically detects and optimizes prompts for:

πŸ–ΌοΈ Image Generation (DALL-E, Midjourney, Stable Diffusion)

  • Adds style, lighting, composition, and quality modifiers
  • Structure: [Subject], [Action], [Environment], [Style], [Lighting], [Quality]

🎬 Video Generation (Sora, Runway, Pika, Kling)

  • Adds motion, camera movement, scene transitions
  • Structure: [Scene], [Camera], [Motion], [Transition], [Duration], [Quality]

πŸ’» Code Prompts

  • Uses XML/JSON structured requirements
  • Includes input/output examples and error handling

πŸ“Š Data & Analysis

  • JSON schema for expected output
  • Clear aggregation and transformation rules

πŸ“ General Text

  • Chain-of-Thought reasoning
  • Role prompting for expertise

πŸ› οΈ Prompt Engineering Techniques

RePRo applies industry-standard prompt engineering techniques:

  • ⛓️ Chain-of-Thought (CoT) - Step-by-step reasoning
  • 🎭 Role Prompting - Expert persona assignment
  • πŸ“ Few-Shot - Example-based formatting
  • 🌳 Tree of Thoughts (ToT) - Multiple solution paths
  • πŸ“‹ Structured Templates - Reusable formats
  • 🏷️ XML Prompting - Tagged structured sections
  • πŸ“¦ JSON Prompting - Schema-based output

πŸš€ Quick Start

Installation

  1. Clone the repository

    git clone https://github.com/pavank-code/RePRo.git
    cd RePRo
  2. Install dependencies

    npm install
  3. Build the extension

    npm run build
  4. Load in Chrome

    • Open chrome://extensions
    • Enable "Developer mode"
    • Click "Load unpacked"
    • Select the dist folder
  5. Configure API Key

    • Click the extension icon
    • Click βš™οΈ Settings
    • Choose Gemini or OpenRouter
    • Enter your API key

Get Free API Keys

Provider Link Notes
OpenRouter openrouter.ai/keys Free models available ⭐
Gemini aistudio.google.com/apikey Free tier with limits

πŸ“Έ Screenshots

RePRo Main Interface RePRo Settings


πŸ—οΈ Tech Stack

  • Frontend: React 18 + TypeScript
  • Build: Vite
  • Extension: Chrome Manifest V3
  • APIs: Gemini, OpenRouter (supports 20+ models)
  • Styling: Custom CSS with neon effects

πŸ“ Project Structure

RePRo/
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ popup/           # Main popup UI
β”‚   β”œβ”€β”€ components/      # React components
β”‚   β”œβ”€β”€ services/        # API integrations
β”‚   β”œβ”€β”€ utils/           # Enhancement logic
β”‚   └── styles/          # CSS styles
β”œβ”€β”€ dist/                # Built extension
β”œβ”€β”€ manifest.json        # Chrome extension config
└── package.json

🀝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

πŸ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.


🌟 Star History

If you find RePRo useful, please ⭐ star the repository!


πŸ”— Links


RePRo - Refined Prompt Enhancer | AI Prompt Engineering Tool
prompt enhancer β€’ prompt optimizer β€’ AI prompt tool β€’ ChatGPT prompt β€’ Midjourney prompt β€’ DALL-E prompt β€’ prompt engineering β€’ AI writing assistant

About

RePRo - The Refined Prompt Enhancer | AI Prompt Engineering Chrome Extension for ChatGPT, Claude, Gemini, Midjourney, DALL-E, Sora | prompt enhancer | prompt optimizer

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors