#tui #prompt-engineering #llm #productivity #llm-prompt

app flowprompt-cli

A terminal-based tool designed to manage, categorize, and inject variables into LLM prompts

1 stable release

1.0.0 Jan 11, 2026

#1805 in Development tools

MIT license

23KB
497 lines

FlowPrompt

Crates.io MIT License

███████╗██╗      ██████╗ ██╗    ██╗██████╗ ██████╗  ██████╗ ███╗   ███╗██████╗ ████████╗
██╔════╝██║     ██╔═══██╗██║    ██║██╔══██╗██╔══██╗██╔═══██╗████╗ ████║██╔══██╗╚══██╔══╝
█████╗  ██║     ██║   ██║██║ █╗ ██║██████╔╝██████╔╝██║   ██║██╔████╔██║██████╔╝   ██║
██╔══╝  ██║     ██║   ██║██║███╗██║██╔═══╝ ██╔══██╗██║   ██║██║╚██╔╝██║██╔═══╝    ██║
██║     ███████╗╚██████╔╝╚███╔███╔╝██║     ██║  ██║╚██████╔╝██║ ╚═╝ ██║██║        ██║
╚═╝     ╚══════╝ ╚═════╝  ╚══╝╚══╝ ╚═╝     ╚═╝  ╚═╝ ╚═════╝ ╚═╝     ╚═╝╚═╝        ╚═╝

FlowPrompt is a powerful terminal-based tool designed to manage, categorize, and inject variables into Large Language Model (LLM) prompts without breaking your flow state.

Manage your prompts locally, pipe code directly into templates, and copy the result to your clipboard instantly—all from the comfort of your terminal.


🚀 Features

  • Pipe-First Workflow: cat file.rs | flow use refactor automatically fills {{input}}.
  • Interactive TUI: A "fun mode" dashboard (flow ui) to browse and select prompts with style.
  • Smart Variables: Automatically detects {{variables}} and prompts you for them interactively.
  • Fuzzy Search: Integrated flow search for when you forget prompt aliases.
  • Local & Private: 100% local JSON storage (~/.config/flowprompt/prompts.json).
  • Clipboard Integration: Output loops directly to your system clipboard (or stdout with --print).

📦 Installation

You can install FlowPrompt directly via Cargo:

cargo install flowprompt-cli

From Source

Ensure you have Rust installed (via rustup).

git clone https://github.com/pronzzz/flowprompt.git
cd flowprompt/flow
cargo install --path .

🛠 Usage

1. Create a Prompt (flow add)

Refining your prompts is key. Save them once, use them forever.

flow add

2. The Dashboard (flow ui)

Launch the interactive TUI to browse your collection.

flow ui

3. Quick Use (flow use)

The Power Move: Pipe content directly into a prompt.

cat src/main.rs | flow use refactor

Can't remember the alias? Fuzzy search it.

flow search

📂 Configuration

Prompts are stored in ~/.config/flowprompt/prompts.json.

🤝 Contributing

Contributions are welcome! Please open an issue or submit a pull request.

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.

Dependencies

~19–38MB
~591K SLoC