newmarcel/KeepingYouAwake
newmarcel/KeepingYouAwake has 7,038 GitHub stars and 278 forks. Star changes are not measured yet. Last checked 2026-11-08 02:01 UTC. Last push 2026-08-15.
Prevents your Mac from going to sleep.
Measured star growth
- in 24h
- Update delayed
- in 7 days
- Update delayed
- in 15 days
- Update delayed
- in 1 month
- Update delayed
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
OriginalKeepingYouAwake
KeepingYouAwake is a small menu bar utility for macOS (Version 10.13 and newer) that can prevent your Mac from entering sleep mode for a predefined duration or as long as it is activated.
Installation
Download the latest version here.
or install it via cask: brew install --cask keepingyouawake.

How does it work?
The app is a small wrapper around Apple's caffeinate command line utility. All current versions of macOS ship with this tool by default. You can read the manual page here.
Does it work on a MacBook with a closed lid?
No. Because of (sensible) macOS limitations and out of thermal considerations, KeepingYouAwake will only prevent sleep on desktop Macs and portable Macs with an open lid.
Is this dangerous?
This utility will not harm your Mac because it is based on an official command line tool by Apple. BUT I cannot guarantee anything, so use this tool AT YOUR OWN RISK.
Inspired by Caffeine
KeepingYouAwake is inspired by Caffeine from Lighthead Software. I used it for many years, but sadly it hasn't been updated in a while. Eventually in 2014 I decided to build a replacement for myself that was optimized for macOS Yosemite and used the caffeinate command line tool under the hood.
Still using old macOS versions?
- Version 1.6.8 is the last release that supports macOS Big Sur and older (11.0, 10.15, 10.14, 10.13)
- Version 1.6.2 is the last release that supports macOS Sierra (10.12)
- Version 1.5.2 is the last release that supports macOS Yosemite (10.10) and El Capitan (10.11)
Contribution Guidelines
If you plan to contribute to the project, I recommend taking a look at the Contribution Guidelines. These should cover common questions and will be updated over time.
License
Everything in this project is licensed under the MIT license. Provided image assets are also covered by this license.
Although it's not required please do not redistribute forked versions of the app with the same name and icon. Thanks!
Explore related projects
codecrafters-io/build-your-own-x
Master programming by recreating your favorite technologies from scratch.
560,951 starspublic-apis/public-apis
A collective list of free APIs
497,211 starsmorluto/rea
Reverse engineer anything with agents, from app behavior down to native binaries.
442,709 starsopenclaw/openclaw
The AI that really does things. Any OS. Any Platform. The lobster way. 🦞
394,183 stars