Build for any device, the web way.

4 min·Assumes: nothing

Write
and
in JavaScript. Markless is designed to compile them to any device.
A pen-and-ink drawing of a Beanshop takeaway coffee cup on a desk, steam rising from its lid. The barista wrote Marcus on it in marker, with a little doodle of his face, crossed it out, and wrote Markless underneath. The pink sleeve has a printed row of shot boxes, one ticked per shot. A printed sticker on the lid says LATTE · 12 OZ andEXTRA SHOTS with the number in a yellow wash. Press the cup, or Enter or Space, to add a shot: the next box is ticked and the sticker's number is crossed out and printed again. Escape starts a fresh cup.

The label now says 3 extra shots.

Fast pages, plain code, any device

A tap works while the page is still loading. The code is plain variables and few rules, so your agent picks it up in one read. And one API reaches every device: the browser today, with iOS and macOS as early proofs.

A pen-and-ink drawing of a pipeline on a desk, read left to right. First, the screen you wrote: a paper card with the Beanshop order screen, Latte for Marcus, the status Brewing… and a pink Mark ready button, tagged in hand lettering with what you wrote for it, <button onClick>. A magnifying glass lies beside it, with three notes on what Markless found: <button>, shows the status and onClick means mark ready. Next, the plan: a small sheet with a hanging tag marked status, an ink wire from the tag to a label showing Brewing…, and a thin wire from a button into the tag, captioned same plan for every device. Arrows run from the plan to each device, each one labelled with onClick and the word that device turns it into, and every device shows the same cup, the status and the pink button: a browser window, where onClick becomes click, an iPhone, where onClick becomes touchUpInside on a real native button and a Mac, where onClick becomes action on a real native button, all inked solid. Last, an empty slot sketched in pink pencil with an Android phone, a smartwatch and an email envelope, its word for onClick a question mark, with the note add an adapter here. Press the figure, or Enter or Space, to mark the order ready: the tag swings, pulses run out along the inked arrows, and every inked device crosses out Brewing… and writes Ready for pickup. Press again for a new order. The pencil slot stays as it is. Escape starts again.

The browser, iPhone and Mac now say Brewing….

Ready to try it? Start your first app ↓

Change one line, watch one line change

Here is an order like the one in the drawing, as code. Press Mark ready, and watch which part of the page changes. Then change the code, and watch the order change with it.

PlaygroundRestored your edit

Latte for Marcus

Status: Brewing ⏳

Try this
  1. To do: Rename Mark ready to Done 🎉.
  2. To do: Start the order at 'Queued 📋' instead of 'Brewing ⏳'.
  3. To do: Under line 9, add <p>Again: {status}</p>. Press the button, and both lines update.

status is a plain variable. state() gives it a starting value, and you change it by assigning to it.

Order runs once, to set up the page. A click runs only the code in onClick, and only the two spots that read status change: the status text, and the ticket's data-s, which the stylesheet uses to pour the coffee.

Markless reads your code first

Most tools figure out how your page fits together by running your code in the visitor's browser. Markless finds out while it builds your app, before anyone visits. The browser gets the finished map, so nothing has to run to create it.

Why the name Markless?

Many frameworks ask you to mark your code for them: a special prefix, a $ sign, a .value to read through, a hook with its rules. Every mark is one more rule to remember, for you and your agent, instead of your product. We want you both focused on what you are building.

Markless reads plain code instead. A value is a let, a change is a plain assignment, and the compiler works out the rest on its own. No marks needed. That is the name.

A pen-and-ink drawing of a sheet of paper on a desk with five lines of plain order code: let status equals state of Brewing, a paragraph showing status, and a button whose click sets status to Ready for pickup. At first the sheet is covered in red corrections, headed in red: other tools, rules on top of your code. Sticky tabs read dollar sign, mark it; use, call it first; dot value, unwrap it; set, can't just assign. A taped rule card says call me first, a sticky note listing status says list what it reads, and red pencil circles and arrows ring the code. A pink eraser rubs out the pencil, the tabs peel away, and the barista writes Markless across the top of the clean sheet, with a green tick and just your code where the red heading was. The code underneath never changes.

Start your first app

Pick an assistant. It opens a new chat asking it to read the Markless docs and walk you through your first app. You just press send.

BEANSHOP · ORDER #001

1 × your first app$0.00

your order: help building my first Markless app ☕

Your order, copied when you pick an assistant: Help me build my first app with Markless (markless.dev). Read https://markless.dev/llms.txt first, then walk me through it.

Prefer to set it up yourself? See Create an app →