A focus timer for your Mac that plays music while you work.
Pick a length, press play, get in the zone.
-
One button for timer and music. Choose 15 minutes, 30, an hour, open-ended (∞), or type any length. Play starts both, pause stops both. When time's up, the music fades out and a chime lets you know.
-
Music included. Zone comes with original tracks made for focus, from calm rain-window vibes to upbeat grooves. Want your own too? Point it at any folder of songs and they play alongside.
-
Pick the mood. Boot Up, Cruise, No Excuses, Recharge, Beast Mode, Ultra Focus or Night Owl: choose what you need right now and only those songs play. Narrow it to one genre if you like. Don't like a song? Thumbs-down and it never plays again.
-
Distractions blocked. During a session, YouTube and Netflix get swapped for a gentle "stay in the zone" page, and any apps you pick in Settings are closed.
-
Focus modulation. An optional 16 Hz pulse woven into the music, a rhythm linked to sustained attention (Woods et al. 2024).
-
Your Mac stays awake until the session ends.
-
Keyboard sounds. Optional mechanical keyboard clicks (NovelKeys Cream switches) as you type, during sessions or all the time, with volume and pitch variation. Silent in password fields and password managers.
-
Lives in your menu bar if you like, with the time left always in view:
You need macOS 15 or later and Xcode (free).
git clone https://github.com/jnigri/zone.git
cd zone
make installThen open Spotlight (⌘ Space), type Zone, press Return. That's it, the songs are ready to play.
- Keyboard: Space plays and pauses, ⌘, opens Settings, Escape goes back.
- Menu bar mode (Settings) hides the Dock icon. Left-click the icon for the panel, right-click to play or pause.
- Your own music: Zone plays m4a, mp3, aac, wav and aiff files. Name a file
mood.genre.title, for exampleultra_focus.lofi.one_loop.m4a, to put it under a mood and genre. Files named any other way play under Any Mood. The refresh button in the music picker picks up new songs. - Disliked songs are listed at the bottom of the music picker, where Restore brings them back.
- Site blocking works in Safari, Chrome, Arc, Brave, Edge and Vivaldi. macOS asks once per browser for permission; say no to leave that browser alone.
- Site blocking is on by default for YouTube and Netflix; edit the list or turn it off in Settings. No apps are closed until you add some.
- Keyboard sounds are off by default. Turning them on in Settings asks for the Input Monitoring permission once. After rebuilding Zone from source, macOS may need it granted again (Settings shows a button when it does).
make app # builds Zone.app
make run # builds and opens itRequires a Swift 6 toolchain. The build uses Xcode when installed, since some Command Line Tools releases lack the SwiftUI macro plugin.
The code is under the MIT License. The songs in Resources/Music are not: see
their license.