Spanish Total.js
English
Documentation For AI agents
Contents

LessCode 1.0

Build API endpoints, services and scheduled workflows in a visual designer and run them on your own server.

Getting started

  • Introduction

    What Total.js LessCode is, what you can build with it and where to start.

  • Install from source

    Install LessCode with Node.js and start it on your computer or server.

  • Install with Docker

    Run the official LessCode image with a volume that keeps your flow.

  • First access

    Open the designer for the first time and run the example flow.

Designer

  • The designer

    The parts of the designer screen: toolbar, component list, canvas and status bar.

  • Download components

    Add ready-made components, such as Route, Response, Code and Timer, from the Total.js catalog.

  • Build a flow

    Add nodes to the canvas, connect them, configure them and start them.

  • Apply and save

    When your changes start to run and when LessCode writes them to the flow file.

  • Remove nodes

    Remove one node or clear the whole canvas, and restart LessCode before you add new nodes.

  • Organize the canvas

    Add notes to nodes and draw groups so a large flow stays easy to read.

  • Search in nodes

    Find a node by any value in its settings, such as a URL.

Flows

  • Variables

    Keep values such as texts, addresses or keys outside your nodes and use them in settings and code.

Testing and debugging

Customizing

  • Extensions

    Add your own HTML, styles and server code to LessCode with files in the extensions folder.

Production

  • Run in production

    Choose the port and address, protect the designer and keep LessCode running.

  • Back up your flow

    Keep a copy of your flow and restore it on the same or another server.

Components

  • Route

    The settings of the Route component, which receives HTTP requests.

  • Response

    The settings of the Response component, which answers HTTP requests.

  • Code

    Write a few lines of JavaScript that run on each message.

Data

  • The flow file

    Where LessCode keeps your work and what the file contains.

Recipes

FAQ

  • The designer

    Answers to common questions about the designer.

  • Endpoints

    Answers to common questions about API endpoints.

Development

  • Components and development

    The components of LessCode come from the Total.js Flow catalogue: their reference and how to write your own are in the Flow documentation.

Made in Europe