Skip to content

About

This project provides a Python application that enhances code prompts using the Groq API. It includes a GUI for easy interaction and hotkey support for quick enhancement of selected text.

Resources

Stars

7 stars

Watchers

0 watching

Forks

Latest commit

 

History

21 Commits

Folders and files

Repository files navigation

🚀 Coding English Enhancer

 ██████╗ ██████╗  ██████╗ ███╗   ███╗██████╗ ████████╗███████╗██████╗ 
 ██╔══██╗██╔══██╗██╔═══██╗████╗ ████║██╔══██╗╚══██╔══╝██╔════╝██╔══██╗
 ██████╔╝██████╔╝██║   ██║██╔████╔██║██████╔╝   ██║   █████╗  ██████╔╝
 ██╔═══╝ ██╔══██╗██║   ██║██║╚██╔╝██║██╔═══╝    ██║   ██╔══╝  ██╔══██╗
 ██║     ██║  ██║╚██████╔╝██║ ╚═╝ ██║██║        ██║   ███████╗██║  ██║
 ╚═╝     ╚═╝  ╚═╝ ╚═════╝ ╚═╝     ╚═╝╚═╝        ╚═╝   ╚══════╝╚═╝  ╚═╝

Transform your raw developer notes into perfectly structured, actionable tasks!

An AI-powered tool that takes your stream-of-consciousness developer notes and transforms them into professional, well-organized tasks suitable for project management systems like Jira or GitHub Issues.

✨ Features

  • 🎯 Smart Task Breakdown: Automatically identifies and separates distinct tasks from messy notes
  • 🔥 Global Hotkeys: Press Ctrl+Shift+E or Ctrl+Shift+R from anywhere to enhance copied text
  • 📁 Codebase Context: Select your project folder for smarter, context-aware enhancements
  • 🎨 Multiple Themes: Choose from 5 beautiful UI themes
  • 🤖 Multiple AI Models: Support for various Groq models including Llama, Qwen, and Gemma
  • 📝 Enhancement History: Keep track of your last 10 enhancements
  • ⚡ Optimized Performance: Fast, efficient processing with thread pooling and caching

🚀 Quick Installation

One-command install (Windows PowerShell):

irm https://raw.githubusercontent.com/naijagamerx/code-prompt-enhancer/main/install.ps1 | iex

The installer will:

  • ✅ Check Python installation
  • ✅ Download the application
  • ✅ Install all dependencies
  • ✅ Start the app automatically

📋 Manual Installation

If you prefer manual installation:

  1. Clone the repository:

    git clone https://github.com/naijagamerx/prompter.git
    cd prompter
  2. Install dependencies:

    pip install -r requirements.txt
  3. Run the application:

    python prompt_enhancer.py

🔧 Requirements

  • Python 3.7+
  • Internet connection (for AI API calls)
  • Groq API key (free at groq.com)

🎮 How to Use

Initial Setup

  1. Get a Groq API Key: Visit console.groq.com and create a free account
  2. Enter your API key in the application's "API Key" section
  3. Choose your preferred AI model from the dropdown
  4. Set up hotkeys (default: Ctrl+Shift+E and Ctrl+Shift+R)

Using the Tool

Method 1: Global Hotkeys (Recommended)

  1. Copy any messy developer notes to your clipboard
  2. Press Ctrl+Shift+E from anywhere in your system
  3. The enhanced text is automatically copied back to your clipboard
  4. Paste it wherever you need!

Method 2: GUI Interface

  1. Paste your raw notes into the "Input Text" area
  2. Optionally select a project folder for better context
  3. Click "Enhance Text"
  4. Copy the result from the "Enhanced Text" area

Example Transformation

Your raw input:

The user page is busted, it wont load their data. the endpoint seems slow. 
and the save button is just stuck on 'saving...' it never finishes. 
oh and also the search filter doesn't work for names with spaces in them.

Enhanced output:

I've identified several issues that require attention:

**Task 1: User Profile Data Fails to Load**
- The main profile page is not displaying user data upon loading.
- Initial investigation suggests a performance issue or failure in the backend data endpoint.

**Task 2: Save Action Does Not Complete on Profile Page**
- When clicking the "Save" button, the button's state becomes stuck on "Saving..."
- The operation never completes, and no success or error feedback is provided to the user.

**Task 3: Search Filter Fails with Multi-Word Input**
- The search functionality does not correctly handle inputs that contain spaces.
- For example, searching for "John Doe" fails, while searching for "John" may work as expected.

🎨 Available Themes

  • Radiance (Polished) - Default modern theme
  • Plastik (3D) - Three-dimensional styling
  • Breeze (Clean) - Minimal and clean
  • Clearlooks (Classic) - Traditional look
  • Windows Native - Native Windows styling

🤖 Supported AI Models

  • moonshotai/kimi-k2-instruct
  • openai/gpt-oss-120b
  • qwen/qwen3-32b
  • deepseek-r1-distill-llama-70b
  • gemma2-9b-it
  • llama-3.3-70b-versatile
  • meta-llama/llama-4-maverick-17b-128e-instruct

🔧 Configuration

The app automatically saves your settings in enhancer_config.json:

  • API key (encrypted)
  • Selected model
  • Custom hotkeys
  • Theme preference

Enhancement history is saved in enhancement_history.json.

⚡ Performance Features

  • Optimized Processing: Thread pool execution for smooth UI
  • Smart Caching: Cached regex patterns and API clients
  • Context Awareness: Analyzes your codebase for better suggestions
  • Memory Efficient: Reduced string operations and smart resource management

🛡️ Privacy & Security

  • Your API key is stored locally and encrypted
  • No data is sent to third parties (except Groq for AI processing)
  • Enhancement history is stored locally
  • All processing happens on your machine

🐛 Troubleshooting

Common Issues

"API Key not set" error:

  • Make sure you've entered a valid Groq API key
  • Click "Save Key" after entering it

Hotkeys not working:

  • Try running the application as Administrator
  • Check if other applications are using the same hotkeys
  • Use the "Reset to Defaults" button in hotkey settings

Python not found:

  • Make sure Python is installed and added to your system PATH
  • Restart your terminal/PowerShell after Python installation

📞 Support

🏗️ Built With

  • Python 3.x - Core application
  • tkinter/ttkthemes - Modern GUI interface
  • Groq API - AI-powered text enhancement
  • PyQt/Threading - Optimized performance

📄 License

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

👨‍💻 Author

naijagamerx - Developer & Maintainer


⭐ Like this project? Give it a star! ⭐

Quick start: irm https://raw.githubusercontent.com/naijagamerx/code-prompt-enhancer/main/install.ps1 | iex

About

This project provides a Python application that enhances code prompts using the Groq API. It includes a GUI for easy interaction and hotkey support for quick enhancement of selected text.

Resources

Stars

7 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages