1
0
Fork 0
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%
Find a file
2026-04-21 11:03:42 +01:00
.github/workflows ci: add test and release GitHub Actions workflows 2026-03-29 19:54:25 +01:00
.scripts chore: add shared tooling and project config 2026-04-21 11:03:42 +01:00
Beans chore: add app icon 2026-03-29 15:09:14 +01:00
Beans.xcodeproj feat: add launch at login and activate on launch settings 2026-03-29 15:09:04 +01:00
Packages chore(app): add Package.resolved lockfile 2026-04-21 11:03:42 +01:00
.git-format-staged chore: add shared tooling and project config 2026-04-21 11:03:42 +01:00
.gitignore chore: simplify tooling setup 2026-03-29 17:06:01 +01:00
.swiftformat chore: add shared tooling and project config 2026-04-21 11:03:42 +01:00
.swiftlint.yml feat: initial Beans menu bar app 2026-03-29 10:55:35 +01:00
.swiftlint_child.yml style: fix swiftlint number_separator violations 2026-03-29 18:56:10 +01:00
CLAUDE.md chore: add shared tooling and project config 2026-04-21 11:03:42 +01:00
ExportOptions.plist build: add install recipe for notarized distribution 2026-03-29 15:09:23 +01:00
justfile chore: add shared tooling and project config 2026-04-21 11:03:42 +01:00
LICENSE docs: add README and MIT license 2026-03-29 19:43:02 +01:00
Mintfile chore: bump SwiftFormat to 0.61.0 2026-04-21 11:03:42 +01:00
README.md docs: add README and MIT license 2026-03-29 19:43:02 +01:00
renovate.json chore: remove assignees from renovate config 2026-04-21 11:03:42 +01:00

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