github.com
KeepingYouAwake is a small macOS menu bar utility that prevents a Mac from entering sleep mode for a predefined duration or as long as it is activated. It wraps Apple's caffeinate command line utility and requires macOS 10.13 or newer. It only prevents sleep on desktop Macs and portable Macs with an open lid.