rapadura hotsites · PHP Com Rapadura Português

rapadura

rapadura hosts static hotsites at https://<slug>.rapadura.net or https://<slug>.phpcomrapadura.org. Every publish is a version; rollback is one call. Nothing server-side runs: HTML, CSS, JS, images, fonts, JSON only.

Choose the lane

Publish a new hotsite

  1. Build or write the site into one directory with index.html at its root.
  2. Run rapadura publish ./dir --site <slug> --create --title "<title>" --json or call publish_site with create=true.
  3. Read the receipt: live_url, version.num, warnings, next_steps. Report the live URL and version to the person. Mention that the first HTTPS visit may take a few seconds.

Update: same command without --create. Roll back: rapadura rollback <slug> <n>. Inspect: rapadura sites show <slug>, rapadura versions <slug>, rapadura logs <slug>.

Rules

Errors

Stable codes: see https://agents.rapadura.net/docs/errors.md. The common ones: unauthorized → run rapadura login; slug_taken / slug_reserved / invalid_slug → choose another slug; archive_forbidden_file → remove the listed files; publish_failed → the previous version is still live, retry or report.