pushraker
Push notifications for Klipper printers, as a Moonraker component: print started, paused, resumed, complete, cancelled, progress, first layer, faults and shutdowns, power-loss recovery, chamber temperature, filament (Spoolman, backup spools, MMUs), with pictures (camera snapshot, model preview, spool drawings). Every notification's title, contents and image can be edited on the page, as Jinja templates over Klipper's values and pushraker's own (print job, toolheads, filament, queue). Sent through Apprise: ntfy, Pushover, Gotify, Telegram, Discord, a webhook, email. Configured from its own web page, live, with no Moonraker or Klipper restart.
It grew out of the Push Notifications feature of the Snapmaker U1 Extended Firmware, where it is built in. User documentation: the Push Notifications guide.
Status: 0.3. The component has been in
use on the Snapmaker U1 for a while; the page, the settings file and the
installer are new. Other printers: the generic parts work (Klipper's
standard objects: print_stats, exclude_object, heater_generic, tmc
drivers, Moonraker's webcams and Spoolman); printer-specific parts are
behind printers/, one module per printer; snapmaker_u1.py is the
first. Notifications a printer can't produce (the U1's touchscreen
calibrations, coded warnings, power-loss recovery, toolhead-map refills,
MMU slots) start off on other printers and are left off the page; turn
one on in pushraker.conf and it shows on the page and is sent like any
other.
Install (any Moonraker printer)
pip install pushraker # into the Python Moonraker runs with
python -m pushraker install # ~/moonraker and ~/printer_data by default
install puts a one-file shim into Moonraker's components/ folder, adds
[pushraker] to moonraker.conf, includes the Klipper macro
file from printer.cfg, and creates printer_data/config/pushraker.conf.
Restart Moonraker and Klipper. Then serve the settings page
(src/pushraker/web/index.html, or python -c "import pushraker, os; print(os.path.dirname(pushraker.__file__) + '/web')") from the same nginx
that serves Fluidd or Mainsail, e.g.
location /notifications/ {
alias /path/to/site-packages/pushraker/web/;
index index.html;
}
and open http://<printer>/notifications/. The page talks to Moonraker
through the /server/ proxy of that nginx; without one it falls back to
Moonraker's own port, which needs the page's origin in cors_domains
under [authorization] in moonraker.conf. With Moonraker's
authorization on, the page asks for an API key the first time.
Call _PRINT_END_NTFY at the start of your PRINT_END macro and
_CANCEL_PRINT_NTFY at the start of CANCEL_PRINT for the print-end and
cancel snapshots to be taken before the printer parks (the Snapmaker U1
extended firmware does that through its hook system).
python -m pushraker install --help lists the paths and options (include
directories, the printer's default name, the error-code index link, moving
settings over from an INI section). python -m pushraker uninstall takes
it out again; --purge also removes the settings and secrets.
Where things live on the printer
printer_data/config/pushraker.conf: the settings, a plain INI file (also editable by hand; the component re-reads it when it changes).printer_data/pushraker.secrets: tokens and passwords, mode 0600, outside the config folder so Moonraker never serves it.- Moonraker endpoints:
GET/POST /server/pushraker/config,POST /server/pushraker/test,GET /server/pushraker/status(also under/server/push_notifications/, the 0.1 names).
Layout
src/pushraker/component.py— the Moonraker componentsrc/pushraker/settings.py— the settings: validation, storage, the Apprise URLs built from themsrc/pushraker/printers/— what differs between printers (the harness side of the package), one module per printer;snapmaker_u1.pyis the firstsrc/pushraker/images.py— spool pictures (Pillow)src/pushraker/email_html.py,src/pushraker/discord.py— email card, Discord senderssrc/pushraker/web/index.html— the settings pagesrc/pushraker/klipper/pushraker.cfg— the Klipper macro filesrc/pushraker/__main__.py—python -m pushraker install|uninstall|statusdocs/guide.md— the user guidetests/—python tests/test_pushraker.py(the component against a stand-in Moonraker; also runstest_settings.py)
License
GPL-3.0-or-later.
Metadata
Release files for pushraker 0.3.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pushraker-0.3.6.tar.gz | 274.2 kB | With provenance | Details for pushraker-0.3.6.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pushraker-0.3.6-py3-none-any.whl | Python 3 | none | any | Details for pushraker-0.3.6-py3-none-any.whl |
Total release size: 512.5 kB
Release files / pushraker-0.3.6.tar.gz
| Download URL | pushraker-0.3.6.tar.gz |
|---|---|
| Size | 274.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
72a505b628924bd13a1b021e9085e1a42ed3728cc61b6b21c3e8aa6a2032c0f4
|
|
BLAKE2b-256 checksum How to use checksums |
8b3f706b31cafef9f5b0f963997900b673f2e79aa193934d19299ad3b81fbfc4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 17, 2026.
Transparency logRelease files / pushraker-0.3.6-py3-none-any.whl
| Download URL | pushraker-0.3.6-py3-none-any.whl |
|---|---|
| Size | 238.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
eb5b38b0d5ce8560ea5bf3f25d01342c3e584f0adadae4f3336ddd8cf946f4f5
|
|
BLAKE2b-256 checksum How to use checksums |
7376f1124b0f2103a9da82dd22db62f79e083f23e8d019c8603ac9c9dceb6f4f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 17, 2026.
Transparency logSecurity for pushraker 0.3.6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for pushraker-0.3.6.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 17, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.