Get started

Quickstart

All docs

Make a sample site, change its headline, look at it on a phone, take the change back and export it. Follow the window steps; the same steps from a terminal are at the end.

Before you begin

Install Velluma first (Install). This guide makes a small sample site called bakery, so nothing of yours is touched.

Make a sample site

  1. Create it from a starter

    Start Velluma from your app menu, press Ctrl N, name the site bakery and pick the Landing starter. The new site opens in its own window.

    You get two files, index.html and styles.css: a header, a large opening section, three features, a call to action and a footer.

  2. Look at it

    The page appears in the middle of the window, at the width you pick at the top.

Change the headline

  1. Edit the words in place

    Double-click the big headline, type Fresh bread every morning, and press Enter or click away to save. Esc cancels.

  2. See the receipt

    Open History in the right panel. Your change is at the top, and index.html on disk now holds the new words.

Look at it on a phone

  1. Pick the phone width

    Pick 390 in the widths at the top of the window, or all three to see phone, tablet and desktop side by side.

  2. Check it

    Checks run from a terminal or through your agent (below). On the starter they find four things: no page description, no social preview, footer links smaller than a fingertip, and no site icon, each with its fix. Check your pages lists every kind.

Take it back

  1. Undo

    Press Ctrl Z. The file returns to the exact bytes it had before.

  2. Save a snapshot

    Before a bigger change, save the whole site under a name in the Snapshots panel.

Export to a folder

  1. Plan the export

    Press Publish in the top bar and pick Static folder. Choose a folder beside your site, such as ~/sites/bakery-out. The plan lists its steps (copy the site, check links and assets, export) and anything that blocks it.

  2. Export

    Press Export. The result shows what was written and where.

Watch outThe export folder must sit beside your site rather than inside it, and be either empty or an earlier Velluma export.

The same steps from a terminal

Run these with the window closed. While a window has the folder open, the terminal opens the site read-only and says so.

velluma new ~/sites/bakery --starter landing
cd ~/sites/bakery
velluma text --file index.html --select "#hero-title" --to "Fresh bread every morning"

Velluma shows the line it will change and asks before saving:

  -     <h1 id="hero-title">A clear page for the work you do</h1>
  +     <h1 id="hero-title">Fresh bread every morning</h1>
committed receipt r-…
velluma check --widths 390
velluma undo --last
velluma snapshot save first
velluma publish plan --target export --to ~/sites/bakery-out
velluma publish run --target export --to ~/sites/bakery-out

The snapshot answers Saved first · 2 files, and the export ends with exported to …, the number of files and preflight: 0 errors, 0 warnings. An export path must be a full path; one with .. in it is refused.

Next steps