Prompt Library
A lightweight desktop app for organizing, searching, and copying AI prompts.
Built with Tauri v2, Rust, and vanilla JavaScript.
Features
Organization
- Folders with custom colors, drag-and-drop reordering
- Tag prompts, star your favorites
- Move prompts between folders by dragging cards to the sidebar
Productivity
- One-click copy to clipboard
- Global quick-save shortcut (
Ctrl+Shift+S) - Search across names, text, and tags
- Sort by name, date, or last edited
- Keyboard shortcuts:
Ctrl+Nnew prompt,Ctrl+Fsearch,Ctrl+Bsidebar
Extras
- Attach images to prompts (paste, drag, or browse)
- Character counter with token-limit warnings
- Dark and light theme
- ~5 MB installer
Install
Download a prebuilt installer
Grab the latest installer from the GitHub Releases page:
- Windows —
Prompt Library_*_x64-setup.exe(NSIS, ~5 MB) - macOS —
Prompt Library_*_universal.dmg(Universal: Apple silicon + Intel)
The macOS build is unsigned. On first launch, right-click the app and choose Open to bypass Gatekeeper, then confirm.
If no release has been published yet, see "Build from source" below.
Build from source
You need Rust, Node.js 18+, and cargo install tauri-cli.
On macOS, also install Xcode Command Line Tools:
xcode-select --install
On Windows, install Visual Studio Build Tools with the "Desktop development with C++" workload.
Then:
git clone https://github.com/Leonxlnx/prompt-library.git
cd prompt-library
npm install
npm run dev # run in dev mode
npm run build # produce a release installerInstallers are generated here:
src-tauri/target/release/bundle/Typical files:
- Windows:
src-tauri/target/release/bundle/nsis/Prompt Library_1.0.0_x64-setup.exe - macOS:
src-tauri/target/release/bundle/dmg/Prompt Library_1.0.0_*.dmg
Cutting a release
Releases are produced by GitHub Actions (.github/workflows/release.yml). To publish a new version:
- Bump the version in
package.json,src-tauri/Cargo.toml, andsrc-tauri/tauri.conf.json. - Commit and push the version bump.
- Tag and push:
git tag v1.0.1 && git push origin v1.0.1. - The workflow builds Windows + macOS (universal) installers and opens a draft release. Edit it, add notes, and publish.
You can also trigger the workflow manually from the Actions tab (Run workflow → enter the tag name).
Reinstall or update on Windows
- Close Prompt Library.
- Run
Prompt Library_<version>_x64-setup.exe - Finish the installer.
- Open Prompt Library again from the Start menu or:
C:\Users\<your-user>\AppData\Local\Prompt Library\prompt-library.exeProject structure
prompt-library/
├── renderer/ # Frontend (HTML, CSS, JS)
│ ├── index.html
│ ├── styles.css
│ ├── app.js
│ ├── quicksave.html
│ └── quicksave.js
├── src-tauri/ # Rust backend
│ ├── src/lib.rs # Core logic and commands
│ ├── src/main.rs # Entry point
│ ├── tauri.conf.json # App config
│ ├── capabilities/ # Permission definitions
│ └── Cargo.toml
├── package.json
├── ROADMAP.md
├── LICENSE
└── README.md
Tech stack
| Framework | Tauri v2 |
| Backend | Rust |
| Frontend | HTML / CSS / JS (no framework) |
| Storage | Local JSON file |
| Font | Inter |
Roadmap
See ROADMAP.md.
Contributing
- Fork the repo
- Create a branch (
git checkout -b feature/your-feature) - Commit (
git commit -m 'add your feature') - Push (
git push origin feature/your-feature) - Open a PR
Support
If Prompt Library helps your workflow, you can support ongoing development on GitHub Sponsors.
License
MIT — see LICENSE.