A tiny, native menu bar app that keeps your Mac awake.
One click. No Dock icon. Zero CPU when idle.
English · 简体中文
Running a long build, a download, a presentation, or a remote session, and you don't want your Mac to doze off? Drip sits in your menu bar as a little coffee cup. Turn it on and your Mac stays awake, either indefinitely or for a set amount of time.
It's the caffeinate command with a friendly face, and it's built to stay out of your way.
- ☕ One-click toggle. The cup fills in when Drip is keeping your Mac awake.
- ⏱️ Timed sessions. ∞, 15 / 30 / 45 minutes, or 1 / 4 / 8 / 12 hours. Tap a duration and it starts right away.
- ⏳ Live countdown while the panel is open.
- 🖥️ Display or system only. Keep the screen on, or just stop the Mac from sleeping and let the display turn off.
- 🚀 Launch at login, and optionally turn on automatically at launch.
- 🔔 Update notice. When a new version is out, Drip tells you once and links to the download. You can skip a version.
- 🪶 Featherweight. About a 380 KB app, no dependencies. The only background work is a tiny update check every 6 hours.
Drip holds a single IOKit power assertion, the same mechanism caffeinate and video players use:
| Setting | Assertion |
|---|---|
| Keep display on (default) | PreventUserIdleDisplaySleep |
| Display may sleep | PreventUserIdleSystemSleep |
Timed sessions use one one-shot timer that releases the assertion when it fires. Nothing ticks in the background, and the countdown only re-renders while the panel is visible. You can check it at any time:
pmset -g assertions | grep Drip- Grab the
.dmgfrom the latest release. - Open it and drag Drip onto Applications.
Drip is signed with a Developer ID and notarized by Apple, so it opens normally.
You only need the Xcode Command Line Tools, not the full Xcode:
git clone https://github.com/imelonkid/drip.git
cd drip
./build.sh installThis builds a release binary, wraps it into Drip.app, ad-hoc signs it, copies it to /Applications, and launches it.
Note
To only build without installing, run ./build.sh. The app ends up in build/Drip.app.
- macOS 13 Ventura or later
- Apple Silicon (arm64)
- To build from source: Xcode Command Line Tools (
xcode-select --install)
drip/
├── Sources/Drip/
│ ├── DripApp.swift # MenuBarExtra entry point
│ ├── CaffeineModel.swift # power assertion, timer, settings
│ ├── PanelView.swift # the menu bar panel UI
│ ├── UpdateChecker.swift # reads latest.json, offers new versions
│ └── SemVer.swift # version comparison (unit-tested on Linux)
├── Resources/
│ ├── Info.plist # LSUIElement (no Dock icon); version injected at build
│ ├── AppIcon.icns
│ └── make_icon.swift # draws the app icon in code
├── Tests/SemVer/ # SemVer unit tests
├── scripts/
│ ├── package-desktop.sh # build and bundle Drip.app (shared by build.sh and CI)
│ ├── release-desktop.sh # DMG, latest.json, upload (run by CI)
│ └── ci-test.sh # PR checks
├── .github/workflows/ # PR checks, release pipeline
├── build.sh # local build and install
└── Package.swift
Does it keep my Mac awake with the lid closed?
No. macOS always sleeps on lid close unless you're in clamshell mode, with external display and power connected. Drip prevents idle sleep.
macOS says the app can't be opened.
Releases from v1.1.0 on are notarized and open normally. Older downloads (v1.0.x) were not: delete them and install the latest release.
"Launch at login" doesn't stick.
Make sure the app is in /Applications. ./build.sh install puts it there.
Issues and pull requests are welcome. Drip is intentionally small, so features that keep it simple and lightweight have the best chance of landing.
MIT © melonkid

