Saltar al contenido
Únete a la comunidad

awake

Keep your Mac awake with the lid closed - safe by default, built for humans and agents

CCrisCore

awake keeps a Mac running with the lid closed. It wraps pmset -a disablesleep 1 with a timer and narrow permissions, for people and coding agents that need a laptop to keep working through a long task.

  • awake on keeps the Mac awake for 1 hour by default and restores normal sleep on its own through a launchd agent; awake on 3h or --forever change that.
  • awake setup installs a sudoers rule limited to the two disablesleep commands, and awake setup --uninstall removes it.
  • A SwiftUI menu bar app shows a sun icon with a live countdown and notifies you when the auto-off fires.
  • Every command supports --json with a stable envelope and meaningful exit codes.
  • awake status shows the timer and warns when the Mac is on battery.

Try it: clone the repo, run bun install, bun run link:global and awake setup. More at https://awake.crafter.run.

Creador

CCris@camilocbarreraCore

Probably Statistician ~

Ver perfil

Actualizaciones

Cada versión y cambio, del más reciente al más antiguo.

Aún no hay actualizaciones. Las nuevas versiones y cambios aparecerán aquí.

Tu turno

Tu proyecto puede estar en este muro.

Publicar toma un par de minutos. Elige la forma que va con tu manera de trabajar.

Publica tu Ship