Skip to content

champ3oy/Klick

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Klick

A macOS menu bar app that plays mechanical keyboard sounds on every keypress and mouse click.

macOS License

Features

  • Realistic mechanical keyboard sounds with unique down/up sounds per key
  • Mouse click sounds for left, right, and middle buttons
  • Runs silently in the menu bar
  • Independent toggles for keyboard and mouse sounds
  • Low-latency audio playback (~5ms) using AVAudioEngine
  • Lightweight — single audio sprite file, no external dependencies

Install

Download

Download the latest Klick.dmg from Releases, open it, and drag Klick to Applications.

Build from source

git clone https://github.com/cirx/klick.git
cd klick
swift build
.build/debug/Klick

Permissions

Klick requires Accessibility permission to listen for global keypresses and mouse clicks.

On first launch, Klick will prompt you to grant access. Click Open Settings to go directly to System Settings > Privacy & Security > Accessibility and enable Klick.

Building for distribution

Requires an Apple Developer account with a Developer ID Application certificate.

# Store notarization credentials (one-time)
xcrun notarytool store-credentials klick-notary

# Build, sign, notarize, and create DMG
SIGN_IDENTITY="Developer ID Application: Your Name (TEAMID)" ./scripts/bundle.sh

How it works

Klick uses a single audio sprite file containing individual mechanical key sounds and mouse click sounds. Each keypress or click triggers a slice of the audio at the correct offset using AVAudioEngine with a pool of 12 AVAudioPlayerNode instances for overlapping playback. Global key and mouse events are captured via a CGEvent tap.

License

MIT

About

A macOS menu bar app that plays mechanical keyboard sounds on every keypress and mouse click

Resources

License

Stars

10 stars

Watchers

1 watching

Forks

Packages

 
 
 

Contributors