A single-executable Lua application server for embedded Linux, IoT, and private web apps
Mako Server is a ready-to-run Lua application server built on the Barracuda App Server engine. One executable gives you Lua Server Pages, REST APIs, WebSockets, SQLite, TLS, IoT messaging, and integrated server APIs without assembling a separate web stack.
You do not need Apache, Nginx, PHP, Node.js, database driver packages, and a separate real-time messaging layer before getting started. The Mako Server bundle contains only two files: unpack it, run one command, and open your application in a browser.
Choose Mako Server When
- You want one deployable server
Lua, Lua Server Pages, SQLite, REST APIs, WebSockets, TLS, and server APIs are included in one compact runtime. - You are building near the device
Mako fits embedded Linux products, gateways, appliances, private servers, and cloud VMs where control and maintainability matter. - You need real web apps without a large stack
Build dashboards, forms, REST/JSON APIs, real-time messaging, and IoT portals without first assembling a conventional web framework stack.
Why Use Mako Server?
Mako Server is designed for developers who want a small, practical server that can run on anything from an embedded Linux device to a cloud VM. It is especially useful when your application needs a web UI, local control logic, secure communication, and real-time messaging in one package.
Simple Deployment
Use one executable server with built-in Lua, Lua Server Pages, SQLite, WebSockets, and networking APIs. For many projects, there is no separate web server, application server, database driver package, or runtime stack to assemble first.
Good for Devices
Mako is a strong fit for embedded Linux systems, gateways, appliances, and private on-premises servers where footprint, startup time, and long-term maintainability matter. See the Embedded Linux Web Server Tutorial for details.
Real-Time Built In
Use WebSockets and the integrated SMQ protocol for live dashboards, browser-to-browser communication, online games, device control, and IoT messaging.
AI Skills and AI Claw
Includes an optional plugin called LSP-Claw that lets you design professional apps in no time.
Start Small, Grow Into Real Applications
If you are new to Lua or new to command-line tools, start small. You can run the server in a few minutes, create your first dynamic page shortly after that, and then add database access, REST endpoints, WebSockets, forms, and IoT messaging as your application grows.
- First run: download, unpack, and start Mako from a terminal
- or use one of the AI prompts to download and install Mako.
- First page: create a small
index.lspfile and refresh the browser- or use LSP-Claw and an AI agent to create your web and IoT applications.
- First real app: add Lua logic, forms, files, database access, or WebSocket communication as needed.
- Prefer an IDE? Use the browser-based Xedge IDE included in the tutorial bundle.
New to the command line? Start with Getting Started with the Mako Server. It explains how to open a terminal, start Mako, find the port number, and create your first LSP page.
What Can You Build?
Embedded Web Interfaces
Build configuration pages, diagnostics dashboards, admin tools, and local control panels for embedded Linux products and industrial gateways.
Private Web Applications and REST APIs
Host internal tools, small business applications, REST/JSON APIs, database-backed sites, and admin dashboards without a large external framework stack.
Real-Time Applications
Create live dashboards, browser-to-browser messaging, shared UIs, collaborative tools, and online game infrastructure using WebSockets and SMQ.
IoT Services
Use the integrated SMQ broker for device management, telemetry, browser-to-device control, and scalable IoT deployments. See the SMQ IoT page.
A Tiny Dynamic Page
Lua Server Pages (LSP) lets you mix HTML with small Lua expressions. The example below generates a different number when the page is refreshed.
The Number of the Day Example
<html> <body> <h1> The Number of the Day is <?lsp=ba.rnd(1, 10)?> </h1> </body> </html>
What Is Included?
Lua and Lua Server Pages
Lua is small, fast, and practical for server-side scripting. Lua Server Pages adds dynamic web page support similar in spirit to PHP, but integrated with the Barracuda App Server APIs.
Database, REST, and Server APIs
Mako includes SQLite and high-level APIs for web applications, REST/JSON endpoints, files, sockets, HTTP client/server logic, SMTP, timers, and asynchronous server-side work.
Real-Time and IoT Protocols
Use WebSockets, SMQ, MQTT, Modbus, and OPC-UA related tooling to connect browsers, services, devices, and industrial systems.
Debugger
The built-in Lua debugger lets you step through Lua code, set breakpoints, and inspect variables while developing.
AI Assisted Download and Development
Building a Mako Server application can start with a short description of what you want to create, rather than a long setup checklist. The Mako Server AI Build/Installation Skill helps prepare a working development environment from a single prompt.

Depending on the target platform, the AI-assisted setup can download a precompiled Mako Server package or build Mako Server from source. It can help with Windows PCs, embedded Linux devices such as Raspberry Pi systems, and cloud VPS deployments. When appropriate, it can also install Mako Server as a service and prepare the necessary development components.
The AI Path:
- The Mako Server download pages include ready-to-use AI download prompts, so you can start with the prompt for your platform and adjust it only when your environment needs something specific.
- Once Mako Server is running, LSP-Claw can act as an AI development assistant for the application itself. You describe the application you want, review what it creates, test it in the browser, and iterate from there.
From Prompt to Running Server
Use the AI Build Skill to move through download, build, install, and first-run steps without manually assembling the environment first.
Then Build the Application
Use LSP-Claw to create and refine Lua Server Pages, REST APIs, dashboards, browser tools, and other Mako Server applications.
Useful for Different Skill Levels
Professional developers can use the workflow to speed up setup and prototyping. New developers can use it as a guided path into building real applications.
In one test, a person with no software development experience used the AI-guided installation to install Mako Server on Windows, then asked LSP-Claw to create a browser-based game. They did not manually write the code, but still ended up with a complete running application they could test and refine.
The same workflow can help create personal desktop applications, company websites, home automation dashboards, industrial monitoring systems, REST APIs, web services, and embedded web applications.
The goal is not just faster code generation. It is to reduce the distance between an idea and a working Mako Server application while keeping the result visible, editable, and testable.
Recommended Learning Path
- New to the command line? Follow Getting Started with the Mako Server.
- New to Lua? Try the interactive Lua tutorials.
- Want a browser-based IDE? Use the Mako Developer Edition, which includes Xedge, LSP-Claw, and MQTT tooling in a ready-to-run
mako.zippackage. The older tutorial-bundleXedge.zipmethod is still available for manual setups. - Ready for examples? Download ready-to-use Mako applications from GitHub.
- Building IoT or real-time applications? Continue with the SMQ broker guide.
- Need more depth? Browse the written tutorials and the Mako Server documentation.
The Mako Server Developer Edition is the easiest way to get started with the Mako Server!
Where Mako Fits
Mako Server is not trying to be a large general-purpose web framework. It is a compact application server for projects where the server should be easy to ship, easy to start, and close to the device or service it controls.
Which Real Time Logic Server Should You Use?
- Tiny microcontrollers: use Minnow Server when memory is extremely limited, and the application is mainly a compact browser UI over WebSockets.
- RTOS and C/C++ firmware: use Barracuda Embedded Web Server or the Barracuda App Server C library when the web server is integrated directly into firmware.
- Embedded Linux, gateways, and private servers: use Mako Server when you want a ready-to-run Lua application server with web apps, APIs, databases, WebSockets, and IoT messaging.
- Compared with Apache/PHP: Mako is a single application server with Lua, LSP, SQLite, sockets, REST APIs, and real-time APIs built in.
- Compared with Node.js: Mako uses Lua and the Barracuda App Server engine, with a small native runtime and a focus on embedded, IoT, and server-side scripting use cases.
- Compared with using BAS directly: Mako is the ready-to-run product built on the Barracuda App Server C code library. BAS is the C library; Mako is the packaged server you can run immediately.
Technical Details
The Mako Server consists of one executable file that includes the Mako startup code, the Barracuda Application Server Library, SQLite, Lua, and Lua Server Pages.
Figure 1: Mako Server running 3 Lua web applications
Barracuda App Server and Mako Server
The Barracuda App Server (BAS) is the C source code library that provides the core server engine. Mako Server packages BAS, Lua, SQLite, LSP, and supporting functionality into a configurable application server for high-level operating systems such as Linux, Windows, and macOS. Industrial companies also use BAS directly to web-enable equipment and connect products to cloud services.
Build a Complete IoT Solution with Mako
Mako runs the service; Xedge32 powers ESP32 devices. Their shared Barracuda App Server foundation lets you develop device and server applications using the same Lua skills. Deploy Mako online or on-premises.
Mako brings the web application, SMQ broker and SQLite database together. Your application can check permissions, send a command to one device, confirm its response, and record the outcome, with less infrastructure to assemble and maintain.
LSP-Claw helps an approved AI assistant build, run, and test both device and server applications. For embedded Linux devices, see Embedded Linux Web Interface Design.
Explore the complete architecture, device-management workflow, and security benefits in our illustrated overview.
License
The Mako Server is based on the Barracuda App Server (BAS) source code library. See the BAS GitHub repo for license details.
