Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/newmarcel/KeepingYouAwake
Prevents your Mac from going to sleep.
https://github.com/newmarcel/KeepingYouAwake
caffeine macos menubar objective-c utility
Last synced: about 2 months ago
JSON representation
Prevents your Mac from going to sleep.
- Host: GitHub
- URL: https://github.com/newmarcel/KeepingYouAwake
- Owner: newmarcel
- License: mit
- Created: 2014-10-19T15:52:33.000Z (over 9 years ago)
- Default Branch: main
- Last Pushed: 2024-03-30T10:20:35.000Z (3 months ago)
- Last Synced: 2024-03-30T22:26:51.419Z (3 months ago)
- Topics: caffeine, macos, menubar, objective-c, utility
- Language: Objective-C
- Homepage: https://keepingyouawake.app
- Size: 4.82 MB
- Stars: 5,436
- Watchers: 63
- Forks: 216
- Open Issues: 28
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Lists
- awesome-mac - KeepingYouAwake - 替代咖啡因,更好地支持Mac中的暗模式。 [![Open-Source Software][OSS Icon]](https://github.com/newmarcel/KeepingYouAwake) (其它实用工具 / 系统相关工具)
- open-source-mac-os-apps - KeepingYouAwake - Prevents your Mac from going to sleep. ![objective_c_icon] (Applications / System)
- awesome-macOS - KeepingYouAwake - Menu bar utility that prevents Mac from going to sleep. [![Open-Source Software][OSS Icon]](https://github.com/newmarcel/KeepingYouAwake) ![Freeware][Freeware Icon] (Applications / Utilities)
- awesome-bookmarks - **KeepingYouAwake**
- awesome - newmarcel/KeepingYouAwake - Prevents your Mac from going to sleep. (Objective-C)
- awesome-stars - newmarcel/KeepingYouAwake - Prevents your Mac from going to sleep. (Objective-C)
- awesome-tools - **KeepingYouAwake**
- awesome-stars - newmarcel/KeepingYouAwake - Prevents your Mac from going to sleep. (Objective-C)
- awesome-stars - newmarcel/KeepingYouAwake - Prevents your Mac from going to sleep. (Objective-C)
- awesome-mac-apps - **KeepingYouAwake**
- awesome-macos - KeepingYouAwake - Prevents your Mac from going to sleep. ![Open Source][oss] (Uncategorized / Uncategorized)
- awesome-frontend - KeepingYouAwake
- awesome-mac - KeepingYouAwake - 替代咖啡因,更好地支持Mac中的暗模式。 [![Open-Source Software][OSS Icon]](https://github.com/newmarcel/KeepingYouAwake) (其它实用工具 / 系统相关工具)
- awesome-mac-apps - KeepingYouAwake
- awesome-mac - KeepingYouAwake - 替代咖啡因,更好地支持Mac中的暗模式。 [![Open-Source Software][OSS Icon]](https://github.com/newmarcel/KeepingYouAwake) (其它实用工具 / 系统相关工具)
- awesome-stars - newmarcel/KeepingYouAwake - Prevents your Mac from going to sleep. (Objective-C)
- awesome-stars - newmarcel/KeepingYouAwake - Prevents your Mac from going to sleep. (Objective-C)
- awesome-stars - newmarcel/KeepingYouAwake - Prevents your Mac from going to sleep. (Objective-C)
- awesome-stars - KeepingYouAwake
- awesome-macOS - KeepingYouAwake - A Caffeine clone for OS X Yosemite (and Dark Mode). (Uncategorized / Uncategorized)
- mac-awesomeTools - KeepingYouAwake - 替代咖啡因,更好地支持Mac中的暗模式。 [![Open-Source Software][OSS Icon]](https://github.com/newmarcel/KeepingYouAwake) (其它实用工具 / 系统相关工具)
- my-awesome-stars - newmarcel/KeepingYouAwake - Prevents your Mac from going to sleep. (Objective-C)
- awesome-mac - KeepingYouAwake - Alternative to Caffeine with better support for dark mode in Mac. [![Open-Source Software][OSS Icon]](https://github.com/newmarcel/KeepingYouAwake) (Utilities)
- awesome - KeepingYouAwake - Prevents your Mac from going to sleep. (Objective-C)
- awesome-mac - KeepingYouAwake - 替代咖啡因,更好地支持Mac中的暗模式。 [![Open-Source Software][OSS Icon]](https://github.com/newmarcel/KeepingYouAwake) (其它实用工具 / 系统相关工具)
- awesome-mac - KeepingYouAwake - Alternative to Caffeine with better support for dark mode in Mac. [![Open-Source Software][OSS Icon]](https://github.com/newmarcel/KeepingYouAwake) (Utilities / System Related Tools)
- fucking-awesome-macOS - KeepingYouAwake - Menu bar utility that prevents Mac from going to sleep. [![Open-Source Software][OSS Icon]](https://github.com/newmarcel/KeepingYouAwake) ![Freeware][Freeware Icon] (Applications / Utilities)
README
# KeepingYouAwake
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.
https://keepingyouawake.app/
## Installation
**[Download the latest version here.](https://github.com/newmarcel/KeepingYouAwake/releases/latest)**
or install it via [cask](http://caskroom.github.io/): `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](https://web.archive.org/web/20140604153141/https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man8/caffeinate.8.html).
### 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](http://lightheadsw.com/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`](https://web.archive.org/web/20140604153141/https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man8/caffeinate.8.html) command line tool under the hood.
## Still using old macOS versions?
- [Version 1.6.2](https://github.com/newmarcel/KeepingYouAwake/releases/tag/1.6.2) is the last release that supports macOS Sierra (10.12)
- [Version 1.5.2](https://github.com/newmarcel/KeepingYouAwake/releases/tag/1.5.2) is the last release that supports macOS Yosemite (10.10) and El Capitan (10.11)## Help wanted!
Do you want to improve the app or add useful features? Please go ahead and create pull requests. I'm thankful for any help.
## License
Everything in this project is licensed under the [MIT license](http://opensource.org/licenses/MIT). 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!*