Repolode
newmarcel

newmarcel/KeepingYouAwake

A small macOS menu bar utility that keeps your Mac awake for a set duration or until you turn it off, wrapping Apple's caffeinate tool.

Open-source alternative to:Caffeine

Stars
7,037
Forks
278
Open issues
35
Last commit
3 months ago

What is it?

KeepingYouAwake is a menu bar utility for macOS 10.13 and newer that prevents the Mac from entering sleep mode, either for a predefined duration or for as long as it is activated. It is a lightweight wrapper around Apple's built-in caffeinate command line tool, which ships with all current macOS versions.

The app does not keep a closed-lid MacBook awake. Sleep prevention applies to desktop Macs and portable Macs with an open lid. The project is inspired by the older Caffeine app and was built as a replacement optimized for macOS Yosemite.

The app can be installed from the GitHub releases page or via Homebrew Cask with `brew install --cask keepingyouawake`. Older macOS versions are supported by earlier releases, which are linked from the project page.

Key features

  • 01Keeps the Mac awake for a predefined duration or until manually turned off.
  • 02Runs from the macOS menu bar as a small utility.
  • 03Wraps Apple's built-in caffeinate command line tool.
  • 04Installable through Homebrew Cask.
  • 05Works on desktop Macs and laptops with an open lid.

Use cases

  • Keeping a Mac awake during a long download, export or render.
  • Preventing sleep during a presentation or video call on a desktop Mac.
  • Running a long-lived terminal task without changing system sleep settings.

Quick start

  1. 1

    Download the latest version from the releases page

  2. 2

    Or install it via Homebrew cask

    brew install --cask keepingyouawake

Things to know

  • Only runs on macOS 10.13 and newer, and is macOS only.
  • It does not keep a MacBook awake with the lid closed.

In collections

Topics

#macos#menubar#caffeinate#power-management#utility#objective-c#caffeine

FAQ

What is KeepingYouAwake?
A small macOS menu bar utility that keeps your Mac awake for a set duration or until you turn it off, wrapping Apple's caffeinate tool. KeepingYouAwake is a menu bar utility for macOS 10.13 and newer that prevents the Mac from entering sleep mode, either for a predefined duration or for as long as it is activated. It is a lightweight wrapper around Apple's built-in caffeinate command line tool, which ships with all current macOS versions.
Is KeepingYouAwake free to use? What license does it have?
KeepingYouAwake is open source under the MIT license. Check the license terms before using it in commercial products.
Is KeepingYouAwake still maintained?
Updated within 6 months. The last commit to KeepingYouAwake was on Aug 15, 2026.
What can I use KeepingYouAwake for?
Keeping a Mac awake during a long download, export or render. Preventing sleep during a presentation or video call on a desktop Mac. Running a long-lived terminal task without changing system sleep settings.
How do I install KeepingYouAwake?
Download the latest version from the releases page Or install it via Homebrew cask: brew install --cask keepingyouawake
Where can I get KeepingYouAwake?
The source code and installation instructions are on GitHub: https://github.com/newmarcel/KeepingYouAwake

Summary generated by AI from the project's README. GitHub stats refresh daily.

Related projects