Skip to content
mdsakaluPublic

About

macOS menu bar app for caffeinate - keep your Mac awake with style

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Barista

A menu bar app that wraps /usr/bin/caffeinate for quick keep-awake control

Barista inactive Barista active
Inactive Active with countdown

Features

  • Toggle caffeinate assertions with plain-English hints
  • Session modes: Manual, Duration (with countdown), Wait for PID, Command
  • PID picker with running process names
  • Settings persist via @AppStorage
  • Live menu bar countdown while running a timed session

Install

Homebrew

brew tap mdsakalu/tap
brew trust mdsakalu/tap
brew install --cask barista

Tip: To install without sudo, add --appdir=~/Applications

Barista is ad-hoc signed rather than Developer ID signed or notarized. The trusted personal cask removes only Barista's quarantine attribute after verifying the release checksum. Review the tap before trusting it.

Manual

Download Barista-macos.zip from Releases, unzip, and drag Barista.app to Applications. On first launch, macOS may require Open Anyway in Privacy & Security because the app is not notarized.

Build

swift build -c release
scripts/package_app.sh build

The packaged app will be at build/Barista.app. The build script places resources in the standard app-bundle layout, applies a valid ad-hoc signature, and verifies the resulting bundle.

Development

open Package.swift

Select the Barista scheme and Run. Requires macOS 13+ and Xcode 15+.

License

MIT License - see LICENSE for details.

Background image is CC BY-SA 3.0 - see ATTRIBUTION.md.

About

macOS menu bar app for caffeinate - keep your Mac awake with style

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages