GitHub - daemonphantom/Awayke: keeps your Agent running while you walk to the next meeting · GitHub
/" data-turbo-transient="true" />
Skip to content
Search or jump to...
Search code, repositories, users, issues, pull requests...
-->
Search
Clear
Search syntax tips
Provide feedback
--><br>We read every piece of feedback, and take your input very seriously.
Include my email address so I can be contacted
Cancel
Submit feedback
Saved searches
Use saved searches to filter your results more quickly
-->
Name
Query
To see all available qualifiers, see our documentation.
Cancel
Create saved search
Sign in
/;ref_cta:Sign up;ref_loc:header logged out"}"<br>Sign up
Appearance settings
Resetting focus
You signed in with another tab or window. Reload to refresh your session.<br>You signed out in another tab or window. Reload to refresh your session.<br>You switched accounts on another tab or window. Reload to refresh your session.
Dismiss alert
{{ message }}
daemonphantom
Awayke
Public
Notifications<br>You must be signed in to change notification settings
Fork
Star
main
BranchesTags
Go to file
CodeOpen more actions menu
Folders and files<br>NameNameLast commit message<br>Last commit date<br>Latest commit
History<br>14 Commits<br>14 Commits
.github/workflows
.github/workflows
Awayke.xcodeproj
Awayke.xcodeproj
Awayke
Awayke
AwaykeHelper
AwaykeHelper
scripts
scripts
.gitignore
.gitignore
LICENSE
LICENSE
README.md
README.md
View all files
Repository files navigation
Awayke
Awayke is a small one-click macOS menubar utility that prevents your Mac from sleeping when the lid is closed
What it does
Single click in your menubar:
Orange laptop icon - active: lid-close sleep, display sleep, and screen lock are all disabled. Close the lid and your agents keep running.
White laptop icon - inactive: normal macOS sleep, display, and lock behavior restored.
Quitting Awayke always re-enables sleep automatically.
Install
Download (recommended):
Download the latest Awayke.app.zip from Releases.
Unzip, drag to /Applications.
Open it.
On first launch macOS will ask you to approve Awayke's background helper. Approve it once and toggling sleep is instant and silent from then on.
Or build from source:
git clone https://github.com/daemonphantom/Awayke.git<br>cd Awayke<br>open Awayke.xcodeproj
Requires Xcode 16+, macOS 13 Ventura or later.
Who it's for
You're running Claude Code, Codex, or Cursor on a long task. You want to close your laptop, walk to the next room, come back. You don't want to come back to a dead session.
If you've ever wedged something in your hinge to fake an external display, this is for you.
Is this dangerous?
The command Awayke uses is Apple's own tooling. Thermal risk for short hops, like walking between rooms or a bathroom break, is low. Apple Silicon throttles before anything damaging happens.<br>Don't put your laptop in a bag with Awayke active. Keep it on AC. I cannot guarantee full safety though, so use this tool AT YOUR OWN RISK.
How it works
macOS has a separate sleep pathway for lid-close events — independent from the display sleep that most "keep awake" apps target. The only reliable override is pmset disablesleep, Apple's own system-level power management command.
Awayke wraps this in a single menubar toggle with no configuration surface.
A privileged SMAppService helper daemon, installed once on first run, executes the pmset calls as root over XPC. After the one-time approval, every toggle is instant and silent — including across reboots. If the user declines approval, Awayke falls back to running the command via osascript with admin privileges, which prompts for the password on each toggle.
Caveats
pmset -a disablesleep is system-wide. While Awayke is active, nothing will sleep from a closed lid.
macOS will still force sleep on critical battery regardless of disablesleep. Keep the laptop on AC.
Why this exists
Closing your lid to sleep your Mac is one of the best things about macOS and Awayke doesn't want to change that. It's an occasional override. Toggle on, close lid, walk to the next room, come back, toggle off.
Awayke<br>Amphetamine<br>caffeinate
Lid-close sleep prevention<br>✅ (buried 3 menus deep)
One-click toggle
No sudo prompt
Nothing else<br>❌ (feature-heavy)
Amphetamine is great. Awayke is for people who want exactly one thing, instantly.
License
MIT
About
keeps your Agent running while you walk to the next meeting
Topics
macos
swift
productivity
menubar
developer-tools
cursor
caffeinate
codex
keep-alive
ai-agents
macos-app
swiftui
menubar-app
keep-awake
sleep-prevention
claude-code
Resources
Readme
License
MIT license
Uh oh!
There was an error while loading. Please reload this page.
Activity
Stars
stars
Watchers
watching
Forks
forks
Report repository
Releases
Awayke v2.1.0
Latest
May 19, 2026
Packages
Uh oh!
There was an error while loading. Please reload this page.
Contributors
Uh oh!
There was an error while...