Promptera is a native macOS app that lives in your Menu Bar, integrating a Clipboard History Manager with a Prompt Engineering Harness based on the Oxair methodology ("How to Create Your Own AI Prompt Generator That Works Forever").
Promptera runs 100% locally and privately with Metal hardware acceleration on your Apple Silicon (M4) processor using local models via Ollama.
π Idiomas / Languages / Idiomas: English β’ PortuguΓͺs β’ EspaΓ±ol
Download the latest .dmg in Releases.
![]() |
![]() |
| Generator β Aurora (dark) | Clipboard history β Ocean (light) |
![]() |
![]() |
| Settings with 5 color themes β Sunset (dark) | Generator β Aurora (light) |
- Elegant icon in macOS menu bar (
MenuBarExtranative) - No Dock pollution (
LSUIElement = true) - Fast, responsive SwiftUI interface with Dark/Light Mode support
- Animated tab transitions
- Continuous background monitoring of
NSPasteboard - Searchable history of recent text and code snippets
- Real-time fuzzy search
- 1-click to load any item as context for prompt generation
- 1-click to copy generated Master Prompt back to clipboard
- Context menu actions (right-click)
- Automatic persistence between sessions
- Oxair Loop (Generate β Critique β Refine): AI drafts, audits own flaws/implicit assumptions, synthesizes a battle-tested Master Prompt
- Modular Mode: Adds dynamic variables (
{{variable}}) to transform prompt into reusable template - Direct Mode: Structured Master Prompt in single pass
- Domain Presets: Ready-to-use configurations for:
- π οΈ Software Engineering β Architecture, refactoring, tests, documentation
- ποΈ System Design & DevOps β Distributed systems, databases, microservices
- π§ Deep Analysis & Reasoning β Complex problems, synthesis, decision-making
- βοΈ Copywriting & Content β Persuasive copy, articles, documentation
- β¨ Universal (Master) β Any general objective
- Detects and connects to local Ollama server (
http://127.0.0.1:11434) - Auto-selects best models for M4 (
qwen2.5-coder:7b,llama3.1,phi4-mini,deepseek-coder-v2) - Real-time token streaming
- 100% local β no data leaves your Mac
- Model, preset, and mode saved automatically
- Configurable Ollama URL
- Full Export/Import (JSON)
- Generated prompts
- Clipboard history
- Settings
# Generate from provided text:
swift run promptera "Create a JWT auth microservice in Go"
# Or use current clipboard content:
swift run promptera --clipboard- macOS 14.0+ (Sonoma)
- Ollama installed
- Recommended models:
ollama pull qwen2.5-coder:7b llama3.1 phi4-mini
ollama serve# Option A: Build and run directly
swift run PrompteraApp
# Option B: Build native .app
./scripts/build_app.sh
open build/Promptera.appcp -R build/Promptera.app /Applications/# All tests (unit + E2E)
swift test
# Only fast unit tests
swift test --filter "PrompteraKitTests"
# With coverage (requires llvm-cov)
swift test --enable-code-coverage
xcrun llvm-cov export -format="lcov" .build/debug/PrompteraKitTests.xctest/Contents/MacOS/PrompteraKitTests -instr-profile .build/debug/codecov/default.profdata > coverage.lcovpromptera/
βββ Package.swift # Swift Package config
βββ Sources/
β βββ PrompteraKit/ # Core Library (reusable)
β β βββ Models.swift # Data models and presets
β β βββ ClipboardManager.swift # NSPasteboard monitoring
β β βββ OllamaClient.swift # HTTP client with streaming
β β βββ PromptHarness.swift # Meta-prompting engine (Oxair)
β β βββ PrompteraState.swift # Reactive @MainActor state
β βββ PrompteraApp/ # macOS App (SwiftUI MenuBar)
β β βββ PrompteraApp.swift # MenuBarExtra entry point
β β βββ Views/
β β βββ MainMenuView.swift # Main window with tabs
β β βββ PromptGeneratorView.swift # Editor, presets, streaming
β β βββ ClipboardHistoryView.swift # Copy/paste history
β βββ PrompteraCLI/ # Terminal CLI interface
β βββ main.swift # Command line executable
βββ Tests/
β βββ PrompteraKitTests/ # 63 tests (unit + E2E)
βββ scripts/
β βββ build_app.sh # Build script for Promptera.app
βββ .github/
β βββ workflows/ # CI/CD GitHub Actions
β βββ ISSUE_TEMPLATE/ # Issue templates
βββ build/
βββ Promptera.app # Compiled app
| Shortcut | Action |
|---|---|
ββ |
Generate Master Prompt |
β |
Cancel generation |
βU |
Use selected clipboard item |
ββ« |
Clear input |
βC |
Copy generated prompt |
We love contributions! See our Contributing Guide to get started.
This project participates in Hacktoberfest! Issues tagged with hacktoberfest are ideal for contributions during the event.
MIT License - see LICENSE for details.
- Oxair for the prompt engineering methodology
- Ollama for amazing local inference
- Apple for Silicon and native frameworks
- Swift Community for open source tools
- π Report Bug
- π‘ Request Feature
- π¬ Discussions
Made with β€οΈ for the Apple Silicon developer community



