Connect your own computer
Run one install command on a Raspberry Pi, Linux machine or Mac that stays on at night, then sign in to Claude Code or Codex there once.
What you need
- A computer that stays on at night: a Raspberry Pi, an old laptop or a Mac mini
- Linux (64-bit) or macOS, with
python3andgitinstalled - Claude Code (
claude) or Codex (codex) on that computer, signed in with your own plan
Run the install command
Sign in, open Setup and click Show my install command. Copy it and paste it in the terminal of the computer that stays on:
` curl -fsSL https://whilasleep.com/install | sh -s -- YOURCODE `
It installs a small helper in ~/.whilasleep, connects it to your account and keeps it running in the background (a user service on Linux, a launch agent on macOS). The computer shows up under Setup within a minute.
One code connects one computer. Click New code for the next one.
Sign in to your AI once
On that same computer, run claude or codex once and sign in. Your login stays on the computer; Whilasleep never sees it.
Keep it running after you log out (Linux)
If the installer asks for it, run sudo loginctl enable-linger $USER so the helper keeps running when you log out.
Disconnect a computer
Open Setup and click Disconnect. Its automations switch off and its key stops working. To remove the helper itself, run systemctl --user disable --now whilasleep (Linux) or launchctl unload ~/Library/LaunchAgents/com.whilasleep.agent.plist (macOS) and delete ~/.whilasleep.