← sources

Built an app so Claude Code could keep working after I close my laptop

source: reddit (reddit:ClaudeAI)published 2026-11-11 20:33ingested 2026-11-12 02:37

retained text

A bit meta: most of this app was built with Claude Code, to solve a problem I kept having with Claude Code.

The problem: long tasks kept dying when my MacBook went to sleep. If I stayed, I spent the evening approving prompts.

What I made (Latte, I’m the dev):

Keeps the Mac awake only while Claude is working, lid closed too, then lets it sleep when it’s done

Sends permission prompts to my phone (Telegram or ntfy) so I can tap Approve from anywhere

Guards for battery, heat, Wi-Fi drops and stuck loops

How Claude helped: I used it for most of the Swift code, the hook integration and the tests. The tricky part I had to think through myself was safety: making sure normal sleep always comes back, even if the app crashes.

$2/month after a 7-day trial, macOS 14+. Not notarized yet, so the first launch needs right-click → Open.

Clip below. Happy to answer anything about how it works or how I built it.

[siplatte.com](http://siplatte.com)

document fetched 2026-11-12 00:22 · canonical https://reddit.com/r/ClaudeAI/comments/1xtsu1n/built_an_app_so_claude_code_could_keep_working