Overnight Mini-App Builder
Brain-dump a side-project idea before bed; wake up to a working prototype the agent built and tested while you slept.
- Tools
execwrite_fileread_filedelegate- Channels
telegramdesktop- Uses
subagentscron
The category of project that fits in one night — a pricing calculator, a markdown-to-pdf script, a simple dashboard, an Obsidian helper — shouldn't take a weekend. Tell the agent your spec at midnight, sleep, review what it built over coffee.
What it does
- Captures your spec via Telegram before bed
- Plans the implementation (architecture, files, tests)
- Builds it step-by-step with self-tests after each step
- Commits to a fresh git branch under
~/projects/overnight/<slug>/ - Sends a morning report: what's done, what failed, link to repo
What you'll need
- Exec + write_file + read_file — built in
- A
~/projects/overnight/parent directory - A model with strong code quality (Claude Sonnet recommended)
- Cron for the morning delivery
Setup
1. Define the night-build protocol
2. Morning report cron
3. Try it
Before bed:
Sleep. 7 AM:
✓ overnight build: yt-summarizer
Built: download flow, transcription pipeline, markdown export, playlist handling Failed: error handling for private videos (TODO in main.py:42) Tests: 8/9 pass
Repo: ~/projects/overnight/yt-summarizer/ Verdict: usable today. Skip private videos.
Tips
- Keep specs tight. "Build a CRM" fails. "A CLI that takes URL and emits markdown summary" works. Single deliverable, well-defined inputs and outputs.
- Set hard limits. 4 hours of work is plenty for a mini-app. The agent must STOP rather than spiral into rebuilds.
- Test-first matters. Without "write a test for each step", the agent claims success on broken code. The tests are what gives you confidence the morning report is honest.
- Don't run on shared infrastructure. Overnight builds run
arbitrary code. Sandbox the dir, don't let
execreach beyond~/projects/overnight/. Add this as apre_tool_callhook. - Audit the diff. Every morning, scan the commit log before using the result. Catch hallucinated APIs early.
- It's not for production. This is for prototypes and personal tools. Real production work needs you in the loop.