memcode docs
Websites

Websites

Describe a site, preview it, and publish it at your own memcode.app address.

Websites turns a description into a real static website, hosted for you at yoursite.memcode.app. You describe what you want, memcode builds it, you look at the preview, and when it's right you publish it. You can keep changing it the same way, by asking.

Websites is in preview. Everyone can create, view, and manage sites. Building a site from a prompt is available to preview accounts while we finish rolling it out.

Make your first site

In the web app, open Websites and describe the site:

A one-page site for Crumb, a neighborhood bakery: a hero, three signature
breads, opening hours, and the address.

Memcode names the site, gives it an address, and starts building. When the build finishes, the preview shows the site. Check it at desktop, tablet, and mobile widths with the buttons above the preview.

From the command line, the same thing:

memcode websites create --prompt "A one-page site for Crumb, a neighborhood bakery"
memcode websites open crumb --preview

You can also just ask in any memcode session: "make me a website for my bakery".

Publish it

When the preview looks right, click Publish. The site is live at crumb.memcode.app (your site's address is shown in the app). Later changes stay in the preview until you click Publish changes.

See Previewing and publishing for sharing a preview, taking a site offline, and who in your organization can publish.

What a site can do

Sites are static and self-contained: pages, styles, images, and scripts that ship with the site. For safety, a published site can't load anything from other domains. That means no external fonts, images, scripts, analytics, or calls to outside APIs. Put files you need, like a logo or a PDF menu, in the site's assets.

Each organization can have up to 10 sites, and a site's built output can be up to 50 MB.

Next

On this page