your-name.r21.dev. It runs a fresh production build of the project’s repository, deploys the result, and
hands you a link you can share. A short three-step wizard walks you through it — pick the address, fill in
how the site looks when shared, then review and publish.
This is different from the preview you see while building. The preview is a private, temporary
sandbox only you can reach. Publishing produces a separate, durable build that anyone with the link can
open.
Preview vs published site. The preview in the workspace is private and tied to your build
session. The published site is a separate production build served from a stable
*.r21.dev URL that
anyone can visit. Editing your project does not change the published site until you publish again.Publishing is free — it doesn’t spend credits. Only building (3) and editing (2) do.
Why publish
- Share a real link. Send
your-name.r21.devto anyone — no Mythos account needed to view it. - A stable address. The published URL doesn’t change when you edit the project; it only updates when you publish again.
- A true production build. Publishing runs a fresh production build, separate from the dev preview.
Prerequisites
- A generated project with a repository. If you’ve built something and can see a preview, you’re ready. A project that hasn’t been generated yet has nothing to build, so publishing is blocked until then.
- That’s it — publishing itself does not spend credits (see Credits & pricing).
How to publish
The wizard itself is three steps — the panel header shows Step 1 of 3 through Step 3 of 3. Opening the panel and waiting for the build bracket those steps.Open the Publish panel
In the workspace, open Publish from the top of the right panel. The wizard opens on the URL step.
Step 1 — Pick your URL
Choose the subdomain for your site — this becomes
your-name.r21.dev. Edit it and Mythos checks
availability as you type; a green Available means it’s yours. Then select Continue.Step 2 — Add site info (SEO)
Set the title, description, icon, and social image that show when your link is shared or found in
search. Mythos pre-fills a suggested title and description from your site’s content — accept them or
edit. Select Continue. See SEO & social previews for what each field does.
What you see while it builds
Publishing is a build-and-deploy step, so there’s a short wait. The panel reflects the state:| State | What you see | What you do |
|---|---|---|
| Building | ”Publishing your site” with a spinner | Wait — usually under a minute |
| Live | ”Your app is live!” with the URL and View/Share | Open the link, copy it, share it |
| Failed | An error message on the review step with a retry | Fix the issue, then publish again |
Updating a published site
Editing your project after publishing does not change the live site automatically — the published build is a separate snapshot. To push your latest changes live, open the Publish panel and select Update site. It rebuilds from your current code and replaces the live version at the same URL.Renaming and unpublishing
- Rename anytime. Change the subdomain from the URL step whenever you like. The new address is live almost immediately and the old one stops resolving — no rebuild needed.
- Unpublish. Select Unpublish from the published panel. The site stops resolving and its files become unreachable, making it private again. You can publish it again later.
The secret scan
Every publish runs an automatic scan of the built site for high-signal leaked credentials. It checks six categories, reporting the matched label (never the value):- No leaked secrets detected — you’re clear to share.
- Potential secrets in your bundle — it lists the category above (never the value). Remove the secret from your code and publish again before sharing.
The scan reports categories, not the secret itself, and it doesn’t block publishing — it’s a
warning so you can fix a leak before handing out the link. It deliberately ignores public keys (like a
Supabase anon key) that are safe to ship in a frontend.
Limitations & good to know
- Frontend builds only. A project that needs a live server — server-side rendering, API routes, or server actions — can’t be served as a static site and the build will fail. Mythos apps are frontend-first (data lives in your connected Supabase), so most projects publish cleanly.
- One live build per project. Each project has one published site at one URL. Publishing again replaces it; it doesn’t create a second copy.
- No password protection. A published site is fully public. There’s no view gate — use Unpublish to take it down.
- Custom domains aren’t available yet. Published sites live on
*.r21.devfor now. See Custom domains.
Troubleshooting
Publishing failed — what now?
Publishing failed — what now?
The review step shows the error and a way to retry. The most common cause is a project that needs a live server (API routes or server-side rendering), which can’t be served as a static site. Adjust the project to be frontend-only, then publish again.
My published site is out of date
My published site is out of date
Editing the project doesn’t update the live site on its own. Open the Publish panel and select Update site to rebuild and push your latest changes.
My old link stopped working
My old link stopped working
If you renamed the subdomain, the old address no longer resolves. Share the new
your-name.r21.dev URL instead.I published something private by accident
I published something private by accident
Open the Publish panel and select Unpublish. The site becomes unreachable. Remove the private content, then publish again when ready.
FAQ
Does publishing cost credits?
Does publishing cost credits?
No. Publishing and updating a published site are free. Only building and editing the project itself spend credits.
Can other people see my site without an account?
Can other people see my site without an account?
Yes — a published site is public. Anyone with the link can open it, no Mythos account required.
Can I change my URL after publishing?
Can I change my URL after publishing?
Yes, anytime. Edit the subdomain on the URL step; the new address goes live within seconds and the old one stops working.
How long does publishing take?
How long does publishing take?
Usually under a minute. The panel shows a “Publishing your site” state while it builds, then switches to “Your app is live!”.
Can I publish both Vite and Next.js projects?
Can I publish both Vite and Next.js projects?
Yes. Both build and deploy as static sites. A Next.js project that depends on a server (API routes, SSR, server actions) won’t publish — those need a live backend Mythos doesn’t host.
Related
- SEO & social previews — the title, description, and image you set on the SEO step.
- Custom domains — using your own domain instead of
*.r21.dev. - Credits & pricing — what building and editing cost (publishing is free).
- Quick start — building the project you’ll publish.