promptmgr is a flexible Bash-based toolset for power users to manage, store, and quickly use AI prompts for ChatGPT, Claude, Midjourney, and other LLMs.
Features:
- Store prompts with custom variables and categories
- Desktop selection via Rofi, or terminal selection via fzf
- Paste instantly to clipboard, including variable replacement
- MariaDB/Mysql backend for robust, portable storage
- Fast add/list/delete from CLI or desktop
- Safe: secrets/config in a separate file
- Blazing fast: instant prompt selection and copying to clipboard
- Support for prompt variables (e.g.,
{{topic}}) - Search and organize: subcategories, AI platform, and descriptions
- Full terminal and desktop support:
- Add/edit with your favorite $EDITOR
- Separation of secrets and config
- Cross-distro (works on any Linux with Bash, Rofi/fzf, and MariaDB client)
- Works on Wayland/X11, macOS (pbcopy), and most major environments
git clone https://github.com/your-username/promptmgr.git cd promptmgr sudo apt install rofi mariadb-client xclip # or: sudo dnf/yum/pacman ... etc.
create a database and import sql /config/database.sql and set the credentials in the config files.
copy the file promptmgr_db.conf into your ~/.ssh/ folder and copy the files , with your preferred name into /usr/local/bin
Gebruik: ./prompt_fzf.sh [--add | --list | --select | --delete | --help] Opties: --add Prompt toevoegen --list Lijst tonen --select Prompt kiezen en kopiëren (standaard) --delete Prompt verwijderen --help Deze helptekst
Good Luck
