$git clone https://github.com/Fu-Jie/open-webui-prompt-plus---
| 1 | # 🚀 Open WebUI Prompt Plus |
| 2 | |
| 3 | <p align="center"> |
| 4 | <img src="https://img.shields.io/badge/Open%20WebUI-Extension-blue?style=for-the-badge&logo=openai" alt="Open WebUI Extension"> |
| 5 | <img src="https://img.shields.io/badge/Version-0.1.7-blue?style=for-the-badge" alt="Version"> |
| 6 | <img src="https://img.shields.io/badge/AI-Powered-purple?style=for-the-badge" alt="AI Powered"> |
| 7 | <img src="https://img.shields.io/badge/i18n-10+%20Languages-green?style=for-the-badge" alt="Languages"> |
| 8 | <img src="https://img.shields.io/badge/License-MIT-yellow?style=for-the-badge" alt="License"> |
| 9 | </p> |
| 10 | |
| 11 | <p align="center"> |
| 12 | <b>Elevate your Open WebUI experience with professional-grade prompt management.</b> |
| 13 | <br /> |
| 14 | An all-in-one enhancement suite designed for power users and developers. |
| 15 | </p> |
| 16 | |
| 17 | --- |
| 18 | |
| 19 | --- |
| 20 | |
| 21 | ## 🌟 Key Features |
| 22 | |
| 23 | ### 🤖 AI-Powered Prompt Generator |
| 24 | |
| 25 | Stop struggling with prompt engineering. |
| 26 | |
| 27 | - **Natural Language to Prompt**: Simply describe your needs (e.g., "Write a prompt for code review"), and the built-in AI Agent will construct a structured, variable-rich prompt for you. |
| 28 | - **Auto-Categorization**: AI automatically suggests titles, commands, and categories based on the content. |
| 29 | - **Syntax Optimization**: Automatically applies Open WebUI variable syntax, making your prompts ready to use instantly. |
| 30 | |
| 31 | ### ⚡ Quick Insert Panel (Spotlight Style) |
| 32 | |
| 33 | - **Global Shortcut**: Press `Cmd/Ctrl + Shift + P` to instantly toggle the search panel. |
| 34 | - **Fuzzy Search**: Find prompts by title, content, tags, or commands in milliseconds. |
| 35 | - **Visual Search & Discovery**: Optimized for usability—instantly find prompts by keyword without memorizing slash commands. |
| 36 | |
| 37 | ### 📂 Advanced Category Management |
| 38 | |
| 39 | - **Dynamic Categories**: Create custom categories with personalized Emoji icons. |
| 40 | - **Icon Search**: Built-in Emoji picker with keyword search support. |
| 41 | - **Smart Organization**: Favorites and usage statistics keep your most-used prompts at your fingertips. |
| 42 | |
| 43 | ### 📝 Native Variable Support & Visualization |
| 44 | |
| 45 | Fully leverage Open WebUI's powerful native variable syntax without the hassle of manual coding: |
| 46 | |
| 47 | - **AI-Generated Templates**: Let the AI write the complex variable syntax for you. |
| 48 | - **Visual Form Rendering**: Instantly turns `{{variables}}` into user-friendly UI components (Dropdowns, Date Pickers, Sliders, etc.). |
| 49 | - **No Slash Commands Needed**: Fill out variables in a clean modal interface instead of the command line. |
| 50 | |
| 51 | --- |
| 52 | |
| 53 | ## 📸 Screenshots |
| 54 | |
| 55 | <p align="center"> |
| 56 | <img src="./screenshots/01_chat_interface.png" alt="Chat Interface" width="45%"> |
| 57 | <img src="./screenshots/02_quick_panel.png" alt="Quick Insert Panel" width="45%"> |
| 58 | </p> |
| 59 | |
| 60 | <p align="center"> |
| 61 | <img src="./screenshots/03_management_panel.png" alt="Management Panel" width="45%"> |
| 62 | <img src="./screenshots/04_ai_generation.png" alt="AI Generation" width="45%"> |
| 63 | </p> |
| 64 | |
| 65 | <p align="center"> |
| 66 | <img src="./screenshots/05_variable_form.png" alt="Variable Form" width="45%"> |
| 67 | <img src="./screenshots/06_edit_prompt.png" alt="Edit Prompt" width="45%"> |
| 68 | </p> |
| 69 | |
| 70 | <p align="center"> |
| 71 | <img src="./screenshots/07_ai_generated_result.png" alt="AI Generated Result" width="90%"> |
| 72 | </p> |
| 73 | |
| 74 | <p align="center"> |
| 75 | <img src="./screenshots/08_ai_generation_demo.gif" alt="AI Generation Demo" width="90%"> |
| 76 | </p> |
| 77 | |
| 78 | --- |
| 79 | |
| 80 | ## 🚀 Quick Start |
| 81 | |
| 82 | ### Option 1: Docker (Source Mount - Recommended for Dev) |
| 83 | |
| 84 | Mount the project files to your `open-webui` container in your `docker-compose.yml`: |
| 85 | |
| 86 | ```yaml |
| 87 | services: |
| 88 | open-webui: |
| 89 | image: ghcr.io/open-webui/open-webui:main |
| 90 | volumes: |
| 91 | - open-webui-data:/app/backend/data |
| 92 | # --- Inject Prompt Plus --- |
| 93 | - ./custom.css:/app/build/static/custom.css |
| 94 | - ./loader.js:/app/build/static/loader.js |
| 95 | - ./js:/app/build/static/js/prompt-plus-js |
| 96 | ``` |
| 97 | |
| 98 | ### Option 2: Docker (Build Version - Recommended for Prod) |
| 99 | |
| 100 | For better performance and smaller footprint, run `npm run build` first to generate the `dist` directory, then mount the built files: |
| 101 | |
| 102 | ```yaml |
| 103 | services: |
| 104 | open-webui: |
| 105 | volumes: |
| 106 | - ./dist/custom.css |