create-heyapollo
v0.3.1
Published
Scaffold your own Apollo — a personal desk agent on your Cloudflare account — and walk through its setup wizard.
Readme
Usage
bun create heyapollo
# or
npm create heyapolloOne command copies the Apollo starter into apollo/ (or a name you pass), initializes git, installs dependencies, and hands you to the setup wizard. The template is embedded in this package: no network fetch, no repository cloning.
The scaffolded project requires Bun and a Cloudflare account. The Workers free plan covers everything except the optional coding sandbox.
The wizard
Setup walks five short phases and ends with your agent deployed and answering:
- Cloudflare confirms which account
wrangleris logged into and probes that R2 is enabled before touching anything. - Intelligence takes your OpenRouter key and validates it live, including remaining credit.
- Voice takes your ElevenLabs key and opens a voice picker built from the voices on your account.
- Extras wires web search (Tavily) and email (Resend), both optional.
- Home sets your city, timezone, and default weather location.
A recap shows everything before the launch, then the bootstrap provisions resources, uploads secrets, deploys the worker, and verifies a real device handshake against the live URL.
"No keys yet" is a first class answer. Trial mode deploys a fully protocol correct brain with zero external spend and mocked replies. Re-run bun run setup inside the project whenever you have real keys.
What you get
The scaffold is intentionally minimal: the agent source, wrangler.jsonc, idempotent bootstrap scripts, and agent skills under .claude/skills that teach your coding agent Apollo's architecture and wire protocol. The full handbook stays in the monorepo documentation, which the skills link back to.
Just the brain
What you scaffold is the brain alone: the Cloudflare Worker that listens, thinks, speaks, and remembers. No firmware is included. The bundled skills document the wire protocol end to end so your coding agent can adapt the firmware of your own device to it, and the reference firmware shows a complete ESP32 implementation.
Flags
| Flag | Effect |
|:--|:--|
| --no-install | Skip bun install |
| --no-setup | Skip the wizard |
| --no-git | Skip git init |
Inside a scaffolded project, bun run setup re-opens the wizard at any time. It delegates to bunx create-heyapollo@<version> setup, pinned to the release that generated the scaffold so a rerun always matches your project.
License
MIT. Source, issues, and documentation live in the Apollo monorepo.
