mirror of
https://github.com/brzzdev/Beans.git
synced 2026-05-16 20:00:25 +00:00
macOS menu bar app that keeps your display awake. Built with SwiftUI and TCA.
- Swift 92.9%
- Just 7%
- Shell 0.1%
| .github/workflows | ||
| .scripts | ||
| Beans | ||
| Beans.xcodeproj | ||
| Packages | ||
| .git-format-staged | ||
| .gitignore | ||
| .swiftformat | ||
| .swiftlint.yml | ||
| .swiftlint_child.yml | ||
| CLAUDE.md | ||
| ExportOptions.plist | ||
| justfile | ||
| LICENSE | ||
| Mintfile | ||
| README.md | ||
| renovate.json | ||
Beans
A macOS menu bar app that prevents your display from sleeping.
A modern alternative to Caffeine, KeepingYouAwake, and similar utilities — built with SwiftUI and The Composable Architecture.
Features
- Prevent idle display sleep indefinitely or on a timer (30 min, 1 hr, 2 hr, 4 hr)
- Activate on launch
- Launch at login
- Notarized and signed for direct distribution
- Survives menu bar icon hiding (macOS 26+)
Install
Download the latest release from the Releases page, unzip, and drag Beans.app to /Applications.
Build from source
just build # build
just test # run tests
just install # archive, notarize, install to /Applications
Requires Xcode 26+ and just.
How it works
Beans holds an IOPMAssertionCreateWithName power assertion of type PreventUserIdleDisplaySleep. This prevents the display from dimming or sleeping due to inactivity. Closing the lid or manually sleeping the Mac still works normally.
License
MIT