Релиз moonraker - Web API для Клиппера
Go to file
Eric Callahan 3102391234
spoolman: implement alternate proxy responses
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>
2024-01-21 08:24:01 -05:00
.github workflows: update linter action arguments 2023-10-07 08:16:27 -04:00
docs docs: note history changes in changelog 2023-12-27 07:48:20 -05:00
moonraker spoolman: implement alternate proxy responses 2024-01-21 08:24:01 -05:00
scripts build: bump dependency versions 2024-01-13 15:15:13 -05:00
tests test: fix imports 2023-02-22 12:16:27 -05:00
.editorconfig moonraker: add .editorconfig file 2020-11-08 08:50:51 -05:00
.gitattributes Initial commit 2020-07-01 20:13:59 -04:00
.gitignore gitignore: replace .pdm.toml with .pdm-python 2023-10-07 07:10:14 -04:00
.readthedocs.yaml docs: update readthedocs configuration 2023-11-07 15:09:03 -05:00
LICENSE Initial commit 2020-07-01 20:13:59 -04:00
README.md docs: fixes minor typos 2023-02-23 11:29:39 -05:00
mkdocs.yml docs: fixes minor typos 2023-02-23 11:29:39 -05:00
pdm.lock build: bump apprise to version 1.3.0 2023-03-05 12:28:42 -05:00
pyproject.toml build: bump dependency versions 2024-01-13 15:15:13 -05:00
pytest.ini tests: add support for loading a database 2022-02-22 07:47:38 -05:00

README.md

pdm-managed

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:

Raspberry Pi Images

Moonraker is available pre-installed with the following Raspberry Pi images:

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.