9fecf2d20152dcbbd79811f49e298b5184808cf8
Prompt Optimizer 🚀
📖 Project Introduction
Prompt Optimizer is a powerful AI prompt optimization tool that helps you write better AI prompts and improve the quality of AI outputs. It supports both web application and Chrome extension usage.
🎥 Feature Demonstration
✨ Core Features
- 🎯 Intelligent Optimization: One-click prompt optimization with multi-round iterative improvements to enhance AI response accuracy
- 🔄 Comparison Testing: Real-time comparison between original and optimized prompts for intuitive demonstration of optimization effects
- 🔄 Multi-model Integration: Support for mainstream AI models including OpenAI, Gemini, DeepSeek, etc., to meet different needs
- 🔒 Secure Architecture: Pure client-side processing with direct data interaction with AI service providers, bypassing intermediate servers
- 💾 Privacy Protection: Local encrypted storage of history records and API keys to ensure data security
- 📱 Multi-platform Support: Available as both a web application and Chrome extension
- 🎨 User Experience: Clean and intuitive interface design with responsive layout and smooth interaction effects
- 🌐 Cross-domain Support: Edge Runtime proxy for cross-domain issues when deployed on Vercel (may trigger risk control from some providers)
🚀 Quick Start
1. Use Online Version (Recommended)
- Direct access: https://prompt.always200.com
- Or one-click deploy to your own Vercel:
2. Install Chrome Extension
- Install from Chrome Web Store (may not be the latest version due to approval delays): Chrome Web Store
- Click the icon to open the Prompt Optimizer
3. Docker Deployment
# Run container (default configuration)
docker run -d -p 80:80 --restart unless-stopped --name prompt-optimizer linshen/prompt-optimizer
# Run container (with API key configuration)
docker run -d -p 80:80 \
-e VITE_OPENAI_API_KEY=your_key \
--restart unless-stopped \
--name prompt-optimizer \
linshen/prompt-optimizer
⚙️ API Key Configuration
Method 1: Via Interface (Recommended)
- Click the "⚙️Settings" button in the upper right corner
- Select the "Model Management" tab
- Click on the model you need to configure (such as OpenAI, Gemini, DeepSeek, etc.)
- Enter the corresponding API key in the configuration box
- Click "Save"
Supported models:
- OpenAI (gpt-3.5-turbo, gpt-4)
- Gemini (gemini-2.0-flash)
- DeepSeek (DeepSeek-V3)
- Custom API (OpenAI compatible interface)
Method 2: Via Environment Variables
Configure environment variables through the -e parameter when deploying with Docker:
-e VITE_OPENAI_API_KEY=your_key
-e VITE_GEMINI_API_KEY=your_key
-e VITE_DEEPSEEK_API_KEY=your_key
-e VITE_SILICONFLOW_API_KEY=your_key
-e VITE_CUSTOM_API_KEY=your_custom_api_key
-e VITE_CUSTOM_API_BASE_URL=your_custom_api_base_url
-e VITE_CUSTOM_API_MODEL=your_custom_model_name
Local Development
For detailed documentation, see Development Documentation
# 1. Clone the project
git clone https://github.com/linshenkx/prompt-optimizer.git
cd prompt-optimizer
# 2. Install dependencies
pnpm install
# 3. Start development server
pnpm dev # Main development command: build core/ui and run web app
pnpm dev:web # Run web app only
pnpm dev:fresh # Complete reset and restart development environment
🗺️ Roadmap
- Basic feature development
- Web application release
- Chrome extension release
- Custom model support
- Multi-model support optimization
- Internationalization support
For detailed project status, see Project Status Document
📖 Related Documentation
- Documentation Index - Index of all documentation
- Technical Development Guide - Technology stack and development specifications
- Project Structure - Detailed project structure description
- Project Status - Current progress and plans
- Product Requirements - Product requirements document
Star History
🤝 Contributing
- Fork the repository
- Create a feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some feature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
👏 Contributors
Thanks to all the developers who have contributed to this project!
📄 License
This project is licensed under the MIT License.
If this project is helpful to you, please consider giving it a Star ⭐️
👥 Contact Us
- Submit an Issue
- Create a Pull Request
- Join the discussion group
Description
An AI prompt optimizer for writing better prompts and getting better AI results.
https://prompt.always200.com
45 MiB
0 Stars
1 Watchers
0 Forks
Languages
TypeScript
71.9%
Vue
21.6%
JavaScript
5.2%
CSS
1.1%
