Skip to content

north5g/MetaPrompt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 

Repository files navigation

MetaPrompt — MHacks 2025

Team

Track

Overdrive (Optimization): Efficiency meets creativity. Explore algorithms, automation, and design strategies that make processes faster, smarter, and more seamless.


Overview

Crafting effective prompts for AI tools is a time-consuming process. Developers often spend significant effort refining prompts to get high-quality results, which can slow down workflows and reduce productivity.

MetaPrompt is a browser extension that eliminates this bottleneck. By highlighting text and using our extension, developers can instantly generate optimized prompts designed to maximize the quality of responses from leading AI systems.


Video Demonstration

https://www.youtube.com/watch?v=skhwH4JcHsk&feature=youtu.be


Features

  • Highlight & Prompt
    Select any text on a webpage and open MetaPrompt’s context menu.

  • Customization Options (Optional)

    • Prompt Types: Academic, Exploratory, Technical
    • Tags: Add project-specific tags (e.g., Python, UI Design, Optimization)
  • Actions

    • Build Prompt
      • Generate a curated, high-quality prompt ready to copy and paste. (Powered by Gemini)
    • Prompt ChatGPT
      • Open ChatGPT with your optimized prompt pre-filled.
    • Prompt Gemini
      • Open Gemini with your optimized prompt pre-filled.
    • Prompt Claude
      • Open Claude with your optimized prompt pre-filled.
    • Prompt Fetch.ai
      • Open Fetch.ai with your optimized prompt pre-filled.

Why MetaPrompt?

  • ⏱️ Save Time — Focus on learning, not building queries.
  • 🎯 Boost Quality — Get stronger, more helpful AI responses.
  • 🌐 Seamless Integration — Works directly in the browser.
  • 🔀 Cross-Platform — Optimized for ChatGPT, Gemini, and Claude.
  • 💎 Available to Prompt Anywhere - Copy text to your clipboard for integration to your LLM of choice.

Tech Stack

  • Frontend: Browser Extension (Manifest V3), HTML, CSS, JavaScript
  • Backend: Server Written with FastAPI, Pydantic, and Dotenv. Prompt Optimization Powered by Gemini API
  • Platform Integrations: ChatGPT, Gemini, Claude, FetchAPI

Getting Started

Prerequisites

Installation

  1. Clone the repo:
    git clone https://github.com/north5g/MHacks2025
    cd MHacks2025
  2. Set up the .env file in backend folder
    GEMINI_API_KEY=<YOUR API KEY>
    REQUEST_TIMEOUT_SECONDS=20
    MAX_RETRIES=2
    ALLOWED_ORIGINS=chrome-extension://<YOUR_EXTENSION_ID>
    
  3. move into backend folder if not there already
    cd backend
  4. Set up the venv
    python3 -m venv .venv
    pip3 install -r requirements.txt
  5. Start the python server
    python3 app.py
  6. Navigate to Extensions on Google Chrome
  7. Click 'Load Unpacked' and navigate to the 'extension' file
  8. Run the extension & Enjoy !

About

Gemini prompt engineer wrapped

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •