Turn any folder into a live website in one command. 3 site(s) live right now.
peacock init mysiteGives you a folder with an
index.html - or bring any folder of your own (a dashboard export, slides, a prototype, anything static).
cd mysite peacock deployThat's the whole pipeline. No build, no config, no tickets.
https://mysite.peacock.michaelwhchan.com:8080/Live the moment deploy finishes; updates show up within ~30 seconds of redeploying. Your site also appears on this page.
Run peacock drop and a little page opens in your browser. Drag your folder onto it, type a name, hit Deploy - no terminal commands at all. Great for non-engineers.
peacock init <name>Scaffold a new site folder with a starter page.
peacock deployPublish the current folder. --name to pick the subdomain, --dir to point elsewhere. Redeploying syncs exactly - files you deleted locally are removed.
peacock dropOpen the drag-and-drop deploy console in your browser.
peacock delete <name>Remove a site. Asks you to type the name back before doing it.
peacock restore <name>Undo a delete - brings back every file, up to 30 days later.
peacock open <name>Open a site in your browser.
peacock delete mysiteIt shows what will be removed and asks you to type the name back to confirm - so you can't nuke a site by accident.
peacock restore mysiteEvery file comes back, as long as it's within 30 days of deleting. After that it's gone for good.
Your folder syncs to cloud storage; a tiny server maps <name>.peacock.michaelwhchan.com straight onto it. No frameworks, no build steps, no databases to babysit - which is why it is fast, cheap, and nearly impossible to break. Site names: lowercase letters, digits, and hyphens.
peacock restore <name> brings it back within 30 days.