BHelper
A macOS menu bar app that lets you rewrite selected text using AI models from Ollama, OpenAI, Google Gemini, and Anthropic Claude.
BHelper
Enhance your writing with AI, right from your Mac's menu bar.
BHelper is a macOS menu bar app that lets you effortlessly rewrite selected text using state-of-the-art AI models from leading providers.
Note: This app is currently unsigned due to the $99 Apple Developer Program fee requirement.
Features
- Effortless Rewriting - Select text in any app, use a keyboard shortcut, and BHelper rewrites it using your chosen AI model
- Multiple AI Providers - Choose from Ollama (free, local), OpenAI, Google Gemini, or Anthropic Claude
- Model Selection - Pick your preferred model from each provider
- Customizable Pre-prompts - Guide the AI's rewriting style with custom prompts
- Global Hotkeys - Trigger transformations with convenient keyboard shortcuts
- Universal Compatibility - Works with any application where you can select text
Supported AI Providers
| Provider | Models | Cost |
|---|---|---|
| Ollama | llama3, mistral | Free (local) |
| OpenAI | gpt-4, gpt-4-turbo | Paid |
| gemini-1.5-pro | Free | |
| Anthropic | claude-2, claude-instant-1, sonnet-3.5, opus | Free $5 credit |
Installation
Download
- Download the latest release from the Releases page
- Look for the
.zipfile
Install
- Double-click the downloaded
BHelper.zipto extract - Drag
BHelper.appto your Applications folder
First Run
Since BHelper isn't from the App Store, macOS will show a warning:
- Right-click (or Control-click) on
BHelper.app - Select "Open" from the menu
- Click "Open" in the warning dialog
- BHelper will launch and appear in your menu bar
Grant Permissions
BHelper needs Accessibility permissions to read and modify selected text:
- Open System Preferences > Privacy & Security > Privacy
- Select Accessibility in the sidebar
- Click the lock icon and authenticate
- Find and enable BHelper
API Key Setup
OpenAI
Get your API key from: https://beta.openai.com/account/api-keys
Anthropic
Sign up at https://console.anthropic.com/ to get $5 in free credits
Free Options
- Ollama - Run powerful models locally on your Mac at no cost
- Google Gemini - Currently available for free
Keyboard Shortcuts
| Action | Shortcut |
|---|---|
| Transform with Pre-prompt | Cmd + Ctrl + Option + U |
| Use Selection as Prompt | Cmd + Ctrl + Option + I |
Tech Stack
- Language: Swift
- Platform: macOS
- Architecture: Menu bar application
- AI SDKs: SwiftAnthropic, OpenAISwift, GoogleGenerativeAI
Contributing
Contributions are welcome! Feel free to open issues or submit pull requests.
License
This project is open source. See the repository for license details.
Acknowledgements
Built with these excellent libraries: