Thanks to visit codestin.com
Credit goes to github.com

Skip to content

xibaoer/prompt-buddy

 
 

Repository files navigation

Prompt Picker

Languages | 语言: English | 简体中文

A lightweight, always-on-top desktop app for quickly accessing and managing your most-used prompts for Cursor. Built with Tauri v2, React and TypeScript for a fast, truly native feel and near-zero resource overhead.

Heads-up ⚠️ Windows builds are not available yet. At the moment Prompt Picker officially supports macOS (13 Ventura or later) only. Linux and Windows support are planned but not yet available.


✨ Features

  • Liquid-glass UI – Gorgeous transparent design that blends into macOS.
  • Always on Top – Keep your favourite prompts one click away while you code.
  • One-Click Copy – Tap any prompt to instantly copy it to your clipboard.
  • Fully Customisable – Add, edit or delete prompts; they persist automatically.
  • Dark-Mode Aware – Adapts to your system appearance.
  • Tiny Footprint – Powered by Tauri – starts fast and uses little RAM.

📦 Installation (macOS)

Important for Downloaded Builds ⚠️

If you downloaded a pre-built app and see "Prompt Buddy is damaged and can't be opened", this is a macOS security feature. The app isn't actually damaged - it just needs to be allowed to run:

Option 1: Right-click method

  1. Right-click the app and select "Open"
  2. Click "Open" in the dialog that appears

Option 2: System Settings

  1. Go to System SettingsPrivacy & Security
  2. Look for a message about "Prompt Buddy" and click "Open Anyway"

Option 3: Terminal method

# Replace with your actual app location, typically one of:
# /Applications/Prompt Buddy.app
# ~/Downloads/Prompt Buddy.app  
# ~/Desktop/Prompt Buddy.app

xattr -cr "/Applications/Prompt Buddy.app"

1 · Prerequisites

  • Node ≥ 18
  • Rust (stable)rustup install stable
  • Xcode Command-Line Toolsxcode-select --install

2 · Clone & Install

# clone the repo
git clone https://github.com/<your-org>/prompt-buddy.git
cd prompt-buddy

# install JavaScript dependencies
npm install

3 · Run in Development

npm run tauri dev

The window will appear and hot-reload on changes.

4 · Build a Release DMG

npm run tauri build

The signed DMG can be found under src-tauri/target/release/bundle/dmg.


▶️ Usage

  1. Launch the app – The small floating window stays in front of everything.
  2. Click a prompt – It is copied to your clipboard instantly.
  3. Manage prompts – Use the ✏️ / ➕ / ✕ icons to edit, create or delete.
  4. Reset defaults – Open Settings → Reset to defaults.

🖥️ Platform Support

  • ✅ macOS 13 +
  • 🟡 Windows (coming soon)
  • 🚧 Linux (coming soon)

🛠 Development

Prompt Picker is built with:

Code Signing (macOS Distribution)

To distribute the app without the "damaged" error, you need to code sign and notarize:

  1. Get a Developer ID Certificate

    • Join the Apple Developer Program ($99/year)
    • Create a "Developer ID Application" certificate in Xcode or Developer Portal
  2. Set Environment Variables Copy env.example to .env and fill in your actual values:

    cp env.example .env
    # Then edit .env with your certificate details

    Or export them in your shell:

    export APPLE_CERTIFICATE_IDENTITY="Developer ID Application: Your Name (TEAM_ID)"
    export APPLE_ID="[email protected]"
    export APPLE_PASSWORD="app-specific-password"
    export APPLE_TEAM_ID="YOUR_TEAM_ID"
  3. Build with Code Signing

    npm run tauri build

The resulting app will be properly signed and notarized, eliminating the security warning.


🤝 Contributing

Contributions are welcome! Please read the CONTRIBUTING.md to get started.


📝 License

Prompt Picker is released under the GNU Affero General Public License v3.0.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 34.2%
  • Rust 31.1%
  • CSS 23.3%
  • HTML 11.4%