Skip to main content

Tutorial: macOS Setup

This tutorial walks you through the complete macOS-specific onboarding for Rephlo, from installation through your first drag-select command. If you have already completed the general Installation & Setup, this tutorial covers the macOS details in greater depth.

Purpose

macOS has unique security and privacy requirements that affect how Rephlo operates. Unlike Windows, where global hotkeys work out of the box, macOS requires explicit user consent for Accessibility and Screen Recording. This tutorial ensures you configure everything correctly so that Rephlo's full feature set is available from day one.

Prerequisites

RequirementDetails
macOS Version10.15 Catalina or later
ArchitectureApple Silicon (M1/M2/M3/M4) or Intel (x64)
Disk Space~250 MB for the application bundle
Ollama (optional)If you plan to use local models, install Ollama separately

Step 1: Download and Install

1.1 Download Rephlo

Go to https://rephlo.app/download and download the latest macOS package:

  • Rephlo-macos-arm64.dmg for Apple Silicon Macs (M1/M2/M3/M4)
  • Rephlo-macos-x64.dmg for Intel Macs

1.2 Install to Applications

  1. Open the downloaded .dmg file.
  2. Drag Rephlo.app into the /Applications folder.
  3. Eject the disk image.
┌─────────────────────────────────────────────────────────────────────────┐
│ DMG INSTALL WINDOW │
├─────────────────────────────────────────────────────────────────────────┤
│ │
│ ┌──────────┐ ┌──────────────┐ │
│ │ │ ─────────> │ │ │
│ │ Rephlo │ Drag here │ Applications │ │
│ │ .app │ │ folder │ │
│ │ │ │ │ │
│ └──────────┘ └──────────────┘ │
│ │
└─────────────────────────────────────────────────────────────────────────┘

1.3 First Launch — Gatekeeper

The first time you open Rephlo, macOS Gatekeeper may block it with a message: "Rephlo.app cannot be opened because the developer cannot be verified."

To proceed:

  1. Do not double-click the app. Instead, right-click (or Control-click) Rephlo.app in /Applications.
  2. Select "Open" from the context menu.
  3. In the confirmation dialog, click "Open" again.

macOS remembers this choice. Subsequent launches work normally by double-clicking.

Why does this happen? macOS Gatekeeper warns about apps downloaded from outside the Mac App Store. The right-click > Open method bypasses this check for the current app.


Step 2: Grant Required Permissions

Why Permissions Are Needed

Rephlo uses SharpHook (a cross-platform library wrapping macOS CGEventTap) to listen for global hotkeys and monitor text selection across all applications. macOS requires Accessibility permission for any process that creates a CGEventTap. Screen Recording permission is required separately for screenshot capture.

Without these permissions, Rephlo's system-wide integration will not function.

2.1 The PermissionPreCheckDialog

Immediately after the first launch, Rephlo displays the PermissionPreCheckDialog:

┌─────────────────────────────────────────────────────────────────────────┐
│ PERMISSION PRECHECK DIALOG │
├─────────────────────────────────────────────────────────────────────────┤
│ │
│ ┌─────────────────────────────────────────────────────────────────┐ │
│ │ │ │
│ │ Rephlo needs permissions to work properly │ │
│ │ │ │
│ │ ┌─────────────────────────────────────────────────────────┐ │ │
│ │ │ 1. Accessibility [ ] Granted │ │ │
│ │ │ Global hotkeys and text detection │ │ │
│ │ │ [Open System Settings] │ │ │
│ │ └─────────────────────────────────────────────────────────┘ │ │
│ │ │ │
│ │ ┌─────────────────────────────────────────────────────────┐ │ │
│ │ │ 2. Screen Recording [ ] Granted │ │ │
│ │ │ Screenshot capture for visual commands │ │ │
│ │ │ [Open System Settings] │ │ │
│ │ └─────────────────────────────────────────────────────────┘ │ │
│ │ │ │
│ │ [Check Again] [Skip for Now] │ │
│ │ │ │
│ └─────────────────────────────────────────────────────────────────┘ │
│ │
└─────────────────────────────────────────────────────────────────────────┘

2.2 Grant Accessibility Permission

  1. In the PermissionPreCheckDialog, click "Open System Settings" next to Accessibility.
  2. macOS opens System Settings > Privacy & Security > Accessibility.
  3. Locate Rephlo in the app list.
  4. Toggle the switch ON.
  5. If prompted, authenticate with your macOS password or Touch ID.
  6. Return to the Rephlo dialog.
┌─────────────────────────────────────────────────────────────────────────┐
│ SYSTEM SETTINGS > ACCESSIBILITY │
├─────────────────────────────────────────────────────────────────────────┤
│ │
│ Privacy & Security > Accessibility │
│ │
│ Allow the apps below to control your computer. │
│ │
│ ┌─────────────────────────────────────────────────────────────────┐ │
│ │ App Name Toggle │ │
│ ├─────────────────────────────────────────────────────────────────┤ │
│ │ Terminal [OFF] │ │
│ │ Rephlo [ON] <--- │ │
│ │ ... │ │
│ └─────────────────────────────────────────────────────────────────┘ │
│ │
│ Click the lock icon to make changes. Authenticate if prompted. │
│ │
└─────────────────────────────────────────────────────────────────────────┘

2.3 Grant Screen Recording Permission

  1. In the PermissionPreCheckDialog, click "Open System Settings" next to Screen Recording.
  2. macOS opens System Settings > Privacy & Security > Screen Recording.
  3. Locate Rephlo in the app list.
  4. Toggle the switch ON.
  5. Authenticate if prompted.
  6. Return to the Rephlo dialog.

2.4 Verify and Restart

  1. Back in the Rephlo dialog, click "Check Again".
  2. Both permissions should now show as Granted.
  3. Quit Rephlo completely (right-click the menu bar icon > Exit, or Cmd+Q).
  4. Relaunch Rephlo from /Applications. Some macOS permission changes require a full restart to take effect.

Tip: If the checkboxes still show "Not Granted" after toggling the permissions on, try quitting Rephlo, waiting a few seconds, and relaunching. macOS sometimes caches the old permission state.


Step 3: Set Up Your First Provider

With permissions granted, configure an AI provider so Rephlo can process your commands.

  1. Click the Rephlo icon in the menu bar, then select "Settings" (or open the Dashboard and navigate to Settings).
  2. Go to Settings > LLM Providers.
  3. Choose a provider from the list:
ProviderWhat You Need
OpenAIAPI key from platform.openai.com
AnthropicAPI key from console.anthropic.com
GoogleAPI key from aistudio.google.dev
GroqAPI key from console.groq.com
xAI (Grok)API key from console.x.ai
OpenRouterAPI key from openrouter.ai
Azure OpenAIEndpoint URL + API key from your Azure portal
OllamaLocal install, no key needed (endpoint: http://localhost:11434)
OpenAI-CompatibleEndpoint URL + API key for any compatible service
  1. Enter your API Key (and endpoint URL if applicable).
  2. Click Test Connection to verify.
  3. Click Save.

Quick start recommendation: If you are new to AI APIs, OpenAI or Anthropic are the most straightforward to set up. If you prefer full privacy with no cloud dependency, install Ollama and use local models.


Step 4: Learn macOS Hotkeys

Rephlo uses platform-specific default hotkeys. Here are the macOS defaults compared to Windows/Linux:

ActionmacOSWindows / Linux
Context Menu OverlayShift+Cmd+CCtrl+Shift+Alt+C
Screenshot CaptureShift+Cmd+SCtrl+Shift+Alt+S
Drag-Select ModifierCmdCtrl
Zoom InCmd+PlusCtrl+Plus
Zoom OutCmd+MinusCtrl+Minus
Reset ZoomCmd+0Ctrl+0

Customizing Hotkeys

All hotkeys are fully customizable:

  1. Open Settings > Hotkeys.
  2. Click the hotkey field you want to change.
  3. Press your desired key combination.
  4. Click Save.

Tip: If a hotkey conflicts with another application (e.g., Spotlight, Alfred, or Raycast), choose an alternative combination. Rephlo will warn you if the chosen hotkey is already in use by the system.


Step 5: Test with Drag-Select

The drag-select workflow is the fastest way to use Rephlo on macOS. Let's try it:

5.1 Open Any Text Application

Open TextEdit, Notes, Safari, or any app with selectable text.

5.2 Perform the Drag-Select

  1. Hold the Cmd key (the default drag-select modifier on macOS).
  2. While holding Cmd, click and drag your mouse across some text to select it.
  3. When you release the mouse button, the Rephlo overlay appears immediately near your cursor.
┌─────────────────────────────────────────────────────────────────────────┐
│ DRAG-SELECT WORKFLOW (macOS) │
├─────────────────────────────────────────────────────────────────────────┤
│ │
│ 1. Hold Cmd 2. Drag to select 3. Overlay appears │
│ ┌──────────┐ ┌──────────────────┐ ┌────────────────────┐ │
│ │ │ │ │ │ Active: "Lorem..." │ │
│ │ [Cmd] │ + │ "Lorem ipsum │ ──> ├────────────────────┤ │
│ │ (hold) │ │ dolor sit..." │ │ > Summarize │ │
│ │ │ │ [============] │ │ Fix Grammar │ │
│ └──────────┘ └──────────────────┘ │ Translate │ │
│ └────────────────────┘ │
│ │
│ 4. Click a command to execute it. │
│ 5. Result appears. Copy or Insert back into the original app. │
│ │
└─────────────────────────────────────────────────────────────────────────┘

5.3 Execute a Command

  1. In the overlay, click "Summarize" (or any command).
  2. Rephlo sends the selected text to your configured AI provider.
  3. The result appears in the overlay.
  4. Click Copy to place the result on your clipboard, or Insert to replace the original text.

Note: The drag-select modifier key is customizable. Go to Settings > Hotkeys > Text Selection Trigger to change it from Cmd to another key if preferred.


Troubleshooting macOS-Specific Issues

Hotkeys Not Working

Symptom: Pressing Shift+Cmd+C does nothing. The overlay does not appear.

Cause: Accessibility permission is not granted, or the app was not restarted after granting the permission.

Fix:

  1. Open System Settings > Privacy & Security > Accessibility.
  2. Confirm Rephlo is toggled ON.
  3. If it was already on, toggle it OFF, then ON again.
  4. Quit and relaunch Rephlo.

Screenshot Capture Not Working

Symptom: Screenshot commands fail or produce a blank image.

Cause: Screen Recording permission is not granted.

Fix:

  1. Open System Settings > Privacy & Security > Screen Recording.
  2. Confirm Rephlo is toggled ON.
  3. Quit and relaunch Rephlo.

Overlay Not Appearing

Symptom: You press the hotkey or drag-select, but no overlay window appears.

Possible Causes and Fixes:

Possible CauseFix
Accessibility not grantedGrant Accessibility permission and restart
App not running as .app bundleLaunch from /Applications/Rephlo.app, not via dotnet run
Hotkey conflict with another appCheck Settings > Hotkeys for conflicts; change the combination
App is pausedRight-click the menu bar icon; if "Resume Rephlo" is shown, click it

Gatekeeper Blocks the App on Every Launch

Symptom: macOS keeps showing the "developer cannot be verified" warning.

Fix: Ensure you right-clicked and selected "Open" on the first launch. If the issue persists:

  1. Open System Settings > Privacy & Security.
  2. Scroll down to the Security section.
  3. You should see a message about Rephlo being blocked. Click "Open Anyway".

Rephlo Not Visible in Permission Lists

Symptom: You open System Settings > Accessibility but Rephlo is not listed.

Fix: Launch Rephlo at least once. macOS adds apps to permission lists only after the app first attempts to use the protected feature. After launching, check the permission list again.


Next Steps

You are now fully set up on macOS. Here are recommended next steps: