Watch
1
0
Fork
You've already forked Beans
0
mirror of https://github.com/brzzdev/Beans.git synced 2026-09-05 06:20:12 +00:00
macOS menu bar app that keeps your display awake. Built with SwiftUI and TCA.
  • Swift 80.9%
  • Just 18.2%
  • Ruby 0.8%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
renovate[bot] a04e6ba5e9
chore(deps): update dependency nicklockwood/swiftformat to v0.63.0 (#18)
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
|
[nicklockwood/SwiftFormat](https://redirect.github.com/nicklockwood/SwiftFormat)
| minor | `0.62.1` → `0.63.0` |

---

### Release Notes

<details>
<summary>nicklockwood/SwiftFormat (nicklockwood/SwiftFormat)</summary>

###
[`v0.63.0`](https://redirect.github.com/nicklockwood/SwiftFormat/blob/HEAD/CHANGELOG.md#0630-2026-08-30)

[Compare
Source](https://redirect.github.com/nicklockwood/SwiftFormat/compare/0.62.1...0.63.0)

- Added `ifExpressions` rule to convert ternaries to if expressions
- Added `preferLazyMap` rule
- Added `redundantExtendedLifetime` rule
- Added `<!-- no-format -->` HTML comment syntax for disabling
formatting of markdown code blocks
- Added warning when `--enable` is used for a rule that is already
enabled by default
- Added `--redundant-optional-binding` option, defaulting to
`same-name-only`
- Made `--wrapstringinterpolation preserve` the default
- Changed default of `--single-line-ternary` to `convert`
- Distinguished default, opt-in, and deprecated rules in `--rules` and
`--rule-info` output
- Updated `organizeDeclarations` to categorize associatedtype
declarations as beforeMarks
- Updated `hoistAwait` and `hoistTry` to automatically detect and
preserve autoclosures within same file as definition
- Updated `redundantType` and `propertyTypes` to support more
`ExpressibleByXLiteral` types
- Updated `redundantReturn` to preserve bare `return` in closures where
removal would create single-expression body
- Updated `redundantOptionalBinding` to convert `if let x = property` to
`if let property`
- Updated `urlMacro` rule to support `try #require(URL(string:))`
pattern
- Updated `redundantBackticks` to preserve backticks on Swift Testing
`@Test` functions
- Updated `swiftTestingTestCaseNames` to convert backticked names with
test prefix or underscores
- Updated `genericExtensions` rule to support collection types
- Updated `unusedPrivateDeclarations` to preserve properties used in
compiler-generated `Equatable` and `Hashable` conformances
- Increased stack size to 1MB for Linux release builds
- Fixed `redundantClosure` false positive for if statements with no else
branch
- Fixed spaces around module selectors in generics
- Fixed `preferForLoop` incorrectly applying to dollar-prefixed
identifiers
- Fixed blank line before trailing infix operators
- Fixed `swiftTestingTestCaseNames` not adding backticks when required
- Fixed `--preserve-acronyms` to work as substring match, not just exact
identifier match
- Fixed `genericExtensions` rule leaving stray comma with additional
where conditions
- Fixed `indent` dropping switch case body indentation inside `#if` with
`--ifdef no-indent`
- Fixed `redundantSwiftUIGroup` removing `Group(subviews:)`
- Fixed `redundantReturn` removing redundant returns from switch/if
inside a flatMap closure
- Fixed `--ifdef no-indent` indentation for method chains and directives
- Fixed `environmentEntry` edge cases
- Fixed `redundantInternal` stripping required internal inside `#if` in
non-internal extensions
- Fixed indent of trailing closure in method chain member inside `#if`
- Fixed `spaceAroundParens` spurious violations for keyword identifiers
after `::` module selector

</details>

---

### Configuration

📅 **Schedule**: (UTC)

- Branch creation
  - At any time (no schedule defined)
- Automerge
  - At any time (no schedule defined)

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/brzzdev/Beans).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC40OS4wIiwidXBkYXRlZEluVmVyIjoiNDQuNDkuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-08-31 01:53:14 +00:00
.github/workflows chore(deps): update actions/checkout action to v7 (#10) 2026-07-22 00:04:26 +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 chore(deps): update point-free (#14) 2026-08-29 10:15:27 +01:00
Packages chore(deps): update point-free (#14) 2026-08-29 10:15:27 +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
Brewfile fix(tooling): fail closed in the format recipes, un-vendor git-format-staged (#17) 2026-08-29 22:44:51 +01:00
CLAUDE.md chore: add shared tooling and project config 2026-04-21 11:03:42 +01:00
CONTEXT.md refactor(app): model activation as a sum type (#8) 2026-06-12 18:31:11 +01:00
ExportOptions.plist build: add install recipe for notarized distribution 2026-03-29 15:09:23 +01:00
justfile fix(tooling): fail closed in the format recipes, un-vendor git-format-staged (#17) 2026-08-29 22:44:51 +01:00
LICENSE docs: add README and MIT license 2026-03-29 19:43:02 +01:00
Mintfile chore(deps): update dependency nicklockwood/swiftformat to v0.63.0 (#18) 2026-08-31 01:53:14 +00:00
README.md docs: add README and MIT license 2026-03-29 19:43:02 +01:00
renovate.json chore(renovate): automerge minor and patch updates (#16) 2026-08-29 11:27:23 +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