farrerz / cura-novnc

Provides an instance of Cura via noVNC in your favorite web browser!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cura noVNC Docker Container

Overview

This is a super basic noVNC build using supervisor to serve Cura in your favorite web browser. This was primarily built for users using the popular unraid NAS software, to allow them to quickly hop in a browser, slice, and upload their favorite 3D prints.

This is super similar to my prusaslicer-novnc container and basically just adapts that for using Cura via VNC.

Please note: This is a work-in-progress and the Docker image is larger than I'd like it to be. More updates to come soon. Specifically the image is using the extracted AppImage version which results in extra copies of dependencies that might already exist.

How to use

In unraid

If you're using unraid, open your Docker page and under Template repositories, add https://github.com/helfrichmichael/unraid-templates and save it. You should then be able to Add Container for cura-novnc. For unraid, the template will default to 6080 for the noVNC web instance.

Outside of unraid

To run this image, you can run the following command: docker run --detach --volume=cura-novnc-data:/home/cura/ --volume=cura-novnc-prints:/prints/ -p 8080:8080 --name=cura-novnc cura-novnc

This will bind /home/cura/ in the container to a local volume on my machine named cura-novnc-data. Additionally it will bind /prints/ in the container to cura-novnc-prints locally on my machine. Finally it will bind port 8080 to 8080.

Links

Cura

Supervisor

GitHub Source

Docker

Note for those who installed prior to 02/13/22

This is not required, but a quality of life improvement. If you installed prior to February 13, please consider manually running the following commands to set some helpful environment configurations as it will not set on existing configurations. The commands will do the following:

  1. It will set your default Downloads for Firefox to /prints/ for easy slicing.
  2. It will add /prints/ as a bookmark in all the file selector views.

To get this, run the following commands:

echo "XDG_DOWNLOAD_DIR=\"/prints/\"" >> /home/cura/.config/user-dirs.dirs
echo "file:///prints prints" >> /home/cura/.gtk-bookmarks 

About

Provides an instance of Cura via noVNC in your favorite web browser!


Languages

Language:Shell 51.7%Language:Dockerfile 48.3%