Publish
Put your website or app online, on your own domain, and keep it running.
Ask the agent: Publish this project.
Ask in Playcode(opens in a new tab)Publishing puts your project on the internet at a free Playcode address. A static site (marked Static on your dashboard) goes live on playcode.site. A Cloud app (marked Cloud) runs its own backend, database and files on Playcode Cloud and goes live on playcode.run.
From there you can give the project a domain of your own, keep secrets out of the code, save checkpoints you can go back to, read logs when something fails, and turn the same project into an iPhone and Android app.
The agent publishes Cloud apps, connects and buys domains and edits DNS records for you. It asks you before anything that costs money or restores a checkpoint, and it publishes only when you ask.
Websites
- Publish a websitePut a static site or a Cloud app online at a free Playcode address, and publish again each time you want visitors to see a change.
- Your Playcode addressEvery published project gets a free address on playcode.site or playcode.run. On Pro or Max you can choose the name in it.
- Bandwidth and limitsWhat each plan includes for published projects - traffic, Cloud apps, branding and other limits - and what happens past each one.
Cloud apps
- Run a Cloud appHow a Cloud app runs on Playcode - two computers, what a publish copies, where the data lives, sleep and wake, and what it costs.
- Secrets and environmentKeep API keys and settings out of your code. Store them per environment in Settings, and your Cloud app reads them from its environment.
- Snapshots and rollbackSave a checkpoint of a Cloud app's whole computer and restore it later. A restore discards every change made after that point.
- LogsRead what your Cloud app writes while it runs, and the build log of a publish, to find out why something failed.
- When a subscription endsWhat stays online and what stops when a Pro or Max plan ends - static sites, Cloud apps, domains and credits.
Domains
- Buy a domainSearch for a name, see its yearly price and buy it in Playcode. Playcode registers it, runs its DNS, turns on HTTPS and connects it.
- Connect a domain you ownPoint a domain you bought elsewhere at your Playcode site.
- DNS recordsAdd, change and undo the DNS records of a domain whose DNS Playcode runs, for email, verification and other services.
- Domain renewals and feesWhat a domain bought at Playcode costs to register, renew and restore, when it renews, and what happens if it expires.