Skip to content
Rapadura NetworkPHP Com Rapadura
On this page

Rules and limits

What can go in a hotsite

You can publish static files such as HTML, CSS, JavaScript, images, fonts, PDF, and JSON. The server serves the files as-is. Media and code files are cached for one week. A 404.html file at the root becomes the error page.

Redirects. A _redirects file at the root, one rule per line, source target [301|302]. Exact paths only, no wildcards:

/2019/   /                                   301
/        https://www.sympla.com.br/event     302

The server never serves the file itself. If a line is invalid, the publish fails and lists the errors.

Nothing runs on the server. .php, .cgi, .py, .sh and similar files are refused at upload time, and even if one slipped through the server answers 404 for them. This is deliberate: member hotsites are strictly static. If your project needs server-side code or a database, build it as a static export (HTML/CSS/JS) or host the backend elsewhere. (Container apps are available only to organization staff/organizers.)

Secrets are refused. .env, keys (.pem, .key, id_rsa), .ssh and .aws folders, wp-config.php and the like block the whole publish, with the list of what was found. The fix is to publish only the build output directory, never the repository root.

Rapadura skips .git, node_modules, .cache, and vendor directories without a notice.

Names

  • A hotsite is name.zone. New sites are created under rapadura.space; sites created earlier under rapadura.net or phpcomrapadura.org keep their address. rapadura zones lists them.
  • The name is 1 to 63 characters: lowercase letters, digits and single hyphens. No --, accents or dots.
  • Reserved names (www, mail, panel, agents, api, blog, admin among others) and names already used by another site on the server are refused. That includes the community's own sites and the platform's services, which are not hotsites (esquemasdeyoung.com.br, stats.rapadura.net and the like): the administrator keeps that list on the server.
  • A recently deleted name is held for restore; choose another.

Custom domain. A static hotsite can also answer at a domain you own, like www.myevent.com.br. Ask with rapadura domain add <site> <domain> (or the request_domain tool): the request waits for the owner's approval, and the reply says which DNS record to create (an A record pointing at the edge). After approval the certificate is issued on its own at the first visit. rapadura domain list and rapadura domain remove need no approval. Static sites only for now. Refused: names under rapadura.space, rapadura.net or phpcomrapadura.org (that is a site, not a domain), names already used by another site on the server, and anything beyond lowercase letters, digits, hyphens and dots.

Limits

what member limit
retained sites per member (including deleted ones until purged) 5 (+1 after your first publish, up to +3 from inviting newcomers who join)
max archive / upload size per publish 100 MB
max size per file 100 MB
max files per site 20,000
versions retained per site 20 (older ones are pruned; the live version never)
total storage per user 500 MB across every version kept on disk, deleted sites included
free disk the server keeps 10 GB: a publish that would eat into it is refused, nothing changes

rapadura zones and rapadura limits show the live values for your account. rapadura whoami --full and /me show your storage use. Ask the administrator if you need more.

Earning extra site slots

Two things add bonus slots to your member site limit:

  • Publish your first site. +1 extra slot, once. Publishing again, rolling back or restoring earns nothing more.
  • Invite someone who then joins. rapadura invite <github-login> records the invitation; when that person joins Rapadura you earn +1 slot, up to +3 bonus slots. Sending the invitation earns nothing by itself, and it gives the person no access: they join through the organization like everyone else. A login that already has an account, your own, or one someone else invited first is refused, and each newcomer counts once. rapadura invite --list shows invitations still waiting and rapadura invite --withdraw <login> takes one back.

These slots widen your retained-site count only. Your role, storage budget and agents' grants stay as they were. rapadura limits shows your base allowance, what you earned and what is waiting.

Taking a site offline keeps its files and its quota slot, and its bytes keep counting against your storage. The administrator must permanently purge it before that slot and those bytes become available again.

The server is shared, so publishing is paced too: one publish or rollback at a time per site (a second one is refused with publish_in_progress, try again when the first is done), and a couple of uploads unpacked at the same time server-wide; the rest wait their turn rather than fail.

Security and access

  • Nobody gets SSH, a panel or a server password. Only the CLI.
  • Login is through GitHub, by invitation. Each machine gets its own token, stored in ~/.config/rapadura/credentials.json with 0600 permissions.
  • Once linked, an account is identified by its numeric GitHub ID. Claiming another person's former username does not give access to their account.
  • Tokens expire after 90 days and can be revoked at any time (rapadura logout revokes the current machine's).
  • You see and change only your own sites. The administrator sees all.
  • The audit log records who performed each action, what they did, the site, and the time.
  • Never paste your token into chat, a commit, an issue or a log. If it leaked, revoke it.

CLI request headers and privacy

Requests the CLI, self-updater, and local MCP server already make include a platform-enriched User-Agent and bounded interaction hints in Rapadura-Client-Context:

  • User-Agent: rapadura-cli/<version> (<os>/<arch>), rapadura-mcp/<version> (<os>/<arch>), and rapadura-cli-update/<version> (<os>/<arch>).
  • Rapadura-Client-Context: coarse allowlisted hints fmt=human|json, env=tty|pipe|ci, and for rapadura mcp, host=claude-desktop|claude-code|cursor|other.

These signals are strictly passive:

  • Offline commands make zero network requests, and online commands never make extra phone-home calls beyond the gateway request they already perform (unless you explicitly opt into Tier 2 telemetry below).
  • No tokens, logins, hostnames, file paths, command arguments, or persistent device IDs are sent or stored.
  • The gateway normalizes every User-Agent and Rapadura-Client-Context value to fixed allowlists (other/unknown for anything unexpected) before writing metrics or HTTP logs.

Opt-in CLI telemetry

To measure failures that never reach an API route—such as local-only commands (rapadura recipe form export, rapadura plan, --help), pre-flight rapadura update or archive-packing errors, and local rapadura mcp startup failures—the CLI supports optional Tier 2 telemetry.

  • Off by default. Zero Tier 2 events are sent unless you explicitly run rapadura telemetry on.
  • Controls. rapadura telemetry status shows the current state, rapadura telemetry off turns it off, and rapadura telemetry show prints the exact schema and a concrete sample payload before you decide.
  • Highest-precedence environment overrides. Setting DO_NOT_TRACK=1 or RAPADURA_TELEMETRY=0 disables telemetry immediately and overrides any saved rapadura telemetry on preference.
  • Fire-and-forget delivery. When enabled, after a command finishes the CLI makes a single unauthenticated POST /v1/telemetry/cli request with a short timeout (<= 500ms), no cookies or tokens, no retries, and no noisy error output if the network fails. The rapadura telemetry subcommands never emit events.
  • Allowed fields only. Every event contains only these strictly allowlisted fields: version, goos, goarch, channel (cli, mcp-local, cli-update), coarse command, coarse outcome (ok, update_permission, update_package_managed, update_checksum, update_network, update_metadata, update_dev, update_failed, archive_forbidden, archive_too_large, archive_invalid, unauthorized, invalid_flags, mcp_startup_failed, pdf_helper_missing, pdf_check_failed, export_failed, cancelled, error), env (tty|pipe|ci), fmt (human|json), and duration_bucket (lt_100ms|100ms_1s|1s_10s|gt_10s).
  • Forbidden fields. Persistent device/machine UUIDs, raw CLI arguments or flags, file paths, site slugs or hostnames, git remotes, usernames, environment variables, raw error messages or stack traces, tokens, and client IP correlation are never sent, logged, or stored. The gateway rejects unknown or out-of-allowlist payloads and records aggregate Prometheus counters only.

Versions and rollback

Each publish is an immutable version, numbered from 1. The switch between versions is atomic: either the whole site changes or nothing does. Before reporting success the gateway validates the configuration, reloads the server and checks that the new version is really being served. If any step fails, the previous version stays live and the error comes back to you.

Every retained version also answers at its own address, https://<name>--v<n>.<zone> (shown in the receipt and in rapadura versions), so you can compare versions or show one that is no longer live.