Repository navigation
Releases
v0.2.2
A maintenance release: updated terminal libraries, with no changes to how
Moontop looks or works.
Changed
- Updated
charmbracelet/x/ansito 0.11.9, along with the text-width and
colour libraries it uses (go-runewidth,displaywidth,uax29,
go-colorful).
Install
curl -fsSL https://justinh-rahb.github.io/moontop/install.sh | shor go install github.com/justinh-rahb/moontop/cmd/moontop@v0.2.2. On Windows, unzip moontop_0.2.2_windows_amd64.zip (or arm64) below and put moontop.exe on your PATH. Check a download against checksums.txt; moontop version shows what you have.
Full changelog: v0.2.1...v0.2.2
v0.2.1
Smoother camera, and Moontop remembers your choices. The sharp camera
picture no longer flickers in Ghostty, setup puts the cursor back where you
left it, and the camera keeps the picture style you picked with b. Also:
iframe cameras like HelixScreen's screen mirror are handled properly, PNG
and GIF snapshots work, and your API key or login token is no longer
forwarded when the printer redirects to another host.
Changed
- Setup remembers where you were in each category, so going back to a list,
or opening setup again, puts the cursor on the item you last used. The
first visit to Display lands on the scheme in use. (Suggested by Justin.) - The camera remembers the picture style picked with
b([display] camera
inconfig.toml). (Suggested by Justin.)
Fixed
- The sharp camera picture no longer flickers between the photo and the
block picture underneath (seen in Ghostty): frames alternate between two
image slots, and each is sent once from the pane's title line instead of
again whenever a neighbouring pane changes. - An
iframecamera (such as HelixScreen's screen mirror) whose snapshot URL
is the page itself is no longer offered; a snapshot that turns out to be a
web page is reported plainly instead of a JPEG decoding error. PNG and GIF
snapshots now work. - A redirect from the printer to another host (or port) no longer carries
your Moonraker API key or login token with it.
Install
curl -fsSL https://justinh-rahb.github.io/moontop/install.sh | shor go install github.com/justinh-rahb/moontop/cmd/moontop@v0.2.1. On Windows, unzip moontop_0.2.1_windows_amd64.zip (or arm64) below and put moontop.exe on your PATH. Check a download against checksums.txt; moontop version shows what you have.
Full changelog: v0.2.0...v0.2.1
v0.2.0
Your printer's camera comes to the terminal, and AFC printers look the way
they do in Fluidd. Pane 5 swaps between the console and the webcam with
Ctrl+T, drawn sharp in Ghostty, Kitty and WezTerm and in block characters
anywhere else, following the cameras your printer has configured. Macro
output that Mainsail and Fluidd show in colour (AFC's lane status and banners)
is coloured here too, instead of arriving as raw HTML. Switching printers no
longer means quitting, a default printer connects at start, and sensors that
measure humidity show it.
Added
- Camera (
Ctrl+Tin the console pane), contributed by djsplice. Live
H.264, MJPEG, HLS and RTSP streams play throughffmpeg; other cameras
show their snapshot. Ghostty, Kitty and WezTerm draw the picture sharp with
the Kitty graphics protocol (inside tmux withallow-passthrough on); every
other terminal draws quadrant or half blocks.bsteps the picture through
960, 640 and 480 pixels and the two block styles, trading detail for CPU.
The pane follows the printer's[webcam]sections the way Mainsail, Fluidd
and retrograde do: enabled cameras in their configured order (nfor the
next), eachserviceplayed as intended, androtation,
flip_horizontal,flip_verticalandtarget_fpsapplied. How it works:
docs/CAMERA.md. - Switch printers with
Pfrom the dashboard, back to the connection
screen without quitting. - A default printer:
ctrl+son the connection screen makes the selected
one connect at start. If it can't be reached, the screen opens and says why. - Humidity in Temperatures for sensors that measure it (BME280, SHT3x,
HTU21D…); the column appears only when one does. Suggested by jimmyjon711.
Changed
- Macro output in colour. Text that macros write for Mainsail and Fluidd
(AFC's<span class=success--text>LOCKED AND LOADED</span>, its ASCII
READY banner) is coloured from your theme, with the tags gone — spans that
run across lines included.moontop gcodeprints it as plain text.
Suggested by jimmyjon711. - AFC weights round to two decimals:
609.24g, not609.2385417798512g.
Suggested by jimmyjon711. - Shorter installer address:
curl -fsSL https://justinh-rahb.github.io/moontop/install.sh | sh(the old
raw GitHub one still works). When~/.local/binisn't on yourPATHyet,
it now says how to pick it up. phosphorandamberdraw unfocused pane borders brighter, so they
survive CRT emulators such as Cool Retro Term.- Release notes now include who contributed and how to install.
Thanks
Code in this release from @djsplice
Install
curl -fsSL https://justinh-rahb.github.io/moontop/install.sh | shor go install github.com/justinh-rahb/moontop/cmd/moontop@v0.2.0. On Windows, unzip moontop_0.2.0_windows_amd64.zip (or arm64) below and put moontop.exe on your PATH. Check a download against checksums.txt; moontop version shows what you have.
Full changelog: v0.1.0...v0.2.0
What's Changed
New Contributors
Full Changelog: v0.1.0...v0.2.0
v0.1.0
The first release: a keyboard-driven terminal UI for Klipper printers,
through Moonraker, covering what you reach for in Mainsail or Fluidd.
Added
- Connecting: a connection manager with your recent printers (the last
one preselected), or-host/$MOONRAKER_HOST. Moonraker logins and API
keys ($MOONRAKER_API_KEYtoo); refresh tokens and keys are kept per
printer in an owner-onlyhosts.json, passwords never.https://for
printers behind TLS. - Dashboard: Files, Toolhead, Tuning, Temperatures, Console, AFC,
Extruder, Outputs and Macros panes, laid out by a solver you can reorder
and resize. Klippy state banner, restart and firmware restart (F5/
F6), E-stop from anywhere (Ctrl+X). - Temperatures: set targets in place, cooldown, presets (Mainsail's too),
braille sparkline history backfilled fromserver.temperature_store. - Toolhead: WASD jog, space /
cfor Z, typed absolute moves, homing,
motors off, endstops, QGL or Z tilt when the printer has it. - Tuning and Extruder: speed and flow, Z-offset babystep, velocity limits,
tool select, extrude / retract, pressure advance, and filament load /
unload detected from each printer's own macros. - Outputs: fans, output pins and LEDs, built from your config.
- AFC: lanes from
AFC.laneswith material, colour, weight, load / unload
/ eject. - Macros: a browser of every macro (
F3/g), a pinned Macros pane,
parameter forms, and macro prompts (action:prompt_*). - Printing: pause / resume / cancel, progress and ETA, exclude object
(O/F4). - Jobs (
J/F7): a file manager (folders, slicer details, rename,
copy, move, delete, upload, upload & print through a local file browser),
print history and totals, and the job queue. The Files pane and the file
manager follow changes on the printer as they happen. - Machine (
M/F8), Software (U/F9), Bed mesh (B/
F11, a coloured grid of values, profiles, screws tilt, manual probe),
Logs (L/F12) and Config (E, edit in$EDITOR). - Console: tab completion with macro parameter hints, filters for
heat-wait and TMC noise, history. - Setup (
F2): panes, columns, heaters, filters, jog steps, safety,
presets and twelve colour schemes, from all-greenphosphorto your
terminal's own palette. Settings in~/.config/moontop/config.toml,
per-printer ones in Moonraker's database. - Command line:
moontop console(an inline gcode console),
moontop gcode(one-shot gcode with exit codes),moontop upload/
moontop print,moontop dump,moontop version. - Builds for Linux, macOS, Windows and FreeBSD on amd64 and arm64 (and armv7
on Linux), an install script, andgo install.
Install
curl -fsSL https://justinh-rahb.github.io/moontop/install.sh | shor go install github.com/justinh-rahb/moontop/cmd/moontop@v0.1.0. On Windows, unzip moontop_0.1.0_windows_amd64.zip (or arm64) below and put moontop.exe on your PATH. Check a download against checksums.txt; moontop version shows what you have.