Adrafinil lets Mac stay awake with lid closed while background agents run

A new tool called Adrafinil was posted on Hacker News. The project aims to keep a Mac from sleeping when its lid is closed. It only does so while designated

A new tool called Adrafinil was posted on Hacker News. The project aims to keep a Mac from sleeping when its lid is closed. It only does so while designated agents or background processes are active. The code is hosted on GitHub under the repository kageroumado/adrafinil. Users can clone or download the source to try it on their machines. The utility monitors system activity to decide when to inhibit sleep. It provides a lightweight solution for developers needing the Mac awake during tasks. The author invites feedback and contributions from the community.