# Klack for Raycast

URL: https://www.raycast.com/henrikruscon/klack

> Control Klack mechanical keyboard typing sounds on Mac: toggle it, pick a switch sound set, set the volume and view keystroke stats.

- Install: raycast://extensions/henrikruscon/klack
- Author: [Henrik](https://www.raycast.com/henrikruscon)
- Installs: 3,212
- Platforms: macOS
- Categories: Applications, Media, Fun, AI Extensions
- Updated: 2026-11-17
- Source: https://github.com/raycast/extensions/tree/5bcd41ff46cf8ad355e98f11bb7e716c6fdafc4b/extensions/klack/

## Commands

- **Toggle Klack**: Toggles Klack on or off
- **Turn Klack on**: Explicitly enables Klack
- **Turn Klack off**: Explicitly disables Klack
- **Wake Klack**: Wakes Klack from sleep
- **Set Switch Set**: Pick a mechanical-switch sound set
- **Set Volume**: Pick a volume between 0 and 100
- **Set Volume to Soft**: Sets volume to Soft (30%)
- **Set Volume to Balanced**: Sets volume to Balanced (60%)
- **Set Volume to Loud**: Sets volume to Loud (90%)
- **Klack Stats**: Live keystroke, ding, click, and favourite switch counts

## AI tools

- **Toggle Klack**: Toggle Klack typing sounds on or off.
- **Turn Klack on**: Enable Klack typing sounds.
- **Turn Klack off**: Disable Klack typing sounds.
- **Wake Klack**: Wake Klack from sleep mode.
- **Set Switch Set**: Set the active mechanical-switch sound set. Accepts switch names like "Cream", "Crystal Purple", "Super Red", or "None".
- **Set Volume**: Set Klack volume to a value between 0 and 100.
- **Get Klack Status**: Returns whether Klack is enabled and sleeping, plus the current switch set and volume.

## README

### Klack for Raycast

Control [Klack](https://www.tryklack.com) — the mechanical-keyboard typing-sound app for macOS — without leaving Raycast.

#### Requirements

- macOS
- Klack installed — either the [Mac App Store](https://apps.apple.com/app/klack/id6446206067) build or the [standalone](https://tryklack.com) build. Both share a bundle ID and AppleScript dictionary, so this extension controls both. The standalone version ships features Apple won't allow on the App Store; this extension stays in lockstep with whatever the installed copy exposes via its sdef.

#### Commands

| Command | What it does |
|---|---|
| **Toggle Klack** | Toggle typing sounds on or off |
| **Turn Klack on / off** | Explicit state setters |
| **Wake Klack** | Wake from sleep mode |
| **Set Switch Set** | Pick from Klack's mechanical-switch sound packs |
| **Set Volume** | 0–100 scrubber (with a custom-input form) |
| **Set Volume to Soft / Balanced / Loud** | 30 / 60 / 90% one-shots |
| **Klack Stats** | View keystroke / ding / click totals and favourite switches |

Tip: bind any of these to a Raycast hotkey for one-tap control.

#### AI Tools

When Raycast AI is enabled, ask things like:

> "Turn Klack on, switch to Cream, and set volume to 40."

The extension exposes seven tools: `toggle`, `turn-on`, `turn-off`, `wake-up`,
`set-switch`, `set-volume`, `get-status`.

#### How it works

This extension is a thin AppleScript controller — Klack.app exposes a scripting
dictionary and the extension drives it. The keystroke capture and audio engine
all live inside Klack.app itself.

#### Development

```bash
npm install
npm run dev
```

#### Credits

- [Henrik Ruscon](https://github.com/henrikruscon) — Klack.app and original extension
- [Jace](https://github.com/JaceThings) — rebuild
