Skip to content

Repository files navigation

Lovable.dev Add-ons

License: MIT Version Chrome Web Store

A powerful Chrome extension that supercharges your Lovable.dev development workflow with an intelligent prompt queue system and essential productivity tools. Built with vanilla JavaScript following Chrome's Manifest V3 specifications for optimal performance and security.

✨ Features

πŸš€ Prompt Queue (Primary Feature)

  • Smart Queuing System: Queue multiple prompts while one is processing on project pages
  • Intelligent Send Button Detection: Waits for Lovable.dev's send button to be available and enabled
  • Minimal Dark UI: Clean dark gray (#272725) queue items with white text
  • Keyboard Shortcuts: Press Shift+Enter to add prompts to queue
  • Automatic Sequential Processing: Reliable prompt execution with proper timing
  • Real-time Status: Visual indicators showing [NEXT/SENDING/FAILED] status
  • Silent Operation: No intrusive notifications or popups
  • Smart Visibility: Queue only appears when prompts are queued (zero UI clutter)
  • Robust Error Recovery: Failed prompts remain in queue for retry
  • Project Page Detection: Only activates on actual project pages, not homepage

πŸ€– Enhanced Prompt Tools

  • AI-Powered Enhancement: Groq API integration for prompt optimization
  • Context-Aware Processing: Intelligent prompt analysis and improvement
  • Error Handling: Robust error recovery with user-friendly feedback
  • Secure API Management: Encrypted storage of API keys

πŸ“š Prompt Library

  • Save & Organize: Store your best prompts for reuse
  • Template System: Pre-built prompt templates for common tasks
  • Quick Access: Easy insertion of saved prompts
  • Project Organization: Folder-based prompt management

πŸ” SEO Tools

  • Built-in Analysis: Comprehensive SEO analysis utilities
  • Metadata Management: Easy handling of SEO metadata
  • Content Optimization: Tools for improving content SEO
  • XML Escaping: Safe handling of special characters

πŸ’» Code Context

  • Enhanced Analysis: Advanced code context awareness
  • Smart Detection: Automatic code pattern recognition
  • Integration Ready: Seamless integration with Lovable.dev interface

πŸš€ Installation

From Chrome Web Store (Recommended)

  1. Visit the Chrome Web Store listing
  2. Click "Add to Chrome"
  3. Confirm the installation when prompted
  4. The extension icon will appear in your browser toolbar

Manual Installation (Developer Mode)

  1. Download the latest release from the Releases page
  2. Extract the downloaded ZIP file to a folder
  3. Open Chrome and navigate to chrome://extensions/
  4. Enable "Developer mode" using the toggle in the top-right corner
  5. Click "Load unpacked" and select the extracted folder
  6. The extension will be installed and ready to use

πŸ›  Usage

Prompt Queue

The Prompt Queue feature automatically activates on Lovable.dev project pages:

Getting Started

  1. Navigate to a Project: Open any project on Lovable.dev (URLs with /projects/)
  2. Add Prompts: Type your prompt and press Shift+Enter to add it to the queue
  3. Automatic Processing: The first prompt starts processing automatically after a 1-second delay

Visual Interface

Queue items appear above the chat input with:

  • Numbered positions (1., 2., 3...) showing queue order
  • Prompt preview (truncated to ~60 characters with tooltip showing full text)
  • Status indicators:
    • [NEXT] - Ready to be sent next
    • [SENDING] - Currently being processed
    • [FAILED] - Error occurred, ready for retry
  • Remove buttons (Γ—) for individual item management

Smart Behavior

  • Auto-Detection: Only appears on project pages, never on homepage
  • Button Waiting: Waits for Lovable.dev's send button to be enabled before sending
  • Error Handling: Failed prompts remain in queue for manual retry or removal
  • Clean UI: Queue disappears when empty, no permanent UI clutter

Advanced Features

  • Interference Prevention: Automatically closes blocking modals/overlays
  • Completion Detection: Multiple strategies to detect when responses finish
  • Memory Management: Proper cleanup when navigating between projects

Enhanced Prompt

  1. Setup API Key: Configure your Groq API key in the extension settings
  2. Write Prompt: Enter your prompt in the chat textarea
  3. Enhance: Use the enhancement feature to optimize your prompt
  4. Review: The enhanced prompt will replace your original text

SEO Tools

  1. Access Tools: Use the SEO analysis features from the extension interface
  2. Analyze Content: Run SEO analysis on your project content
  3. Apply Suggestions: Implement recommended optimizations
  4. Export Data: Generate SEO reports and metadata

Prompt Library

  1. Save Prompts: Store frequently used prompts in your library
  2. Organize: Create folders and tags for better organization
  3. Quick Insert: Access saved prompts with a single click
  4. Template Usage: Use pre-built templates for common scenarios

βš™οΈ Configuration

API Key Setup

  1. Click the extension icon in your browser toolbar
  2. Navigate to Settings
  3. Enter your Groq API key (encrypted and stored securely)
  4. Save the configuration

Permissions

The extension requires the following permissions:

  • Storage: For saving settings and prompt library
  • Side Panel: For the extension interface
  • Host Permissions: Access to *.lovable.dev domains

πŸ—οΈ Technical Architecture

Manifest V3 Compliance

  • Built using Chrome's latest extension manifest format
  • Enhanced security and performance
  • Service worker-based background processing

Core Components

  • Content Scripts: Inject functionality into Lovable.dev pages
  • Side Panel: Dedicated interface for extension features
  • Settings Management: Secure storage and encryption
  • Event System: Internal communication and state management

Performance Optimizations

  • Throttled Observers: Efficient DOM monitoring (max 4 times/second)
  • Debounced Rendering: Prevents excessive UI updates
  • Memory Management: Proper cleanup on navigation
  • Optimized Selectors: Efficient DOM queries

πŸ”§ Development

Project Structure

β”œβ”€β”€ manifest.json              # Extension manifest
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ features/
β”‚   β”‚   β”œβ”€β”€ prompt-queue.js     # Prompt queuing system
β”‚   β”‚   β”œβ”€β”€ enhance-prompt.js   # AI prompt enhancement
β”‚   β”‚   β”œβ”€β”€ seo-tools.js        # SEO analysis tools
β”‚   β”‚   β”œβ”€β”€ prompt-library.js   # Prompt management
β”‚   β”‚   └── code-context.js     # Code analysis
β”‚   β”œβ”€β”€ utils/
β”‚   β”‚   β”œβ”€β”€ namespace.js        # Global namespace
β”‚   β”‚   β”œβ”€β”€ dom-utils.js        # DOM utilities
β”‚   β”‚   β”œβ”€β”€ toast.js            # Notification system
β”‚   β”‚   └── promptLoader.js     # Template loader
β”‚   β”œβ”€β”€ popup.js                # Extension popup
β”‚   β”œβ”€β”€ sidepanel.js            # Side panel interface
β”‚   └── settings.js             # Settings management
β”œβ”€β”€ config/
β”‚   └── promptTemplates.json    # Prompt templates
β”œβ”€β”€ docs/                       # Documentation
β”œβ”€β”€ icons/                      # Extension icons
└── styles.css                  # Global styles

Building from Source

  1. Clone the repository
  2. Install dependencies (if any)
  3. Load the extension in developer mode
  4. Test functionality on Lovable.dev

πŸ“‹ Changelog

Version 2.1.3 (Latest) - August 6, 2025

  • 🎯 Fixed First Prompt Registration: Resolved timing issue where first prompt wasn't being registered
  • πŸ” Intelligent Send Button Detection: Now properly waits for Lovable.dev's specific send button to be available
  • ⚑ Enhanced Send Logic: Waits up to 15 seconds for send button to become enabled (not disabled or opacity-50)
  • 🎨 Major UI Redesign: Minimal dark theme integration with clean positioning
  • πŸ“ˆ Enhanced Performance: Optimized DOM observers with proper throttling
  • πŸ”‡ Silent Operation: Removed all intrusive notifications and popups
  • πŸ›‘οΈ Smart Interference Prevention: Auto-closes blocking modals and overlays
  • πŸ”„ Improved Reliability: Better error handling and graceful recovery
  • πŸ“± Smart Page Detection: Only activates on project pages, never on homepage
  • βš™οΈ Proper Initialization: UI and keyboard handlers now properly synchronized

Previous Versions

  • 2.1.2: Initial prompt queue implementation with basic functionality
  • 2.0.0: Fixed UI layout issues and improved CSS handling
  • 1.9.1: Previous stable version with enhanced prompt tools
  • 1.5.1: Removed search and color picker functionality for performance
  • 1.5.0: Initial version with all core features

🀝 Contributing

We welcome contributions! Please:

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Test thoroughly
  5. Submit a pull request

Development Guidelines

  • Follow existing code style and patterns
  • Add comments for complex functionality
  • Test on multiple browser versions
  • Ensure Manifest V3 compliance

πŸ“„ License

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

πŸ†˜ Support

Troubleshooting

  • Extension not working: Refresh the Lovable.dev page and try again
  • API errors: Check your Groq API key configuration
  • UI issues: Disable and re-enable the extension
  • Performance problems: Clear browser cache and restart

Getting Help

πŸ”— Links


Made with ❀️ for the Lovable.dev community

About

A powerful Chrome extension that enhances your Lovable.dev development workflow with essential tools and utilities

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages