Get started with LessCode
LessCode is the visual designer of Total.js flows as a desktop app. You drop components on a canvas, connect them, and the flow runs on your computer.

Install it
Download LessCode for macOS, Windows or Linux from its page. Install the apps explains each system step by step.
Node.js and Total.js come inside the app. There is nothing else to install.
Run the first flow
- Open LessCode. It says Starting LessCode… for a moment, and then shows the designer.
- The flow has three nodes: Trigger, Print and Console debug. Trigger is connected to Print.
- Press Run on the Trigger node. It sends a random text.
- Look at Print: it shows what it has received.
- Press Clear on Print to empty it.
Now design your own flow.
The parts of the window
| Part | What it is for |
|---|---|
| The toolbar | APPLY runs your changes. The other buttons add components, and show the variables, the console and the rest |
| The list on the left | The components that you have, to drag them to the canvas |
| The canvas | The nodes of your flow and their connections |
| The line at the bottom | How many messages have gone through, the errors and the memory |
The menus are the same on every system:
| Menu | What it has |
|---|---|
| Flows | The folder of your flows, and Restart LessCode |
| AI | Connect an AI to your flow |
| View | Reload and Developer tools |
| Help | The documentation of Total.js |
While it is open
Your flow runs while LessCode is open. When you close its window, the flow stops, with its timers and its endpoints.
LessCode saves the flow before it closes, and runs it again the next time. For a flow that must always run, use Total.js LessCode on a server.