Ir para o conteúdo
Entre na comunidade

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.

Criador

CCris@camilocbarreraCore

Probably Statistician ~

Ver perfil

Atualizações

Cada versão e mudança, da mais recente para a mais antiga.

Ainda não há atualizações. Novas versões e mudanças aparecerão aqui.

Sua vez

Seu projeto pode estar neste mural.

Publicar leva alguns minutos. Escolha o jeito que combina com seu trabalho.

Publique seu Ship