Prompt Optimizer refines your instructions to ensure AI models grasp your intent precisely. It is available as a web app, desktop application, Chrome extension, or Docker container—choose the setup that best fits your workflow.
The tool transforms vague prompts into clear, structured directions. Whether you are building a role-play persona, extracting entities for a knowledge graph, or composing poetry, it provides the necessary clarity. For role-play, a tightened prompt helps smaller models maintain character consistency. For knowledge graphs, it ensures smaller models produce clean, predictable JSON. For creative writing, it converts a loose idea into a concrete creative brief.
Core Features
How to Use It
Hosted Web App (Recommended)
Visit prompt.always200.com. The site runs entirely in your browser. All prompts and settings stay on your local machine and are never uploaded to a remote server.
Deploying on Vercel
ACCESS_PASSWORD for security and VITE_OPENAI_API_KEY for your model keys.The fork method allows you to sync upstream changes and keep your deployment up to date.
Desktop Application
Download the installer or portable ZIP from the GitHub Releases page. The installer version supports automatic updates, while the portable version does not. The desktop app bypasses CORS restrictions entirely, allowing you to call any API endpoint directly without browser-imposed limitations.
Chrome Extension
Install the optimizer from the Chrome Web Store. Once installed, click the icon to launch the tool. Note that the Web Store version may occasionally lag behind the latest GitHub release.
Docker
For a basic setup:
docker run -d -p 80:80 --restart unless-stopped --name prompt-optimizer linshen/prompt-optimizer
To include API keys and a password at launch:
docker run -d -p 80:80 \
-e VITE_OPENAI_API_KEY=your_key \
-e ACCESS_USERNAME=your_username \
-e ACCESS_PASSWORD=your_password \
--restart unless-stopped \
--name prompt-optimizer \
linshen/prompt-optimizer
Users in China can use the Alibaba Cloud registry instead: registry.cn-guangzhou.aliyuncs.com/prompt-optimizer/prompt-optimizer.
Docker Compose
git clone https://github.com/linshenkx/prompt-optimizer.git
cd prompt-optimizer
# Create .env file (optional)
cat > .env << EOF
VITE_OPENAI_API_KEY=your_openai_api_key
VITE_GEMINI_API_KEY=your_gemini_api_key
VITE_DEEPSEEK_API_KEY=your_deepseek_api_key
VITE_ZHIPU_API_KEY=your_zhipu_api_key
VITE_SILICONFLOW_API_KEY=your_siliconflow_api_key
ACCESS_USERNAME=your_username
ACCESS_PASSWORD=your_password
EOF
docker compose up -d
docker compose logs -f
Configuring API Keys
llmParams field. For example: {"temperature": 0.7, "max_tokens": 4096, "timeout": 60000}.-e flags during Docker deployment as shown in the examples above.Local Development
git clone https://github.com/linshenkx/prompt-optimizer.git
cd prompt-optimizer
pnpm install
# Run the full environment (builds core/ui and serves the web app)
pnpm dev
# Serve the web app only
pnpm dev:web
# Perform a clean reset and restart
pnpm dev:fresh
Troubleshooting
OLLAMA_ORIGINS=* to allow requests from any origin. If issues persist, set OLLAMA_HOST=0.0.0.0:11434 to ensure it listens on all interfaces.http:// addresses (common for local models). To resolve this, use the desktop app, Chrome extension, or Docker version, as these environments do not enforce the same mixed-content restrictions.
DeepSeek-OCR: High-Speed Visual Text Compression That Actually Works
AI Presentation Generator: An Open-Source Gamma Alternative for Slide Decks
FossFLOW: Offline-Ready Isometric Diagram Builder for the Browser
Xiaozhi Client: MCP Server Aggregator for Cursor and XiaoZhi AI
MemoryOS: Equip AI Agents with Persistent Recall via a Memory Hierarchy
MAS-Zero: Developing Self-Evolving Multi-Agent Systems Without Human Labels
Lively Wallpaper Guide: Free Dynamic Desktops for Windows 10 & 11
SelfyAI: Build Your Own AI Agent as a Virtual World Asset
BAGEL 7B MoT: The Open Multimodal Model Outperforming Qwen2.5-VL
AI Peer Review Tool for Neuroscience: LLM-Driven Meta-Review Framework
ACE-Step: 15x Faster Open-Source Music Generation Model
What Is a Web Accelerator? Speed Up Your Site Without the Hype