Skip to content

keredson/gcode2ws

Repository files navigation

G-Code to Websocket

This webapp lets you stream G-Code (created by Cura, Orca Slicer, etc.) to your websocket-enabled printer(s).

TRY IT HERE!

Known compatible printers:

FAQ

These printers have a built-in webapp, so why use this?

The built-in webapp even with "high speed" enabled can only upload your file at ~10-20kB/s. The upload often fails, and when it doesn't it usually takes half as long as the estimated print time! 🤦

Because this project streams the G-Code, prints start instantly. (You don't even need an SD card.)

Why not stream G-Code to port 23 using a tool like gcode-cli?

The printer's handling of telnet sessions is unreliable (even with good WiFi). I've never seen it not fail, even with short prints.

Isn't the WiFi on on these printers terrible?

Yes it is! Fortunately my experience is if it's close enough to your router or a repeater (like in the same room), it's good enough.

Is my model or G-Code ever uploaded to the cloud?

No, neither ever leaves your network. The whole app is static HTML + Javascript, hosted by Github, and collects no data.

Screenshots

image image image

Limitations

Because it's streaming G-Code from your browser, you have to keep your computer on and the site open for the duration of the print.

Links

About

Send G-Code to a Websocket enabled 3D Printer

Resources

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published