Star 历史趋势
数据来源: GitHub API · 生成自 Stargazers.cn
README.md

Prompt Library

Prompt Library

A lightweight desktop app for organizing, searching, and copying AI prompts.
Built with Tauri v2, Rust, and vanilla JavaScript.

Platform License GitHub Sponsors


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+N new prompt, Ctrl+F search, Ctrl+B sidebar

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 installer

Installers 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:

  1. Bump the version in package.json, src-tauri/Cargo.toml, and src-tauri/tauri.conf.json.
  2. Commit and push the version bump.
  3. Tag and push: git tag v1.0.1 && git push origin v1.0.1.
  4. 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

  1. Close Prompt Library.
  2. Run Prompt Library_<version>_x64-setup.exe
  3. Finish the installer.
  4. Open Prompt Library again from the Start menu or:
C:\Users\<your-user>\AppData\Local\Prompt Library\prompt-library.exe

Project 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

FrameworkTauri v2
BackendRust
FrontendHTML / CSS / JS (no framework)
StorageLocal JSON file
FontInter

Roadmap

See ROADMAP.md.

Contributing

  1. Fork the repo
  2. Create a branch (git checkout -b feature/your-feature)
  3. Commit (git commit -m 'add your feature')
  4. Push (git push origin feature/your-feature)
  5. Open a PR

Support

If Prompt Library helps your workflow, you can support ongoing development on GitHub Sponsors.

License

MIT — see LICENSE.

关于 About

A clean, open-source desktop app to organize and manage your AI prompts. Built with Electron.

语言 Languages

CSS55.7%
JavaScript20.8%
HTML13.8%
Rust9.7%

提交活跃度 Commit Activity

代码提交热力图
过去 52 周的开发活跃度
55
Total Commits
峰值: 20次/周
Less
More

核心贡献者 Contributors