r/SideProject • u/-Willow_- • 1d ago
I built a Windows tray app that keeps Claude Code working when I close the laptop
Enable HLS to view with audio, or disable this notification
Close the lid. Claude Code keeps working. When it's done, the laptop sleeps.
I built Nightcrew, a free, open-source Windows tray app. It watches Claude Code or Codex and keeps the laptop working with the lid closed while an agent is busy. When the work ends, it puts your power settings back. No hooks, nothing to set up.
I built it with Claude Code, test-first, with a written spec and a fresh review pass for each version. One bug the hardware checks caught: a second start could take over from a copy that was still quitting.
Download (MIT, one 1.7 MB exe): https://github.com/leikauskas/nightcrew
Launch on X: original post
Windows 10 and 11 only. The exe isn't code-signed yet; each release includes a SHA-256, a GitHub build attestation and a VirusTotal report. If it misreads your setup (other agents, WSL, Docker), I'd like to hear about it.
2
u/cashlessman 1d ago
just use tmux bro??
1
u/-Willow_- 1d ago
tmux is great for remote sessions 🙂 Locally, Windows still sleeps when you close the lid. Nightcrew keeps it awake while Claude/Codex works, then restores your power settings.
2
u/aptonline 1d ago
How did you make the laptop animation?
2
u/-Willow_- 1d ago
Remotion + React! The laptop is drawn in SVG, with a little 3D projection math for the lid and camera movement. The screen content moves with the lid.
1
1
u/DefinitelyNotEmu 1d ago
I can do the same thing with the Windows setting "when I close the lid.." .. . "ignore"
1
u/-Willow_- 1d ago
Yep, that keeps it awake. I wanted it to go back to sleeping once Claude finishes, without having to change the setting again.
6
u/TheOwlHypothesis 1d ago
Bro is solving problems from last year.