{"repo":"Kuberwastaken/caffeineOSS","free":true,"listed":false,"github":"https://github.com/Kuberwastaken/caffeineOSS","clone":"git clone https://github.com/Kuberwastaken/caffeineOSS.git","description":"☕ Caffeinate your Mac — a tiny menu-bar app that keeps macOS awake. ~120 lines of Swift, zero deps, no kexts. Built locally because MDM blocked everything else.","language":"Swift","stars":12,"topics":["caffeine","keep-awake","macos","menubar","no-sleep","productivity","swift"],"license":"MIT","category":"productivity","readme_excerpt":"A tiny menu-bar app that stops your Mac from falling asleep. One click. Filled cup = awake. ☕ --- The story (or: why this exists at all) I wanted the classic coffee-cup-in-the-menu-bar thing. Easy, right? Except my work laptop's MDM had other plans: 1. Tried KeepingYouAwake → blocked. 2. Tried the classic Caffeine app → blocked. 3. Tried dropping a LaunchAgent → turns out the MDM had made /Library/LaunchAgents root-owned . Blocked. At that point it was personal. Downloaded apps get a quarantine flag and have to clear notarization + an endpoint-management allowlist — but a binary you compile locally has no quarantine flag and isn't a pre-built app the MDM recognizes. So I got bored, opened a .swift file, and wrote my own in 120 lines. CaffeineOSS wasn't a real project. It's not on Homebrew, it wasn't on GitHub, the name didn't exist. I just built it because I was bored and the corporate firewall made me angry. Now it's here. ☕ --- What it actually does When you flip it on, CaffeineOSS does exactly what you'd type by hand — nothing exotic, just Apple's own tools: - It launches caffeinate -dimsu as a child process and keeps it alive for as long as you're awake. - It flips pmset disablesleep so the Mac stays awake even with the lid shut (great for leaving claude running overnight). That part needs root, so you get one native admin prompt per toggle . Everything is undone the moment you toggle off, when a timer expires, or when you quit — so the laptop sleeps normally again the se","default_branch":null,"files":null,"tree":[],"storefront":"/r/Kuberwastaken","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Kuberwastaken/caffeineOSS/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}