Mainsail

The web interface that turns a Klipper printer into something you drive from a browser tab. Clean, responsive and fast — it is one of the two front-ends the Klipper community actually uses.

Licence · GPL-3.0 (free) Type · web UI for Klipper Needs · Moonraker backend AI angle · remote management + API
TL;DR

If you run Klipper and want to control the printer from any device on your network, Mainsail is the front-end to reach for. It does not run the printer itself — it is a polished browser UI that talks to the machine through Moonraker. Pick it or Fluidd; the choice is largely taste.

What it is

Mainsail is a responsive single-page web application — built in Vue — that gives Klipper a graphical face. It does not speak to the printer directly. Klipper runs the motion and the heaters; Moonraker exposes that over an API; Mainsail is the browser client that consumes the API and renders a dashboard. Open it from a phone, tablet or desktop and you get the same interface.

The dashboard covers the day-to-day: temperature graphs, a live console, the G-code file list with an integrated viewer, manual movement and extrusion controls, webcam feeds, print history, and an update manager that keeps Klipper, Moonraker and Mainsail itself current. MainsailOS is a prebuilt Raspberry Pi image that bundles the whole stack — Klipper, Moonraker and Mainsail — so you can flash a card and skip the manual install.

Where it wins

Where it still hurts

The AI angle

Because Mainsail rides on Moonraker's HTTP and WebSocket API, the same surface that powers the browser UI is open to anything else — scripts, bots, dashboards and agents. That makes a Klipper machine remotely observable and controllable by code: an agent can query temperatures, watch print progress, trigger jobs or react to webcam frames through the API while a human uses Mainsail for the same printer. As LLM-driven assistants and vision-based failure detection mature, this API-first design is exactly the integration point they need.

Start here

← More 3D printing tools