Core Features

PromptHub is a feature-rich AI Prompt management tool. This page details all core capabilities.

Prompt Management

Create & Edit

Main Interface

  • Rich Editor: Markdown syntax highlighting
  • Live Preview: See rendered output in real-time
  • Auto-Save: Drafts are saved automatically

Folder Organization

Organize prompts by project or purpose:

  • Unlimited folder nesting
  • Drag and drop to reorder
  • Bulk operations (move, delete)

Tag System

Flexible categorization with tags:

  • Multiple tags per prompt
  • Quick filtering by tag
  • Custom tag colors

View Modes

Gallery View List View

PromptHub provides three view modes (Card, Gallery, List) to suit different scenarios.

Variable Templates

Variable Filling

Basic Syntax

Define variables with double curly braces:

You are a {{role}} expert.
Please analyze the following:
{{content}}

Variable Types

TypeSyntaxDescription
Text{{name}}Single-line text input
Textarea{{content:textarea}}Multi-line text input
Select{{type:select:A,B,C}}Dropdown selection
  1. Copy the rendered prompt

Bilingual Mode

Bilingual Mode

PromptHub supports maintaining both Chinese and English versions for the same prompt:

  • Quick Toggle: Seamlessly switch between languages in the detail view.
  • Smart Adapt: Automatic selection of the active language version when copying or testing.
  • Translation Aid: Ideal for fine-tuning prompts for international use.

Version Control

Automatic Versions

Every save creates a version snapshot:

  • Records modification time
  • Stores complete content
  • Supports version notes

Version Comparison

Version Diff

  • Side-by-side comparison
  • Highlighted changes
  • View additions/deletions

Rollback

One-click restore to any previous version. Current version is automatically backed up.

Multi-Model Testing

Supported Models

  • OpenAI: Supports all GPT series models
  • Anthropic: Supports all Claude series models
  • Google: Supports all Gemini series models
  • Popular & Open Source: Supports DeepSeek, Qwen, Mistral, Llama and local models (e.g., Ollama)

Configure API

Go to Settings → AI Models:

  1. Select provider
  2. Enter API Key
  3. Optional: Configure custom Base URL

Parallel Testing

Parallel Testing

  1. Open a prompt detail page
  2. Click the “AI Arena” (or Test) button at the bottom
  3. Select models to compare (up to 4)
  4. Fill in variables and click “Run”

Results are displayed side by side for easy comparison.

High-performance search powered by SQLite FTS5:

  • Chinese and English tokenization
  • Millisecond response time
  • Search titles, content, tags

Press Cmd/Ctrl + F for global search:

  • Real-time suggestions
  • Keyboard navigation
  • Quick jump to results

Data Export

Export Formats

  • JSON: Complete data, ideal for backup
  • YAML: Human-readable, great for version control
  • CSV: Tabular format, suitable for analysis

Export Options

  • Export single prompt
  • Export entire folder
  • Export all data

Data Backup

Data Sync

WebDAV Sync

Works with any WebDAV service:

  • Nextcloud
  • Synology NAS
  • Nutstore
  • Self-hosted servers

Sync Settings

  1. Go to Settings → Sync
  2. Enter server URL
  3. Provide username and password
  4. Choose sync frequency

Conflict Resolution

  • Automatic conflict detection
  • Keeps both versions
  • Manual resolution available

Advanced Settings

PromptHub provides extensive customization options to suit your workflow:

Personalized Display

Theme Settings

  • Theme Color: 6 built-in Morandi color themes, plus support for custom HEX colors.
  • Font Size: Small, Medium, and Large options to match your screen resolution.
  • Dark Mode: Supports follow system, always on, or always off.
  • Markdown Rendering: Toggle global Markdown rendering in prompt detail pages.

Editor Preferences

  • Auto-Save: Automatically save drafts during editing to prevent data loss.
  • Line Numbers: Show line numbers in the editor for better navigation.
  • Editor Preview: Set whether to open the editor in preview mode by default.

System Integration (Windows)

  • Close Behavior: Choose whether to minimize to tray or quit when clicking the close button.
  • Launch at Startup: Automatically start and minimize to tray upon login.

AI Parameter Optimization

Configure global parameters for different use cases:

  • Chat Models: Adjust Temperature, Max Tokens, Frequency Penalty, etc.
  • Thinking Mode: Support for specialized reasoning models like DeepSeek-V3.
  • Image Models: Configure generation size, quality (Standard/HD), and style (Vivid/Natural).

Keyboard Shortcuts

PromptHub provides extensive global and local shortcuts for maximum efficiency.

Essential Shortcuts

ShortcutAction
Alt + Shift + PShow / Hide Window
Alt + Shift + NCreate New Prompt
Cmd/Ctrl + FGlobal Full-Text Search
Cmd/Ctrl + SSave Editor
Cmd/Ctrl + EnterSave & Close Editor
EscapeClear Search / Close Modal