3102391234
The exisiting implementation of spoolman's proxy endpoint returns responses and errors exactly as they are received by spoolman. This creates a problem of ambiguity, as the frontend cannot easily diffentiate between an error returned by Moonraker and an error returned by Spoolman. This implements a "v2" alternate response to proxy requests. All requests to spoolman will return success, with responses wrapped in a top level object. Successful requests will be returned in a "spoolman_response" object, errors in a "spoolman_error" object. Initially v2 responses will be opt-in to prevent breaking existing spoolman implementations. However, as of this commit the v1 response is deprecated and will be removed in a future version of Moonraker. Signed-off-by: Eric Callahan <arksine.code@gmail.com> |
||
---|---|---|
.github | ||
docs | ||
moonraker | ||
scripts | ||
tests | ||
.editorconfig | ||
.gitattributes | ||
.gitignore | ||
.readthedocs.yaml | ||
LICENSE | ||
README.md | ||
mkdocs.yml | ||
pdm.lock | ||
pyproject.toml | ||
pytest.ini |
README.md
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.