Skip to content

Repository files navigation

Clak

Your Mac and iPhone, each other's keyboard.

Type on your iPhone, iPad, or Apple TV with your Mac's full-size keyboard. Or flip it around: control your Mac from the couch with your iPhone as a wireless keyboard and trackpad. Clak emulates a standard Bluetooth keyboard in both directions. No companion app on the receiving device, no dongles, no setup beyond pairing.

Why?

You already own great input devices. Use them everywhere.

  • Text faster on your phone with a real keyboard: it keeps up with fast typing and never drops keys
  • Send text where Continuity can't: devices that aren't on your iCloud, and fields that block pasting. Clak types, so it always gets through
  • Drive your Mac from the sofa with a trackpad, keyboard, media keys, volume, and brightness
  • One keyboard for all your devices. Why waste money and desk space on a second one?

Get started in 3 easy steps

Type on your iPhone (Clak)

  1. Launch Clak on your Mac and grant Input Monitoring when asked. It starts advertising automatically.
  2. On the iPhone/iPad: Settings → Bluetooth → Clak, confirm the pairing request on the Mac.
  3. Start typing. Everything lands on the device instantly, in your keyboard layout. The cursor icon in the HUD opens a trackpad, and F7–F12 handle playback and volume.

Control your Mac (Clak Remote)

  1. Open Clak Remote on your iPhone and allow Bluetooth.
  2. On the Mac: System Settings → Bluetooth → Clak Remote → Connect, confirm the pairing on the phone.
  3. That's it. Drag to move the cursor, tap to click, two fingers to scroll with momentum. Tap ⌘ then space and Spotlight opens. Works anywhere a Bluetooth keyboard does, even the Mac login screen.

Pointer on iPhone: enable Settings → Accessibility → Touch → AssistiveTouch to get a cursor. iPads show a pointer natively.

Clak Remote not showing up on the Mac? If your Mac is signed into the same iCloud account as this iPhone, macOS already knows the phone and may not list Clak Remote as a new keyboard — and it can forget the keyboard again later. Run this once to install a tiny background helper that makes macOS discover the keyboard whenever it isn't picking it up:

# requires Xcode command-line tools: xcode-select --install
curl -fsSL https://raw.githubusercontent.com/sryo/clak/main/clak-remote-bootstrap.sh | bash

Click Allow if macOS asks to use Bluetooth, then open Clak Remote on the iPhone whenever — before or after, the order doesn't matter. The helper stays installed and keeps watching, so you never have to run it again. To remove it, re-run the command with | bash -s uninstall.

Usage

Action Shortcut
Paste clipboard to device ⌘⇧V
Toggle keystroke forwarding ⌘⇧K
Toggle global forwarding ⌘⇧G
Disconnect and reconnect ⌘⇧D
Media keys (prev / play-pause / next) F7 / F8 / F9
Volume (mute / down / up) F10 / F11 / F12

How it works

Both apps implement the standard HID over GATT Profile with CoreBluetooth's peripheral role, which Apple doesn't document as possible. What CoreBluetooth doesn't tell you about being a keyboard covers the undocumented parts: the blocked HID service UUID, the descriptor iOS won't subscribe without, and why a Mac on your iCloud account can't see your iPhone's keyboard.

Privacy

Neither app collects anything or touches the network. Keystrokes go only over Bluetooth to the device you paired. Full policy.

About

Your Mac and iPhone, each other's keyboard. Bluetooth HID in both directions, no companion apps.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages