Skip to content
jnigriPublic

About

get in the zone

Resources

Stars

2 stars

Watchers

0 watching

Forks

Latest commit

 

History

42 Commits

Folders and files

Repository files navigation

Zone app icon: a pixel-art face with orange sunglasses and headphones

Zone

A focus timer for your Mac that plays music while you work.
Pick a length, press play, get in the zone.

Zone window: 23:55 left on a 30 minute session, music playing

What it does

  • 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.

  • Cruise or Beast Mode. Zone plays steady Cruise songs by default; flip the switch at the top to Beast Mode when you need full power. Filter by tag with Only or Exclude 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:

    Zone in the menu bar showing 24m left

Install

You need macOS 15 or later and Xcode (free).

git clone https://github.com/jnigri/zone.git
cd zone
make install

Then open Spotlight (⌘ Space), type Zone, press Return. That's it, the songs are ready to play.

Tips

  • 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. Put a song in a Cruise or Beast Mode folder to give it that mood; songs outside them play in Cruise. The file name is the title. Comma-separated words in a song's Grouping field (Music app, Get Info) become tags you can filter by. 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).

Build from source

make app      # builds Zone.app
make run      # builds and opens it

Requires a Swift 6 toolchain. The build uses Xcode when installed, since some Command Line Tools releases lack the SwiftUI macro plugin.

License

The code is under the MIT License. The songs in Resources/Music are not: see their license.

About

get in the zone

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages