A tiny macOS menu bar app that mutes and unmutes your system microphone with one global shortcut — so a single key combo silences you in every app (Zoom, Meet, Slack, Discord, recording tools) instead of hunting for each app's own mute button.
- Toggle mode — press
⌃⇧Mto flip mute on/off. - Push-to-Talk mode — hold the shortcut to talk, release to mute.
- Configurable shortcut — record any modifier + key combo from the menu.
- Mute overlay — a brief on-screen HUD confirms the new state.
- Launch at login — optional, via
SMAppService(macOS 13+). - No network access — the app never phones home.
The repo also contains a Next.js marketing site under landing/.
Package.swift SwiftPM manifest (3 targets + tests)
Sources/
ShhhEngine/ CoreAudio mute, hotkey manager, login item (no UI)
ShhhUI/ SwiftUI menu bar view, overlay, shortcut recorder
ShhhApp/ @main MenuBarExtra entrypoint
Tests/ShhhEngineTests/ XCTest unit tests for the engine
Resources/
Info.plist LSUIElement + NSMicrophoneUsageDescription
Shhh.entitlements Direct/notarized distribution (hardened runtime)
Shhh.MAS.entitlements Mac App Store (sandboxed) variant
build-app.sh Assembles dist/Shhh.app (universal, signed)
init.sh Debug build + run for quick iteration
landing/ Next.js 16 marketing site (static export)
MicController (in ShhhEngine) talks to CoreAudio:
- It resolves the default input device.
- If the device exposes
kAudioDevicePropertyMute, it sets that hardware mute flag — the cleanest, most reliable path. - If not (some aggregate/virtual devices), it falls back to saving the input
volume and dropping it to
0, restoring it on unmute. - A property listener re-applies the mute when the default input device changes (e.g. you unplug a headset), so mute survives device switches.
HotkeyManager (in ShhhEngine) uses two mechanisms depending on mode:
- Toggle → Carbon
RegisterEventHotKey. Fires on key-down only, works everywhere including the App Store sandbox, and needs no special permission. - Push-to-Talk → a
CGEventtap, because Carbon hotkeys can't observe key-up. The tap reports key-down (go live) and key-up (mute). This requires the Accessibility permission; if it isn't granted, the app surfaces a warning with a deep link to System Settings.
Because the PTT event tap can't run inside the App Store sandbox, a Mac App Store build should ship Toggle mode only. See Distribution below.
- macOS 13 (Ventura) or later
- Xcode 15+ / Swift 5.9+ toolchain (for building the app)
- Node 18+ (for the landing page)
./init.sh # swift build (debug) + run in the menu bar
# or manually:
swift build
.build/debug/ShhhApp &
swift test # run the unit testsRunning the bare debug binary works for iterating on logic, but it is not a
real .app: launch-at-login registration and a stable Accessibility permission
require a signed bundle. For that, use build-app.sh.
./build-app.sh
# → dist/Shhh.app (universal arm64 + x86_64, ad-hoc signed)
open dist/Shhh.appThe default build is ad-hoc signed, so it runs locally but Gatekeeper warns on first launch (right-click → Open). To produce a build for distribution, pass a real signing identity:
./build-app.sh "Developer ID Application: YOUR NAME (TEAMID)"…then notarize and staple it (requires an Apple Developer account):
xcrun notarytool submit dist/Shhh.app --keychain-profile "AC_PASSWORD" --wait
xcrun stapler staple dist/Shhh.appPush-to-Talk's CGEvent tap is not allowed under the App Store sandbox.
That forces a choice:
| Path | Entitlements | Push-to-Talk | Notes |
|---|---|---|---|
| Direct (notarized DMG) | Shhh.entitlements (hardened runtime, no sandbox) |
✅ | Recommended. Full feature set. |
| Mac App Store | Shhh.MAS.entitlements (sandboxed) |
❌ (Toggle only) | Simpler trust story, but drop PTT. |
build-app.sh uses the direct-distribution entitlements by default.
cd landing
npm install
npm run dev # http://localhost:3000
npm run build # static export → landing/out/next.config.js sets output: "export", so landing/out/ is a fully static
site you can host anywhere (Vercel, Cloudflare Pages, S3, …).
Outbound URLs (download button, GitHub, support email) live in
landing/lib/site.ts and are overridable with
NEXT_PUBLIC_* env vars — copy landing/.env.example to landing/.env.local
and fill in the real destinations before deploying.
cd landing
vercel # preview
vercel --prod # production (after setting the env vars in the dashboard)Copyright © 2026 Mark Studios LLC. All rights reserved.