tiny.garden CLI
publish from your terminal.
Create sites, search your work and public sites, edit theme/CSS, run manual refreshes, and save local backups without leaving the command line.
Core commands
Create and configure sites
Run the full new-site flow from terminal prompts or pass channel/template/subdomain flags.
Search mine + public
Search across your private dashboard inventory and discoverable public tiny.garden sites.
Manual refresh with limits
Request a rebuild when needed, with cooldown/quota safeguards to control API cost.
Backup to local files
Export the hosted HTML for any owned site to a local directory for archives and handoff.
Quickstart
npm --prefix cli install
npm --prefix cli run start -- auth login --token tg_pat_...
npm --prefix cli run start -- new --wait
npm --prefix cli run start -- site css edit my-subdomain
npm --prefix cli run start -- site refresh my-subdomain --wait
npm --prefix cli run start -- site backup my-subdomain --out ~/Sites/my-backupCLI is in active development and currently ships from this repository.
Interactive terminal demo
Click through common flows to preview terminal commands and output exactly like a customer would see in CLI-first usage.
$ tg new --channel my-notes --template blog --subdomain notes --wait
✔ Authenticated as @tinyfriend
→ Creating site (channel: my-notes, template: blog, subdomain: notes)
→ Building and publishing...
✔ Site is live at https://notes.tiny.garden
Build and ship from terminal, not tabs.
Same tiny.garden flow, optimized for CLI-first customers.