The Klipper host: hardware, Mainsail, Fluidd and MainsailOS
Last reviewed
Klipper splits the work between two kinds of computer. In the words of its documentation, Klipper uses an application processor, such as a low-cost Raspberry Pi, to calculate the printer's movements, and the micro-controllers on the mainboard and toolhead board execute them. That application processor is the Klipper host, and every Klipper printer needs one.
Where the host can live
- A single-board computer such as a Raspberry Pi, connected to the mainboard over USB or the serial pins. Works with any mainboard.
- A compute module on the mainboard. Some mainboards have a socket for a module such as a Raspberry Pi CM4 or BTT CB1, so the host sits on the board itself. Mainboards with a compute module socket.
- A host built into the mainboard. A few boards carry their own Linux computer. Mainboards with an integrated host.
- A PC running Linux works as well, for example an old laptop or a mini PC.
The software on the host
- Klipper itself, the host part of the firmware.
- Moonraker, the API server that web interfaces and apps use to talk to Klipper.
- A web interface: Mainsail describes itself as a web interface for printers powered by Klipper, and Fluidd as a lightweight, responsive interface for Klipper. Both run in the browser and talk to Klipper through Moonraker. Klipper's documentation also covers using OctoPrint.
Getting the software onto the host
- MainsailOS: a ready-made image with Klipper, Moonraker and Mainsail preinstalled. The quickest start on a Raspberry Pi.
- KIAUH (Klipper Installation And Update Helper): a script that installs and updates Klipper, Moonraker and a web interface on a plain Linux system such as Raspberry Pi OS Lite.
- Manufacturer images for compute modules and built-in hosts, such as BIGTREETECH's images for its CB1 and CB2. Check the board's documentation.
Klipper's own installation guide covers the manual route.
Checklist
- Does the mainboard have a compute module socket or a built-in host?
- If not, which computer will run Klipper, and how does it connect to the board?
- Ready-made image (MainsailOS) or a plain system with KIAUH?
- Mainsail or Fluidd?