~ $ moontop -host voron.local:7125

Klipper,
in your terminal.

A keyboard-driven terminal UI for Klipper printers, through Moonraker. Everything you reach for in Mainsail or Fluidd — over SSH, in tmux, on any machine that can see your printer.

$ curl -fsSL https://justinh-rahb.github.io/moontop/install.sh | sh

single binary · linux · macos · windows · freebsd · amd64 / arm64 / armv7 · MIT

moontop — dashboardlive printer
The Moontop dashboard: nine panes with files, toolhead position, tuning, temperatures with sparklines, AFC lanes, extruder, outputs, pinned macros and the console

# the dashboard

Nine panes, laid out by a solver you can reorder and resize. tab cycles, 1–9 jump, ctrl+x is the e-stop from anywhere.

1 files

filter, print, queue. f opens the file manager: folders, details, rename, move, upload.

2 toolhead

wasd jogs XY, space/c jump and crouch Z. type absolute positions. home, motors off, endstops, QGL / Z tilt.

3 tuning

speed and flow factor, Z-offset babystep, velocity and accel limits — live, while printing.

4 temperatures

set targets inline, presets (Mainsail's too), cooldown, braille sparkline history.

5 console

gcode with tab completion and macro parameter hints. filters hide heat-wait and TMC noise. ctrl+t swaps in the webcam.

6 afc

lanes from AFC.lanes: colour, material, tool map, load / unload / eject.

7 extruder

tool select, extrude / retract, pressure advance, filament load / unload detected per printer.

8 outputs

fans, output pins and LEDs, built from each object's type.

9 macros

your pinned macros, one key away, with parameter forms.

# full-screen tools

One key opens each, esc brings you back. Click any screenshot to page through them full size.

# setup

F2 or , opens it. Your settings go in ~/.config/moontop/config.toml; per-printer ones (names, hidden sensors, presets) live in Moonraker's database, so they follow the printer.

moontop · setupShow, hide, reorder and size panes.
Setup screen, panes category

# ways to run it

$ moontop                       # full-screen dashboard
$ moontop console               # inline gcode console in this terminal, with history
$ moontop gcode G28 "M117 hi"   # one-shot gcode with exit codes, for scripts
$ echo BED_MESH_CALIBRATE | moontop gcode -echo
$ moontop print benchy.gcode   # upload it and start printing
$ moontop upload -dir parts *.gcode
$ moontop dump -prefix AFC      # printer objects as JSON
$ moontop version

With no -host or $MOONRAKER_HOST, Moontop opens a connection manager with your recent printers. Moonraker logins and API keys work; nothing is installed on the printer.

# install

Linux · macOS · FreeBSDcurl -fsSL https://justinh-rahb.github.io/moontop/install.sh | sh checks the checksum
Go 1.26+go install github.com/justinh-rahb/moontop/cmd/moontop@latest
Windowsthe .zip from releases ↗; put moontop.exe on your PATH

amd64 and arm64 everywhere, armv7 on Linux — so it runs on the Pi next to the printer, too. macOS builds aren't notarized yet, but the install script's download runs as is.

$ open source, MIT. bugs, printer quirks and ideas welcome.

full ↗