DEVELOPER GUIDE

Your HTML. A little more human.

The markup API keeps client content separate from your code. Here's how to prepare a site for WireSwan.

Upload the built site

A ZIP of the files your build makes: HTML, CSS, scripts and pictures. Nothing runs on the server, so there is nothing there to keep patched.

Mark what may change

One attribute on each element your client may edit. They change exactly those parts in the browser; everything else stays as you wrote it.

Hand it over

Name the monthly price and send the invitation. Your client pays by card and signs in to edit, and your margin reaches your bank.

Six attributes do most of a site

Each card adds one attribute to markup you already write and shows what your client gets. Where it says Change either one, type in the code or in the preview.

01

Let the words change.

Add data-edit to a text element. Your client can update its content while the surrounding layout stays yours.

Your code
<h1>
  Room to be.
</h1>
What your client gets

Room to be.

02

Give images a little freedom.

Mark an image with a stable key. Replacements will be re-encoded and resized before publishing.

Your code
<img
     src="/images/studio.webp"
     alt="A light-filled studio" />
What your client gets
Fixed — the owner cannot change this
03

A small palette. Plenty of personality.

Expose a handful of CSS variables. Keep the rest of your design system out of reach.

Your code
<style>
  :root { --primary: #ee633d; }
</style>
What your client gets
Fixed — only you can change this
04

One key. Every page.

Prefix a key with global: for shared content. Other keys belong to their page path. Keep keys stable so client edits can survive new releases.

Your code
<a
   href="tel:+40123456789">
  +40 123 456 789
</a>
What your client gets

+40 123 456 789

05

Ship a dark mode too.

Write the night colours the way you already do: the same properties again inside a dark rule, or a -dark set swapped in by one. Your client gets each colour as one row with a day and a night swatch, and a switch in the editor to see the site either way.

Your code
<style data-edit-colors>
  :root { --ink: #111; --paper: #faf8f3; }
</style>

<style>
  @media (prefers-color-scheme: dark) {
    :root { --ink: var(--ink-dark);
           --paper: var(--paper-dark); }
  }
</style>
What your client gets
AaAa
06

Hand over the search listing too.

A seo: key makes the page title and the meta description editable. Always per page, never rich text, and collapsed to a single line before publishing. You write the first version; your client can rewrite it when the business changes, instead of emailing you about it.

Your code
<title>Maison Ilie</title>

<meta name="description"
      data-edit="seo:description"
      content="A quiet salon in Cluj.">
What your client gets
maisonilie.roUntitled pageNo description, so a search engine invents one from the page.

Reference

That is the whole idea. The rest is reference.

Those six do most of a site. Everything below is the detail you will want later and not now — lists that grow, opening hours, the night look, and every rule, limit and warning the uploader actually enforces, read from the code that enforces it.

  1. 01Every attributeEvery form, in one table
  2. 02Naming a keyWhat makes a name valid, and what it belongs to
  3. 03Where it may goThe elements that accept it, and the markup that survives
  4. 04What a ZIP may holdSizes, counts and the file types we accept
  5. 05When it complainsEvery warning, and the fix for each
  6. 06What an owner cannot changeThe boundary, stated before you promise it
  7. 07Pages that moveTabs, animations, lists, opening hours, themes, Google
  8. 08FormsApplications and messages that reach the owner, with no form service
  9. 09ComponentsReady sections with the owner's fields already marked
  10. 10Your name in the footerWho made the site, and the public page it leads to
  11. 11Pictures they uploadLimits, and what we do to them
  12. 12Rules as textThe whole convention, to paste into your editor
  13. 13WireSwan AIWhat it does for you and your clients, and its tokens
  14. 14After it is upPreviews, republishing, the handover, payouts, domains, Google, the owner's side

Every attribute, in one table

Every attribute WireSwan reads, and where it goes. Nothing else is needed, and none of it is required: a site offers exactly what you mark.

data-edit="hero-title"On a text element

The owner may rewrite the words. Bold, italic and links survive; the layout does not move.

data-edit="hero-image"On an <img>

The owner may replace the picture. We re-encode what they upload and serve it from the site's own address. Each picture is its own field, even when two use the same file.

data-edit="global:phone"Anywhere, any page

One value shared by every page that uses the same key. Change it once, it changes everywhere.

data-edit="seo:title"On <title>

What search engines show as the headline. Kept to 60 characters.

data-edit="seo:description"On a <meta>

The sentence under the headline, written into content=. Kept to 155 characters.

data-edit-colorsOn a <style>

Every --custom-property inside becomes a colour the owner can pick. Up to 12 colours; a colour's night value counts with it, not on its own. A night value is recognised two ways, and either works: the same property again inside a dark rule ([data-theme="dark"], .dark, @media (prefers-color-scheme: dark)), or a second property that a dark rule swaps in (--ink: var(--ink-dark)). A name ending in -dark that nothing swaps in is simply another colour.

data-edit-href="book-link"On an <a>

Where the link goes: a web address, mailto:, tel:, a page of the site (/menu.html) or a place on this page (#visit). The one way an owner can change a phone number in tel:, an address in mailto:, or a booking URL.

data-edit-alt="hero-alt"On an <img>

What the picture shows. For search engines, and for anyone who cannot see it.

data-edit-visible="holiday"On any element

The owner can switch the whole thing off. Switched off, it is removed from the page, not hidden with CSS. Put the same key on a section's JSON-LD block and the schema goes with it. On an element that also has data-edit, give the switch a key of its own: data-edit="badge" data-edit-visible="badge-on".

data-edit-list="menu"On the element holding the rows

Its children are rows the owner can move, copy and remove: a menu, a price list, the team, a gallery. Write the same keys in every row (data-edit="name"); each row gets its own. Up to 100 rows.

data-edit-hours="global:hours"On the element holding the hours

Opening hours, edited as a week: each day open or closed, with a break if it has one. Each row says its days (data-days="mo-fr") and marks where the days and the times go (data-hours-days, data-hours-time). A break goes in the same row: 08:00–12:00, 13:00–17:00. Rewritten in your markup, words and time format. The block also carries the week as JSON in data-hours-value, for scripts.

data-open-nowOn an empty element

"Open now · closes at 20:00" or "Closed · opens tomorrow at 9:00", written by the page from the owner's week and kept current every minute, in the language of <html lang>, on the business's clock (Europe/Bucharest; put another zone in the attribute). Needs opening hours somewhere on the site; nothing to script, nothing to translate. Part of hosting, like the visit count: a downloaded site shows nothing there.

data-edit-group="Menu"On any container

Names the group the owner sees in the editor's All content list. Optional: by default a group is named after its section's heading, tab names included ("Menu · Coffee").

data-edit-label="Espresso price"Beside data-edit, or on a list

The name the owner sees for this field in the list, instead of the key. Optional: "menu-07-price" already reads as "Menu 07 price". On a data-edit-list it names one row: "Dish" gives "Add dish".

data-edit-offBeside data-edit-visible

The element starts switched off; the owner switches it on. Inside a list's row: a badge only some rows show.

data-wireswan-creditOn an empty <a>, in the footer

"Built by <your name> · WireSwan", in English on every site, linking to your public page. Not the owner's to change (see Your name in the footer).

{{global:hours|schema}}In JSON-LD

The opening hours as Google reads them: "openingHoursSpecification": "{{global:hours|schema}}". Quoted or not, it becomes the list; quoted, your file is valid JSON before upload too. Closed days are left out, a break is two intervals.

{{global:phone}}In JSON-LD, or in an href

The field's current words, filled in every time the site is saved. Any text field can be referred to, seo:title and seo:description included. The owner edits the phone once; the tel: link and what Google reads follow. Filters: |tel keeps + and digits, |digits only digits, |intl:40 the number the way wa.me wants it, whichever way the owner typed it.

The number on a site’s page, “N fields your client can edit”, counts each of these the owner can change: every data-edit (the search title and description too), everydata-edit-href, data-edit-alt, data-edit-visible, list and opening hours, and every colour once for its day value and once for its night value. A global: key marked in two places is one field. The Editable fields page lists them all.

Naming a key

A key is how the editor finds the same thing again after you republish. Keep it and the owner’s words come back; change it and they are orphaned.

  • Starts with a letter or a digit
  • Then letters, digits, - and _
  • Up to 64 characters
  • No spaces, dots or slashes

A plain key belongs to its page: hero-title on index.html and the same key on about.html are two separate things. Prefix it with global: to make them one.

Good

hero-titleopening-hoursglobal:phoneseo:description

Rejected

-titlehero titlehero.title

Where data-edit may go

On a picture, that is <img>. For words, one of these 31 elements — anything else is reported and left alone, because rewriting a tag we do not understand is how a layout gets broken.

aaddressbblockquotebuttoncaptioncitedddivdtemfigcaptionh1h2h3h4h5h6ilabellegendlipqsmallspanstrongsummarytdthtime

Inside one of them, an edit keeps <a>, <b>, <br>, <em>, <i>, <small>, <strong>, <sub>, <sup> and nothing else. If a heading contains an icon or a nested <span> you need to keep, mark the inner element instead of the heading.

Marking can change what your CSS reaches. Wrap a name in <span data-edit>and a rule written for another span — .logo span { font-size: 13px }, meant for the ® — now shrinks the name too. Nothing in the upload can tell that apart from what you meant, so after marking, look again at selectors that end in a bare tag, and give the old span a class.

What a ZIP may contain

  • At most 100 MB zipped, 150 MB unzipped
  • At most 600 files
  • An index.html at the root
  • No folder called _uploads — that name belongs to the owner’s own uploads
  • Each page at most 3 MB and 60,000 tags, saved as .html

Static files only. There is no build step and nothing runs on the server, which is also why there is nothing on the server to keep patched.

The site’s address on the hosting domain is made from its name. Words that would make it read as WireSwan’s own desk — our name, admin, billing, pay, help, support, login, secure, account, verify — and the names of banks and big brands are not allowed as part of it, because pages pretending to be those use them. Pick another word; the client’s own domain can be anything.

Any ZIP tool works, Windows’ own included: zip the folder or its contents, and folders written with \ are read as folders.

Every file is checked by what it contains, not by its name, before anything is written: a video must really be MP4 or WebM (at most 80 MB each), and a PDF (at most 20 MB) may only show pages — one with a script, a form that sends data, files inside it or a password is refused, with its name and the reason. Hidden files and folders ( .env, .git) and files a website does not serve (README.md, a .php form) are left out, never published, and listed after the upload, so a secret zipped by mistake never goes online.

The ZIP limit is not the site’s room. One ZIP may be up to 100 MB because it is read whole and checked file by file, one upload at a time, on the server every site shares. The room the site is sold with (1 GB and up, shown on its page) holds what it gathers afterwards: the versions kept to go back to, the pictures the owner adds, the files sent through its forms. Large photographs belong in the editor, which makes web-sized copies of them.

A new ZIP keeps what was edited. Texts, pictures, lists, colours, hours and the Google listing edited in WireSwan are stored apart from your files and put back by their keys. Keep the keys and a new design keeps every word. If a new version would hide something that was edited (a key renamed or taken out), or, on a site with an owner, link to files that are not there, it is not published until you have seen the list and chosen Publish anyway. Nothing is deleted either way: hidden words come back with their key.

The owner may let up to three more people edit. A colleague or a friend, by email, who see only the editor: no payments, files or forms. You are not asked and cannot see or change who they are. What they save is kept like any other edit, with their name beside it, so a new ZIP keeps it too.

The owner can choose another developer. The website is theirs: they ask another developer by email, who offers a monthly price (and, if they want, a one-off price for taking it over), and the moment the owner accepts, the website is the new developer’s and no longer in your dashboard. Your subscription with them ends then; what you were paid stays yours. The owner can also stop with you before having somebody new: WireSwan then looks after the website at the same price until they choose. When you take a website over yourself, its footer and your public page name you from the first version you publish on it: until then what visitors see is still the former developer’s work.

Your own “page not found”. Put a 404.html at the top of the ZIP and every address that is not a page shows it, answering 404 as a missing page should, so search engines do not take it for a page. Without one, visitors see a plain “Not found”. Link its styles and pictures from the root (/style.css), since it is shown at any address.

Leave out sitemap.xml and robots.txt: we write both for the site’s address and again when a domain is connected (yours would keep the old address). Keep noindex on drafts only; a page that says it is left out of the sitemap. No <meta http-equiv="Content-Security-Policy">: the visit count, the editor and the “open now” line are small scripts the page needs to run and to reach WireSwan.

Accepted file types

.avif.css.gif.htm.html.ico.jpeg.jpg.js.json.map.mjs.mp4.otf.pdf.png.svg.ttf.txt.wasm.webm.webmanifest.webp.woff.woff2.xml

When the upload complains

None of these stop a site going up. Each one means something the owner will not be able to change, or a copy that will not follow its field when they do — which is worth a minute now rather than a message later.

On the site’s page in your dashboard each one is listed by these names, with its key and the part of the page it is in, and a button that copies the whole list as text.

Empty keydata-edit with nothing in it.

Give it a name, or remove the attribute.

If you leave it: Skipped: there is nothing there for the owner to change.

Invalid keyThe name breaks the rule below.

Start with a letter or digit; letters, digits, - and _ after that; 64 characters at most.

If you leave it: Skipped: the element stays as you wrote it.

Duplicate keyThe same key twice on one page, including on one element's data-edit and data-edit-visible.

Two elements that should always say the same thing want global:, not the same page key. A switch on a marked element wants its own key: data-edit="badge" data-edit-visible="badge-on".

If you leave it: One field drives both: when the owner edits it, both change. A data-edit-visible that repeats its element's data-edit key is dropped.

Type conflictOne key used on text in one place and an image in another.

A key is text or a picture, never both. Rename one.

If you leave it: Only the first use is a field; the other stays as you wrote it.

Unsupported elementdata-edit on a tag we cannot safely rewrite.

Move it to one of the elements listed above, usually a span wrapped around the words.

If you leave it: Skipped: the owner never sees it in the editor.

Nested markupSomething inside the editable element we cannot keep.

Only <a>, <b>, <br>, <em>, <i>, <small>, <strong>, <sub>, <sup> survive an edit. Anything else belongs outside the marked element, or mark the innermost element instead.

If you leave it: Skipped whole: the owner cannot edit any of it.

Invalid colourA property under data-edit-colors that is not a hex colour.

Use #rgb, #rrggbb or the same with alpha. Keep gradients and keywords in a property that is not marked.

If you leave it: That colour is not offered to the owner; the page keeps your value.

Too many coloursMore than 12 colours under data-edit-colors (a day and a night value are one colour).

Mark the ones the owner should choose; leave the derived shades to CSS.

If you leave it: The colours after the limit are not offered; the page keeps your values.

Inline attributesA tag kept inside a marked element (<b>, <em>, <small>, <a>…) carries a class, style or other attribute.

Only the tag survives the owner's first save (and href on <a>). Style it from CSS: h1 em { font-family: … }.

If you leave it: Fine until the owner first saves that field; then the attribute goes and the words lose that look.

Copy not linkedJSON-LD, or a tel: link, holds a field's whole value written out by hand: the same words (six characters or more, case and spacing aside) or the same phone number. If the block refers to a field with those words, it is not a copy — a decorative “Cluj-Napoca” elsewhere does not make {{global:city}} one.

Write {{key}} there instead, or tel:{{key|tel}}. If the words only match a decorative field by chance, give the value a field of its own (global:city) and refer to that.

If you leave it: The copy keeps the old value when the owner edits the field: Google, or the call button, says what the page no longer does.

Unknown reference{{key}} names a field the site does not have, or a picture, colour or switch.

Mark the element with that key, or correct the name. Any text field can be referred to, seo:title and seo:description included.

If you leave it: The reference is written as nothing: an empty value in the schema or the link.

Unknown filter{{key|filter}} with a filter that does not exist, or |intl without a country code.

Filters: |tel, |digits, |intl:40 (with your country code), and |schema for opening hours.

If you leave it: The value goes in as plain text, as if there were no filter.

Invalid JSON-LDA JSON-LD block stops being JSON once its references are filled in.

Keep each reference inside quotes: "telephone": "{{global:phone}}".

If you leave it: Search engines ignore the whole block.

Schema not switchedAn FAQPage schema on a page whose sections can be switched off.

Give the JSON-LD block the same data-edit-visible key as the FAQ section.

If you leave it: Switched off, the questions leave the page but stay in what Google reads.

Empty listA data-edit-list with no rows inside it.

Its children are the rows: put at least one in it, written the way the rest will be.

If you leave it: There is no list: nothing to add, copy or remove.

List in a listA data-edit-list inside another list's row.

One level only. Make it a list of its own, for example one list per menu tab.

If you leave it: Its words belong to the outer row; its own rows cannot be added or removed.

List too longMore than 100 rows in one list.

Split it into two lists.

If you leave it: The rows after that are not shown.

Id in a rowAn element inside a row has an id.

Use a class.

If you leave it: Works until the owner copies the row: then two elements share the id, and labels, tabs and anchors pointing at it break.

List with nothing to editNothing in the rows of a list is marked with data-edit.

Mark the words and pictures in each row.

If you leave it: The owner can move, copy and remove rows, but not change what they say.

Hours rowsA data-edit-hours block whose rows cannot be read as a week.

Every row needs data-days (mo-fr, sa, su…), a data-hours-days and a data-hours-time element, and each day in one row only. A break goes in the same row: 08:00–12:00, 13:00–17:00.

If you leave it: Days in a row it cannot read start as closed. Your rows stay as written until the owner saves the week; then every row is written from it.

Hours by handJSON-LD writes openingHours or openingHoursSpecification out, on a page with data-edit-hours.

Write "openingHoursSpecification": "{{global:hours|schema}}" instead.

If you leave it: Google keeps the old hours after the owner changes the week.

Fields inside hoursA data-edit inside a data-edit-hours block.

Take data-edit off them.

If you leave it: When the owner changes the week the rows are rewritten whole, and those fields with them.

Schema on something else|schema on a key that is not opening hours.

Only a data-edit-hours key can be written as a schema.

If you leave it: The value goes in as plain text.

Hidden files left outFiles or folders whose name starts with a dot: .env, .git, .htaccess.

Nothing, unless the site needs one of them; then give it a name without the dot.

If you leave it: Left out and never published, so a password or key zipped by mistake never goes online.

Files left outFiles a static website does not serve: README.md, a .php form, a design file.

Leave them out of the ZIP. For a form, use data-wireswan-form or a form service.

If you leave it: Left out. Server code such as PHP does not run here, so a form that posts to it does nothing.

Missing fileA page or stylesheet links to a file that is not in the upload.

Add the file, or correct the link. Addresses are read from the page's own folder; one starting with / from the site's root.

If you leave it: Visitors get a broken picture, a missing style or a page that does not exist.

Wrong capitalsA link and the file differ only in capitals: Images/Logo.png and images/logo.png.

Write the link exactly as the file is named.

If you leave it: It works on Windows and macOS, which ignore capitals, and breaks online, where they count.

Link without .htmlA link to /about where the page is about.html.

Link to about.html, or make the page about/index.html, which /about reaches.

If you leave it: The link leads nowhere: this host does not add .html to an address.

Large pictureA picture over 1 MB, usually straight from a camera or a phone.

Export it for the web (a few hundred KB is usual), or let the owner add it in the editor, which makes web-sized copies.

If you leave it: The page loads slowly, most on a phone, and the picture takes room the site could keep for other things.

Wrong file typeA picture or font whose contents are not the kind its name says.

Save it again in the format its name says.

If you leave it: A browser may show nothing. Nothing in it can run.

Empty pageA page whose <body> came out empty. Almost always a <style>, <script> or <title> in the <head> that never closes, so the rest of the file is read as its text.

Close the tag. Open the page in a browser before you zip it.

If you leave it: Visitors get a blank page — and the fields may still look right, so nothing else gives it away.

A page that passes every check

Every kind of field on one page — words, a picture and its description, a link to a place on the page, two switches, colours with night values, a list, opening hours with a break, and a schema that follows all of it — and nothing the upload would point out. It goes through the same checks as your uploads every time we change them.

Example page
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title data-edit="seo:title">Cuc · Coffee on Napoca Street</title>
  <meta name="description" data-edit="seo:description" content="Specialty coffee and pastries, two steps from Union Square.">

  <!-- The owner's colours. --ink-dark is the night value of --ink because a
       dark rule swaps it in (the second <style>); it counts as one colour. -->
  <style data-edit-colors>
    :root { --ink: #1d1a16; --paper: #f6f1e7; --accent: #6b7a3a;
            --ink-dark: #f1ece2; --paper-dark: #16140f; }
  </style>
  <style>
    [data-theme="dark"] { --ink: var(--ink-dark); --paper: var(--paper-dark); }
  </style>

  <!-- Every value here follows its field: nothing written out by hand. -->
  <script type="application/ld+json">
  {
    "@context": "https://schema.org",
    "@type": "CafeOrCoffeeShop",
    "name": "{{global:name}}",
    "description": "{{seo:description}}",
    "telephone": "{{global:phone}}",
    "address": { "@type": "PostalAddress", "streetAddress": "{{global:address}}", "addressLocality": "{{global:city}}" },
    "openingHoursSpecification": "{{global:hours|schema}}"
  }
  </script>
</head>
<body>
  <header><span data-edit="global:name">Cuc</span></header>

  <section data-edit-group="First image">
    <h1 data-edit="hero-title">Coffee, <em>slowly</em>.</h1>
    <img data-edit="hero-image" data-edit-alt="hero-alt" src="images/hero.jpg" alt="The bar in the morning">
    <!-- A link to a place on the page; the owner may point it elsewhere. -->
    <a href="#visit" data-edit-href="hero-link"><span data-edit="hero-button">Come by</span></a>
    <!-- Starts switched off; its words are a field of their own. -->
    <p data-edit-visible="holiday" data-edit-off><span data-edit="holiday-note">Closed for the holidays.</span></p>
  </section>

  <section data-edit-group="Menu">
    <ul data-edit-list="menu" data-edit-label="Drink">
      <li><span data-edit="name">Espresso</span> <span data-edit="price">9 lei</span>
        <span data-edit-visible="new" data-edit-off>New</span></li>
    </ul>
  </section>

  <section id="visit" data-edit-group="Visit">
    <p data-edit="global:address">Strada Napoca 5</p>
    <p data-edit="global:city">Cluj-Napoca</p>
    <a href="tel:{{global:phone|tel}}"><span data-edit="global:phone">0775 654 695</span></a>
    <ul data-edit-hours="global:hours">
      <li data-days="tu-fr"><span data-hours-days>Tuesday – Friday</span> <span data-hours-time>08:00–14:00, 15:00–20:00</span></li>
      <li data-days="sa-su"><span data-hours-days>Saturday – Sunday</span> <span data-hours-time>09:00–18:00</span></li>
      <li data-days="mo"><span data-hours-days>Monday</span> <span data-hours-time>Closed</span></li>
    </ul>
  </section>
</body>
</html>

Hand the rules to your editor

If you work with an assistant that reads instructions — Claude, Cursor, Copilot, whichever — paste this in once and it will mark a site correctly instead of guessing. It is the whole convention in one screen, so it reads just as well if you would rather keep it beside you.

Rules, as text
You are marking up a static website for WireSwan, which lets the site's owner edit
parts of it without touching the layout or the code. Follow these rules exactly.

MARK A PIECE OF TEXT
  Add data-edit="some-key" to the element holding the words.
  Allowed on: a, address, b, blockquote, button, caption, cite, dd, div, dt, em, figcaption, h1, h2, h3, h4, h5, h6, i, label, legend, li, p, q, small, span, strong, summary, td, th, time.
  Not allowed on anything else; move the attribute to a <span> around the words instead.
  Inside a marked element only <a>, <b>, <br>, <em>, <i>, <small>, <strong>, <sub>, <sup> survive an edit.
  If a heading contains an icon or a nested element you must keep, mark the inner element.
  Those tags keep no attributes once the owner saves (only href on <a>): never rely on
  <em class=...> or style=; style the tag from CSS instead, e.g. h1 em { font-family: ... }.

MARK AN IMAGE
  Add data-edit="some-key" to an <img>. Any src works as the starting picture, an external
  placeholder included; whatever the owner uploads replaces it and is served from the site.

SHARE ONE VALUE ACROSS PAGES
  Prefix the key with global: — data-edit="global:phone". Same key, same value, every page.
  Without the prefix a key belongs to its page alone.

WHERE A LINK GOES
  Add data-edit-href="some-key" to an <a>, alongside its own href.
  This is the only way an owner can change a phone number in tel:, an address in mailto:,
  or a booking URL. Mark it whenever the link is something a business changes.
  Only http(s), mailto:, tel: and site-relative paths are accepted.

ONE VALUE, EVERY PLACE IT APPEARS
  Where an owner cannot click — inside JSON-LD and inside an href — refer to a text field
  by its key in double braces. It is replaced with the field's current words on every save,
  so the owner changes the phone once and the call link and structured data follow:
    <a data-edit="global:phone" href="tel:{{global:phone|tel}}">0722 123 456</a>
    <script type="application/ld+json">{"telephone": "{{global:phone}}"}</script>
  Filters: |tel (leading + and digits, for tel:), |digits (only digits), |intl:40 (international,
  for wa.me: "0722 123 456", "+40 722 123 456" and "0040 722…" all give 40722123456; put your
  country code after the colon): <a href="https://wa.me/{{global:phone|intl:40}}">WhatsApp</a>.
  In JSON-LD keep every reference inside quotes. Never copy a field's value by hand into
  JSON-LD or a tel: link — the upload flags it, because that copy goes stale.
  To drop a section's schema when the owner switches the section off, give the
  <script type="application/ld+json"> the same data-edit-visible key as the section.

WHAT A PICTURE SHOWS
  Add data-edit-alt="some-key" to an <img>, alongside data-edit if they may replace it too.

A SECTION THEY CAN SWITCH OFF
  Add data-edit-visible="some-key" to any element. Switched off it is removed from the page,
  not hidden, so nothing is left for a search engine to find. Use it for anything seasonal:
  holiday hours, an offer, a notice.
  Add data-edit-off beside it and the element starts switched off instead.

LISTS THE OWNER CAN GROW: MENUS, PRICES, SERVICES, A TEAM, A GALLERY
  Put data-edit-list="some-key" on the element whose children are the rows (a <ul>, a grid
  <div>, a <tbody>). Every child is a row. Write the rows as usual, with the same keys in each:
    <ul data-edit-list="menu" data-edit-label="Dish">
      <li><b data-edit="name">Espresso</b> <span data-edit="price">€2.80</span></li>
      <li><b data-edit="name">Cortado</b> <span data-edit="price">€3.40</span></li>
    </ul>
  The owner moves rows, copies one to start a new one and removes them; every row's words are
  its own. Up to 100 rows. data-edit-href, data-edit-alt and data-edit-visible work inside a row
  and belong to it; a row may differ from the others, and a copy is built from the row it copies.
  data-edit-label on the list names one row ("Dish" gives "Add dish").
  A list's key is a plain name, never global: or seo:. No id attributes inside rows (a copy
  repeats them), no list inside a row, and no {{key}} reference to a field inside a row:
  a list has one value per row. Keep list content out of JSON-LD.
  Spare rows switched off with data-edit-off still work, but a list does not need them.

OPENING HOURS
  Put data-edit-hours="global:hours" on the element holding the rows. Each row says which days
  it stands for in data-days ("mo-fr", "sa", "sa,su"; mo tu we th fr sa su), and marks the
  element with the days' names (data-hours-days) and the one with the times (data-hours-time):
    <ul data-edit-hours="global:hours">
      <li data-days="mo-fr"><span data-hours-days>Monday – Friday</span> <span data-hours-time>08:00 – 20:00</span></li>
      <li data-days="su"><span data-hours-days>Sunday</span> <span data-hours-time>Closed</span></li>
    </ul>
  The owner edits a week: each day open or closed, at most two intervals a day. The rows are
  rewritten from yours: days with the same hours grouped, day names learned from your labels
  (and from <html lang> for the ones you never wrote), times written the way you write them
  (08:00, 8:00, 8, 8.30, 9am), a closed day shown only if you showed one, with your word.
  In JSON-LD: "openingHoursSpecification": "{{global:hours|schema}}". Quoted or not, the whole
  reference becomes the list; quoted, the block is valid JSON before upload as well, which
  matters if a script of yours parses it. Never write opening hours into JSON-LD by hand;
  the upload flags it. No data-edit inside the rows.
  "Open now · closes at 20:00" in the header: an empty <span data-open-now></span>, nothing else.
  The page fills it from the owner's week, in the language of <html lang>, on the business's clock
  (Europe/Bucharest; data-open-now="Europe/Berlin" for another zone), and keeps it current. Style
  it by [data-open="true"] / [data-open="false"]; hide it while empty: [data-open-now]:empty { display:none }.
  For a script of your own, read the week from the block, never from the rows:
  data-hours-value='{"mo":[["08:00","20:00"]],"tu":[["08:00","12:00"],["13:00","20:00"]],…,"su":[]}'
  is written on every save, all seven days, closed = [], times HH:MM on a 24-hour clock, a close
  earlier than the open = after midnight. In the editor a change fires a wireswan:hours event on it.

NAMES THE OWNER READS
  The editor's All content list shows every marked text and picture, hidden or not, grouped
  by section (named after the section's heading, or its tab) with shared global: values first.
  Optional: data-edit-group="Menu" on a container names its group; data-edit-label="Espresso
  price" beside data-edit names one field. Without them the key is read aloud.

PAGES THAT MOVE
  Tabs, accordions and closed panels need nothing: their fields are in the All content list.
  To make them clickable on the page too, open them while <html> has the class ws-on, e.g.
  html.ws-on [role=tabpanel] { display: block !important; }.
  Headings split into words by an animation script need nothing either: the editor puts the
  saved words back before the owner types. Visitors keep the animation.

SEARCH ENGINE FIELDS
  <title data-edit="seo:title"> and <meta name="description" data-edit="seo:description" content="...">.
  Keep the title under 60 characters and the description under 155.

COLOURS
  Put the colours in a <style data-edit-colors> block as custom properties:
    <style data-edit-colors> :root { --primary: #2a2ff5; } </style>
  Every property in that block becomes a colour the owner can pick.
  Values must be hex (#rgb, #rrggbb, with or without alpha). Keep gradients and keywords
  in a style block that is not marked.
  At most 12 colours. A colour with a day and a night value counts once.

A DAY AND A NIGHT LOOK
  Either way below works; the owner gets each colour as one row with a day and a night
  swatch, and a Day/Night switch in the editor that shows the site either way.
  1. The same property again inside a dark rule, in the same marked block:
       :root { --ink: #111111; }   [data-theme="dark"] { --ink: #eeeeee; }
     Dark rules: [data-theme=dark], .dark, @media (prefers-color-scheme: dark).
  2. A second property, swapped in by a dark rule anywhere in your CSS:
       :root { --ink: #111111; --ink-dark: #eeeeee; }
       @media (prefers-color-scheme: dark) { :root { --ink: var(--ink-dark); } }
     The swap is what pairs them. A name ending in -dark alone is just another colour,
     because --primary-dark is as often a darker shade used by day.

KEY NAMES
  Start with a letter or digit, then letters, digits, - and _. Up to 64 characters.
  No spaces, dots or slashes. One key is text or an image, never both.
  Never reuse a key twice on one page; use global: when two places must agree.
  Keys are how an edit is found again after the site is republished, so keep them stable.

THE FILES
  Static only — no build step, nothing runs on the server. At most 600 files,
  150 MB unzipped. An index.html at the root.
  Allowed extensions: .avif .css .gif .htm .html .ico .jpeg .jpg .js .json .map .mjs .mp4 .otf .pdf .png .svg .ttf .txt .wasm .webm .webmanifest .webp .woff .woff2 .xml.
  Do not create a top-level folder called _uploads; that name is reserved.
  Files are checked by their contents: a video must be MP4 or WebM, a PDF may only show pages (no scripts,
  forms that send data, attached files or passwords). Hidden files (.env, .git) and files a website does not
  serve (README.md, .php) are left out and listed, never published. Links to files that are not in the ZIP,
  or written with the wrong capitals, are listed after the upload; on a site with an owner they stop it.
  Each page at most 3 MB and 60,000 tags; a page is .html, never .xml or .svg.

STRUCTURED DATA FOR A LOCAL BUSINESS
  One JSON-LD block per page, every changing value a reference, the fixed ones written out:
    <script type="application/ld+json">{"@context":"https://schema.org","@type":"CafeOrCoffeeShop",
      "name":"{{global:name}}","telephone":"{{global:phone}}","email":"{{global:email}}",
      "address":"{{global:address}}","openingHoursSpecification":{{global:hours|schema}},
      "url":"https://example.com","image":"https://example.com/img/front.jpg","priceRange":"€10–50"}</script>
  Pick the most specific @type (CafeOrCoffeeShop, Bakery, Florist, BeautySalon, HairSalon…).
  url, image and priceRange are what Google's Rich Results Test asks for next; they rarely change.

WHAT THE OWNER GETS
  They click a text or a picture on their own page and change it, or open All content: every
  marked text, picture and list in one searchable list, grouped by section, business details
  first, including what sits behind a tab or in a closed section. Lists get move, copy and
  remove on each row; opening hours are a week; colours a Day/Night pair; links, picture
  descriptions and switches are under Details; the search texts under Search. Nothing reaches
  visitors until they save, and every save can be undone.

WHAT TO MARK
  Everything the owner would reasonably want to change themselves: headings, body copy,
  prices, phone numbers (the text, with tel:{{key|tel}} in the href), addresses, photographs and
  their descriptions, the brand colours, and any section that is seasonal. Menus, price lists,
  services, a team and a gallery as data-edit-list; opening hours as data-edit-hours; the
  business's name, phone, email and address as global: fields referred to from JSON-LD.
  Leave structure, navigation, scripts and layout unmarked — that is the point of the product.

FORMS (WireSwan Forms)
  A form that should reach the owner gets data-wireswan-form="key" (letters, digits, - _), and
  data-wireswan-name="What the owner sees". No action, no method: WireSwan sets them on upload.
  Every field needs a name. Only the fields in the markup are accepted, with the limits written on
  them: required, maxlength, type="email" (the first one becomes Reply-To), select and radio choices,
  and accept on a file input (.pdf .doc .docx .odt .jpg .png, 5 MB each, at most 3).
  Inside the form: an element with data-wireswan-success and hidden, shown once it is sent, and
  one with data-wireswan-error and hidden, which receives the error. data-wireswan-redirect="/thanks.html"
  sends the visitor to a page of the site instead. Ask for consent with a required checkbox.

WHO MADE IT (footer credit)
  An empty <a data-wireswan-credit></a> in the footer becomes "Built by <your name> · WireSwan"
  (in English on every site), linking to your public page, as a small
  black label (white on a dark footer) whose look WireSwan sets. Words you write inside it are kept;
  the address is set by WireSwan. Never mark it data-edit.

What an owner cannot change

Worth knowing before you promise it. Everything here is deliberate — the product only works because the parts you did not mark cannot move.

Most attributesOnly href and alt

Editing replaces what is inside an element. Two attributes are the exception, and only because they are marked: data-edit-href and data-edit-alt. Classes, ids, styles, data attributes and everything else stay yours.

The page itselfNever

Layout, spacing, fonts, the order of sections, new sections, new pages. Order changes only inside a list you marked with data-edit-list, one row at a time. That boundary is the product: it is why you can hand a site over without being called when it breaks.

Anything unmarkedBy design

No attribute, no editing. An element you forgot is simply not offered — nothing warns the owner it is missing, so read your own pages once before you hand them over.

Hidden elementsIn the list, not on the page

Something behind a tab, inside a closed menu or set to display: none cannot be clicked on the page — but every marked text and picture is also in the editor’s All content list, on screen or not, grouped by section and marked with where it is (“in another tab”, “in a closed section”). The owner edits it there. To make it clickable on the page as well, see Pages that move.

Pages that move

Tabs, animations, menus that change with the season, a theme switch. All of it works with WireSwan; each pattern below is the one line that keeps every word of it in the owner’s hands.

html.ws-onTabs, accordions, filters

Nothing to do: everything behind a tab or in a closed panel is in the editor’s All content list, grouped by tab. If you also want it clickable on the page while the owner edits, use the class the editor puts on <html>, ws-on, to open it:

html.ws-on [role="tabpanel"],
html.ws-on .accordion-panel { display: block !important; }

Visitors never see it: the class only exists inside the editor.

Split headingsWords animated one by one

Nothing to do: when the owner clicks a heading your script has split into one span per word, the editor puts the saved words back first, so they type into a heading and not into its pieces. What is saved is always plain words, so the animation keeps working for visitors. If you would rather the heading never split inside the editor at all, skip it when the page is framed — only the editor frames it:

if (window.top !== window) return; // optional: leave the heading whole in the editor
h1 emA word in another font

A save keeps <em>, <b> and the rest, but none of their attributes: <em class="serif"> becomes <em>. Style the tag instead, and the upload warns if you forget:

h1 em { font-family: var(--serif); font-style: italic; }
data-edit-groupNames the owner reads

The All content list groups every field by the section it sits in, named after that section’s heading or its tab, and the business details shared by every page come first. Two optional attributes give the groups and fields the names your client would use:

<section data-edit-group="Menu">
  <span data-edit="menu-07-price" data-edit-label="Espresso price">€2.80</span>
</section>
data-edit-listMenus, prices, services, a team

Mark the element that holds the rows, and write the rows the way you would anyway, with the same keys in each. The owner adds a dish by copying one, moves it up or down and removes the one that is gone — on the page, from a small bar beside the row, or from the All content list:

<ul class="menu" data-edit-list="menu" data-edit-label="Dish">
  <li><b data-edit="name">Espresso</b> <span data-edit="price">€2.80</span></li>
  <li><b data-edit="name">Cortado</b> <span data-edit="price">€3.40</span>
    <span class="badge" data-edit-visible="new" data-edit-off>New</span></li>
</ul>

Every child is a row, so style rows by class or by tag, never by id. A row may differ from the others — a copy is built from the row it copies, badge and all. Scripts that animate rows keep working: the page loads again after every save, with every row in place. A gallery is a list of images: <div data-edit-list="gallery"><img data-edit="photo" src="…">…. Spare rows with data-edit-off still work; a list makes them unnecessary.

{{global:phone}}What Google reads

The business details in your JSON-LD and the number in the call button follow the words the owner edits. One edit, every place:

<a data-edit="global:phone" href="tel:{{global:phone|tel}}">0722 123 456</a>
<script type="application/ld+json">
{ "@type": "CafeOrCoffeeShop", "telephone": "{{global:phone}}",
  "address": "{{global:address}}" }
</script>

Opening hours have a format of their own in JSON-LD; they follow the owner too, from the block below.

data-edit-hoursOpening hours, page and Google

Write your hours rows the way your design wants them, in your language, and say which days each row stands for. The owner sets a week, day by day, with a lunch break where there is one; your rows are rewritten from it — same markup, same classes, days with the same hours grouped — and the schema Google reads is written from the same week:

<ul class="hours" data-edit-hours="global:hours">
  <li data-days="mo-fr"><span data-hours-days>Monday – Friday</span>
    <span data-hours-time>08:00 – 20:00</span></li>
  <li data-days="sa"><span data-hours-days>Saturday</span>
    <span data-hours-time>09:00 – 14:00</span></li>
  <li data-days="su" class="closed"><span data-hours-days>Sunday</span>
    <span data-hours-time>Closed</span></li>
</ul>
<script type="application/ld+json">
{ "@type": "CafeOrCoffeeShop", "openingHoursSpecification": "{{global:hours|schema}}" }
</script>

Everything else is learned from your rows: the names of the days (Wednesday, never written above, is named in the language of your <html lang>), the dash, how you write a time (08:00, 8, 8.30, 9am), and the word and the row for a closed day — shown only because you showed one. Until the owner changes the week, your rows are published exactly as written.

“Open now · closes at 20:00” in the header is one empty element; the page fills it from the owner’s week, in the language of your <html lang>, on the business’s clock, and keeps it current — at once inside the editor, at the next save for visitors. Nothing to script:

<span class="open-now" data-open-now></span>

[data-open="true"]  { color: var(--open); }
[data-open="false"] { color: var(--muted); }
[data-open-now]:empty { display: none; }   /* a downloaded site has no hosting script */

Closed days say when it opens next (“Closed · opens tomorrow at 9:00”); a break says when it reopens; 22:00–02:00 is still open at 01:00. Romanian, English, Hungarian and German words are built in; any other lang reads English. For a script of your own, the week is on the block as data-hours-value after every save: all seven days, a closed day an empty list, times on a 24-hour clock, a close earlier than the open past midnight; a change in the editor fires wireswan:hours on it.

[data-theme="dark"]A day and a night look

Write the night colours the way you already do. Either redeclare the same properties inside a dark rule — [data-theme="dark"], .dark or @media (prefers-color-scheme: dark) — or keep a second set and swap it in:

<style data-edit-colors>
  :root { --ink: #111111; --paper: #faf8f3; }
  [data-theme="dark"] { --ink: #eeeeee; --paper: #141416; }
</style>

The owner sees each colour once, with a day and a night swatch, and a Day/Night switch in the editor shows the site either way — it sets data-theme and .dark on <html> and follows prefers-color-scheme rules too. Up to 12 colours, each counted once whatever it looks like at night. A --x-dark property pairs with --x only when a dark rule swaps it in, since --primary-dark is as often a darker shade used by day.

Forms that reach the owner

Any form on the site can send to WireSwan: what a visitor sends is kept, emailed to the owner the moment it arrives, and waits in their dashboard with its files. No form service, no keys in the page, no action to fill in. Mark the form, upload, and it works.

data-wireswan-formOn <form>

The form’s key: letters, digits, - and _, up to 40. It stays the form’s identity across uploads, so its settings and everything it received carry over. The same key in the footer of every page is one form.

data-wireswan-nameOptional

What the owner sees: “Applications”, “Bookings”. It also picks the email’s subject: a name with “application” in it sends “New application from Ana”.

name, required, maxlengthOn every field

Only the fields in the markup are accepted, each held to what it says: required, maxlength (300 characters by default, 5,000 in a textarea), the choices of a select or a radio group. Anything else a request carries is dropped. The label on the page is what the owner reads beside the answer.

type="email"Reply-To

The first email field is checked, and becomes the address the owner’s Reply goes to. The email itself is always from our own address, never the visitor’s.

type="file"5 MB, up to 3

accept chooses from PDF, DOC, DOCX, ODT, JPG and PNG; without it, a CV (PDF, DOC, DOCX). A file is taken only when its name and its first bytes agree. It is stored privately and never attached to the email: the owner downloads it from their dashboard, signed in. A website keeps up to 524 MB of files in all (26 MB until it is paid for); past that, a message with a file is refused with a sentence asking to send it without one.

data-wireswan-successInside the form

Put hidden on it; it is shown once the message is sent. Without one, the form is replaced by a short thank-you in the page’s language.

data-wireswan-errorInside the form

Also hidden; it receives what went wrong, in the page’s language (<html lang>). The form carries is-sending, is-sent and is-error for styling, and fires a wireswan:sent event.

data-wireswan-redirectOptional

A page of the site to go to once it is sent, like /thanks.html. Only paths on the site are kept.

Without a scriptStill works

The form posts the ordinary way and WireSwan answers with a plain page and a way back. With the script that is added to the page, it sends without leaving it.

RobotsBuilt in

A hidden trap field, a check on how fast the form was filled in, limits per visitor and per form, and only the site’s own addresses may send it. A robot is told it worked and nothing is kept. Once the site has an owner, one sender (one address, a whole IPv6 /64) leaves at most 10 messages and 21 MB of files a day; past that the form asks them to write another way. A website takes at most 500 messages a day in all; past that the form answers that it is busy until the next day, and whoever holds the site is told once. So a crowd of robots cannot fill an owner’s inbox and room, and a few addresses cannot lock the real customers out.

Who gets itThe owner

Until the handover, you, at your own address, so you can test; after it, the owner, who can change where they go (up to five addresses; an address other than their own gets an email to confirm first, and nothing until it says yes, so a typo never sends visitors’ details to a stranger). Until then you choose a confirmation to the sender (sent once the site is paid for, once a day per address, at most a third of the site’s emails a day) and how long submissions are kept (1, 3, 6, 12, 24 or 36 months; 12 by default). After the handover all of it is the owner’s, on their Forms page: switching the form off and on, where its email goes, how long messages are kept (they are told how many a shorter choice deletes, before it does) and the confirmation. You see how many arrived, not what they say.

Switched offBy the owner

When the page opens, the script asks whether the form takes messages; switched off, the form is disabled, carries is-closed and shows “This form is not taking messages” in its data-wireswan-error (or a line of its own), in the page’s language. Without the script, a post gets the same sentence on a plain page. Nothing sent to a closed form is kept.

Emails a day3 · 5 · more

A preview sends 3 a day, enough to test. A paid site has 5 a day included, plenty for a contact or an application form. A busy one takes a bigger plan in Hand over, next to the storage: 25 a day for €2.00, 50 a day for €3.00, 100 a day for €5.00 a month. Like storage it is on WireSwan’s side of the price, never on your margin, and the owner pays one monthly price that says it includes it. Every recipient is one email, and so is the confirmation. Past the day’s emails nothing is lost: submissions stay in the dashboard and arrive at 8:00 as one summary. One sender gets two messages a day emailed at once; more from them wait for the summary, so nobody can spend a site’s day. A plan shows as sold out while the platform has no room for it; the included one never does. After the handover the owner changes the plan (and the room) from their own page. Every change, more or less, starts with their next monthly payment, and a bigger plan only once that payment is in; your part of the price stays exactly the same, and you are not emailed about it. The Forms tab shows the emails sent each day of the last two weeks and the messages that waited for the morning, so you can tell an owner their site is at its limit.

Your priceHand over

Choose the room and the form emails first: together they are WireSwan’s part, shown line by line, and none of it is yours or paid by you. Then type what you want on top, a month. Of that, WireSwan keeps 5% and Stripe its card percentage; the page shows what you receive, and what to type to receive a round amount in full. The total your client pays is the two parts together.

ConsentYour page

A form that asks for personal details should ask for agreement with a required checkbox and link to the site’s privacy page, which should say that WireSwan stores the messages on the owner’s behalf. The Forms tab points out a form without one.

An application form, ready to paste
<form data-wireswan-form="aplica" data-wireswan-name="Aplicații" class="apply">
  <label>Nume complet <input name="nume" required maxlength="120" autocomplete="name"></label>
  <label>Email <input type="email" name="email" required autocomplete="email"></label>
  <label>Telefon <input type="tel" name="telefon" maxlength="30" autocomplete="tel"></label>
  <label>Postul <select name="post" required>
    <option value="">Alege</option><option>Recepție</option><option>Office manager</option><option>Altul</option>
  </select></label>
  <label>Câteva cuvinte despre tine <textarea name="mesaj" rows="5" maxlength="3000"></textarea></label>
  <label>CV (PDF, DOC sau DOCX, max 5 MB) <input type="file" name="cv" accept=".pdf,.doc,.docx" required></label>
  <label><input type="checkbox" name="acord" value="da" required>
    Sunt de acord ca datele mele să fie folosite pentru a răspunde acestei aplicații, conform
    <a href="/confidentialitate.html">politicii de confidențialitate</a>.</label>
  <button type="submit">Trimite aplicația</button>
  <p data-wireswan-success hidden>Mulțumim! Am primit aplicația și revenim în câteva zile.</p>
  <p data-wireswan-error hidden></p>
</form>

<style>
  /* While it sends, and after: the form carries these classes. */
  .apply.is-sending button { opacity: .6; }
  .apply.is-sent label, .apply.is-sent button { display: none; }
</style>

Components

79 ready sections in 10 kinds, at /components: backgrounds, text effects, cards, menus, forms and more. Each one already carries the owner’s editing markup, so what this guide teaches is done for you in it.

Who sees themEverybody; the code with an account

Anybody can browse and try them, live, in light and dark. Copying the code takes a developer account, which is free. The ones you can use today are all free.

What you copyPlain HTML, CSS and JavaScript

The HTML goes where the section goes, the CSS into your stylesheet, the script, when there is one, at the end of the page. A component that uses a Google font has one more line, for the page’s <head>. Everything sits under one class of its own, so it cannot restyle the rest of your site, and no script reaches outside its section, loads anything or stores anything, except Cookie consent, which keeps the visitor’s choice in their browser under one key.

Making it yoursVariables at the top

The colours are CSS variables at the top of the CSS, with a dark set beside them; the font is a single font-family line. Change those and the section takes your site’s look.

What the owner editsListed on each page

Every component’s page lists the fields an owner gets, read from its markup by the same reader your upload goes through: words, pictures, links, lists that grow, hours, colours. They are in the editor from the first upload. Using one component twice on a page? Give the second its own data-edit names, or the two will share one value.

Your name in the footer

Somebody who likes a website you made should be able to find you. One empty link in the footer says who made it and leads to your page on WireSwan, with your work and a form that reaches your inbox.

data-wireswan-creditOn an empty <a>

Write <a data-wireswan-credit></a> where the footer should say it. WireSwan fills it in at every publish: “Built by your name · WireSwan”, in English on every site, while your public page is on; “Built on WireSwan”, without your name, while it is off. A visitor from a page whose <html lang> is Romanian lands on your page in Romanian. The name is your account’s, and a new name, or your page going on or off, reaches every site by itself.

How it looksThe same everywhere

A small rounded label, white words on black, no outline and no shadow, so it reads on any footer. On a dark footer it turns white with black words, and it follows the site when it switches between light and dark. Its look is ours and wins over the site’s link styles; where it sits is yours. Inside an element faded with opacity it fades with it, so put it outside one.

Your own wordsKept

Text you write inside the link stays as you wrote it, in the same label; where it goes and how it opens (a new tab) are set by us. Do not mark it data-edit: it is yours, not the owner’s to change.

Where it leadsDecided at the click

To your public page while it is switched on, telling the visitor which website they came from; to WireSwan’s home page otherwise. The link never has to change when your page does.

Your public pageWith Developer Pro

Your picture, a line about you, links, and your work. It comes with Developer Pro (we may also open one by hand): “Public page” appears in your dashboard, and it shows when you switch it on. Switched on, your name, picture and everything on it are public. Switch it off at any time: it stops existing for visitors, search engines drop it, and your footers say “Built on WireSwan”; what you wrote is kept. The “Verified” mark, once we have checked who you are, shows while you have Pro. When Pro ends the page is hidden and kept as it was, until it returns. A page that breaks our terms may be hidden by us: we email you why, and a person answers when you write back.

Found by businesses/developers

The page for site owners has a “Contact a developer” card for a business with no developer yet. It leads to /developers, the list of public pages, with your picture, name and line, so a business can find you without a link from one of your sites. A page joins that list, and search engines, once we have checked who you are and given it “Verified” (we are told when you switch yours on); until then it works at its address and from your footers.

Your workFills itself

Every website of yours on WireSwan that is paid for and online is on the page by itself, marked “Live on WireSwan”, with its name, address and a picture of its home page that we take after its opening animations, and again when the site changes. You hide any of them, reorder them, add a line about each, use a picture of your own instead, or ask for new pictures. Projects elsewhere you add yourself.

Two languagesEnglish, Romanian

Write the page in English, in Romanian, or both. With both, the visitor chooses at the top of the page, and a visitor coming from a site in Romanian starts in Romanian. With one, everybody reads that one.

MessagesTo your inbox

A visitor leaves a name, an email and a few lines, a phone number and a budget if they like. It reaches your account’s email at once, with Reply going straight to them, and stays under Public page → Messages. Until you open Messages, a number beside Public page and a small card under the header say how many are new. Nothing is sent back to the visitor, so the form cannot be used to send our mail to a stranger.

Pictures an owner uploads

Size12 MB each

Straight off a phone is fine. Larger is refused in the browser, before anything is sent.

How many200 per site

Counted across every page. Replacing a picture does not use another one.

What we do to itRe-encoded

Resized and converted by us, then served from the site’s own address under/_uploads/. Nothing an owner uploads is served as they sent it, which is also why a file that is not really an image cannot become one.

Your filesUntouched

Their uploads live beside your release, never inside it. Republishing cannot overwrite a picture they chose, and their picture cannot overwrite yours.

WireSwan AI

A chat that knows WireSwan and your websites. It answers, explains a warning and writes markup with you; with Pro it also changes your sites’ code. Your clients use it to change their own texts. It never saves anything by itself: every change is a card that a person reads and accepts. In beta, opened step by step.

Where it is/ai, and beside your work

A whole page at /ai, and a small chat in the corner of your sites list, a site’s page, its domains and the editor, which already knows which website you are on. The same chat goes on from one to the other. It is never on a page where somebody pays or is paid.

What it knowsRead, never guessed

WireSwan itself: this guide, the rules, the warnings and the prices. Your websites: their names, addresses, state and versions, and what an owner may change on each. Never payments, payouts, invoices, email addresses, messages from forms or visits. Words it reads on a website are treated as content, never as instructions.

Free accountAnswers and code to paste

It explains, finds why an upload warned you, and writes markup or code on a card with a Copy button. It changes nothing on a website: you paste, zip and publish as always.

With ProYour code, changed with you

It reads your site’s files in pieces and proposes a targeted change, up to ten edits in five files at once. The card shows the diff and opens a preview of the changed website. Nothing goes live until you press “Publish at my own risk” twice: it becomes a new version through the same checks as a ZIP, and the one before stays in Versions to restore. A part too long for the card is counted on it, never hidden. In the small chat a change is only named, with a link to the same chat on /ai, where it is read whole. What Pro is and costs: /pro.

Your clientsOnly what you made editable

An owner, and the people they let edit, say in their own words what to change. They get a card with their real website, Now and After, two or three versions when they ask for ideas, and buttons to keep it or change it. It can change exactly what the editor can: the data-edit fields, lists, hours, colours, links and the search listing; never the layout or the code. Pictures go through a button into the editor. A change is saved like one made in the editor, in the history as made by WireSwan AI at that person’s request, with Undo. So what you mark editable is also what the AI can change for them.

TokensIn buckets, each with a date

A bonus of 500,000 for 30 days when a client first pays for a website you handed over; the next paid handover fills it again, it never adds up. Pro: 2,000,000 for each month paid for. An owner and their editors: 200,000 a month while their website is online. The bonus is spent first. A free account with no paid handover in the last 30 days has none. Every answer shows what it used, and one answer stops at 100,000. One person uses at most 400,000 in a day, whatever their buckets hold; on a very busy day WireSwan AI may also rest until the next. Unused tokens stay.

Models and chatsCygnet, Cob

Cygnet answers quickly; Cob thinks longer for harder questions; Whooper comes later. Your five newest chats are kept, each for 90 days after its last message.

After it is up

Previews14 days

Free, marked as unpublished, and deleted when they run out. We email you before that happens. Two unpaid websites at a time; with Developer Pro five, each kept for 30 days. Up to 5 new websites a day, deleted ones included: each new address gets its own certificate, and those are rationed. The whole platform shares a second limit: 40 new website addresses in any 7 days, for every developer together, because the certificate authority issues only so many a week for one domain. When it is reached, creating a website says when the next one can be made; existing websites, new versions and clients’ own domains are never affected.

RepublishingKeeps the owner’s words

Upload a new ZIP whenever you like. Every key that still exists keeps what the owner wrote; keys you removed are let go. A list keeps the owner’s order: rows you took out go, rows you added come in at the end. Opening hours keep the owner’s week, written into your new rows.

RollbackLast 10 versions

Every upload is kept whole, not as a patch. Going back is picking one and making it live again.

Editing in placeNo re-upload

Change a file from the dashboard and it becomes a new version, with the same history and the same way back.

Your sourceDownload any time

The live version with the owner’s edits already in it, as a ZIP, without our editing attributes. It is a site, not an export you have to convert.

RenamingThe address stays

The name is what your client sees: in the invitation, on their pages and receipts, and on the invoice. Change it from the site’s page at any time; the address, the QR codes and the Google listing stay as they are. An invitation already sent keeps the name it went out with.

DeletingGone, all of it

Files, versions, the owner’s edits, history and domains. The address and the domains are yours to use again at once; anybody else waits 90 days for the address, so a link someone kept to the old site never opens a stranger’s. Payments stay on record. Previews that run out, and sites left unpaid, go the same way. A website already handed over is its owner’s: its developer cannot delete it. One exception: an owner who cancelled hosting and then closed their account leaves the site to you, and deleting it ends that subscription at Stripe first (nothing more was going to be charged).

The handoverFrom the site’s page

Your client’s email, the monthly price (the page shows what you keep after WireSwan’s part and Stripe’s fee), the website’s own price if you sell it through here, the storage it needs, months on the house (up to 12) and the language of the invitation. The invitation email signs them in with one click and shows them the website first; the link works for 14 days, and sending it again gives a fresh one. With their first website they tick the owner agreement, point by point; then they pay, and the site is theirs. Up to 10 invitations a day. The site’s page keeps a checklist of the whole handover — version, domain, Search Console, review link, Business Profile, cards, invitation, owner shown how to edit — ticking itself where it can, so a return visit shows what this client still has coming.

PayoutsStripe, set up once

Before the first handover, connect your bank through Stripe from Payouts: what your clients pay reaches it through Stripe, usually about 7 days after each payment, each one listed with what you keep. Every payment says who paid — a business with its tax ID, or a private person — so the invoice can be made out to them. A buyer in Romania also picks their county (and in Bucharest the sector), which e-Factura needs. For your accountant, Payouts also has Stripe’s own monthly report (what came in, Stripe’s fees, refunds and payouts, as CSV), each payout itemised against your bank statement, and Stripe’s monthly invoices for its fees, which are your expense documents. They open only for your own account, read only; nobody else, administrators included, can open them from WireSwan. When WireSwan refunds a payment or stops a subscription for you or your client (asked by phone, a payment made twice), you get an email with the amount or the date and the reason: a refund comes out of your balance, and says whether WireSwan gave its share of it back too.

What the owner getsTheir side of WireSwan

Their own pages, in their language: the editor, who came, the QR codes, their files to download at any time, their payments with a receipt and the invoice for each, a switch that turns the website off behind a message, cancelling at the end of the month, and the 14-day withdrawal a private person has. A monthly email with the numbers. They never see your pages. Everything they can do is on the owner guide, written for them — send it with the invitation.

Their sign-inNo password needed

An owner signs in with the link we email them, or with Google; a password is optional and confirmed by email. Their account opens on their websites. If they also build sites, they choose Developer in their profile and get your pages too.

Turning it offOne switch, either side

From the site’s page, yours or the owner’s: the website goes offline behind a message (closed for the holidays, renovating) and comes back with the same switch, whoever turned it off. The other side is emailed. Hosting that goes unpaid is different: the owner is warned by email, the site stops, and the files are kept 30 more days: two weeks online after a failed card (7 days quiet, then a warning, then 7 more), offline after that, and a last email 3 days before the files go. You get a copy of every step the owner is sent (the warning, the day it goes offline, the reminder, the day it is deleted), and an email the day an owner cancels hosting, with the date it stays online until.

VisitsCounted, not tracked

Every served page reports that it was opened — no cookies, nothing stored about the visitor, each person counted once a day. The site’s page shows people per week and month, against the week before, the days and the busiest hours, where they came from (Google, Facebook, Instagram, direct, other websites), the pages opened, phones against computers, the browsers’ languages, and how many tapped a link totel:, WhatsApp, mailto:, Google Maps or Waze, Instagram or Facebook. Yours and the owner’s. Sites published before 15 October get the taps after their next publish. On the first of every month the owner gets the month’s numbers by email, in their language, and so do you for every website you handed over; a month with nobody in it sends nothing.

sitemap.xmlWritten for you

A release without sitemap.xml or robots.txt gets both, for the site’s primary address, listing every page that does not say noindex. Ship your own and they are left alone, except that an unpaid site always gets our robots.txt, which asks not to be indexed, until it is paid for. The primary address is the owner’s own domain from the moment it is connected (the subdomain again if it is removed), and every indexable page gets a <link rel="canonical"> to it, so Google counts one site, not two. A page that names its own canonical keeps it. Once the own domain is served (the site is paid for), a page opened on the wireswan.site address is sent to the same page there with a permanent redirect. The editor keeps working on the wireswan.site address, and if the domain stops reaching us, the redirect pauses until it does again.

Months on the houseSet by WireSwan

“The website, and hosting free for the first three months”: only WireSwan gives free months, since the hosting in them is ours to pay for, and only with the websites we build ourselves. The invitation then says so. The owner pays the website now, if it has a price, adds a card, and the monthly price is first charged when the free months end. Nobody is paid for hosting until then. A week before that first charge the owner gets an email with the date and the amount, in their language, while they can still cancel: nobody should learn hosting costs money from their bank statement.

Hosted freeSet by WireSwan

A website WireSwan hosts for nothing (a friend’s site, a charity) has no price on the handover at all: you only pick the address and the language, and the email and the invitation page tell the owner hosting is free. They are never asked for a card, and the site is theirs the moment they accept.

Domains, watchedThree times a day

Every connected domain is checked against public DNS at 06:45, 12:45 and 18:45 (Romanian time). Two misses in a row (DNS changed at the registrar, the domain lapsed, a parking page put back) email the owner and you: you with the records it needs, them in plain words with the subdomain the site still answers at. Both hear when it works again. Where the registry publishes an end date (.com, .app and most other generic domains; .ro does not) you both get a reminder a month before it expires.

LanguageAt the handover

Pick Romanian or English for the invitation, and the email, the invitation page, the owner’s pages, the editor, their receipts and every email they get follow. The owner can switch at any time, from the footer or their profile; the agreement they tick is recorded in the language they read it in. Your own pages stay in English for now.

QR codesPrinted or downloaded from the site’s page

Two codes drawn from the site’s address: one opens the website, one opens “write a review” on Google once you paste the business’s review link. A print page lays them out, one card per sheet; every line on a card can be rewritten in place, by you or the owner, and Save keeps the words for both of you. Lines nobody wrote follow the language switch on that page.

Search ConsoleOne click, or no DNS

With WireSwan’s Google account connected, one button on the site’s page verifies the site in Search Console, adds it as a property and sends its sitemap; what people searched to find it then shows next to the visits, for you and the owner, and in the monthly email. The property belongs to WireSwan’s Google account, so nobody has to share theirs. Otherwise paste the HTML tag Search Console shows for a “URL prefix” property, or Bing Webmaster Tools’ meta tag: every page carries it from then on, and Verify works at once. When a domain is connected, the new address is set up again by itself.

Their domainA few DNS records

Add it from the site’s Domains page. It shows the exact records for their registrar — a TXT record that proves the domain is theirs, then A for the bare domain and a CNAME to connect.wireswan.app for www or any other subdomain — and checks them live. Use the CNAME wherever DNS allows it: it follows us if we ever move to another server, so the client never has to touch DNS again. The bare domain cannot hold a CNAME, so it gets our fixed address, which we keep across servers; a provider with ALIAS/ANAME or CNAME flattening (Cloudflare) can point it at the same name instead. A www still on an address keeps working; the Domains page suggests the switch. The www version is connected with it and sends visitors to the bare domain. WireSwan gets the certificate and renews it; the site keeps its wireswan.site address too, so nothing breaks while the records propagate. The domain stays theirs: they pay their registrar, you only point it. A domain still connected to another website (one that lapsed and was bought again, say) moves to this one when its TXT record is checked and it is connected within the hour; the other website’s developer and owner are told it went.

Where next

DEVELOPER GUIDE

See it from your client side.

Explore the sample workspace