01963c45c1a442b96927c34ff90d2a3489c16e2a
The size of the file is not necessarily equal to the number of characters read due to variable length utf8 encoding. Read gcode files in binary mode then encode to a string. When determining the "gcode start byte" and "gcode end byte" use the length of the decoded string to determine the correct value. Signed-off-by: Eric Callahan <arksine.code@gmail.com>
Moonraker - API Web Server for Klipper
Moonraker is a Python 3 based web server that exposes APIs with which client applications may use to interact with the 3D printing firmware Klipper. Communication between the Klippy host and Moonraker is done over a Unix Domain Socket. Tornado is used to provide Moonraker's server functionality.
Documentation for users and developers can be found on Read the Docs.
Clients
Note that Moonraker does not come bundled with a client, you will need to install one. The following clients are currently available:
- Mainsail by Mainsail-Crew
- Fluidd by Cadriel
- KlipperScreen by jordanruthe
- mooncord by eliteSchwein
Raspberry Pi Images
Moonraker is available pre-installed with the following Raspberry Pi images:
- MainsailOS by Mainsail-Crew
- Includes Klipper, Moonraker, and Mainsail
- FluiddPi by Cadriel
- Includes Klipper, Moonraker, and Fluidd
Docker Containers
The following projects deploy Moonraker via Docker:
- prind by mkuf
- A suite of containers which allow you to run Klipper in Docker. Includes support for OctoPrint and Moonraker.
Changes
Please refer to the changelog for a list of notable changes to Moonraker.
Languages
Python
96.1%
Shell
2.7%
HTML
1.2%