KeepingYouAwake is a free, open-source macOS menu bar app that stops your Mac from sleeping for a set time or until you turn it off.