Skip to content

Simple Docker container that serves many popular slicers via noVNC in your web browser.

Notifications You must be signed in to change notification settings

Sodium-Hydrogen/slicers-novnc

 
 

Repository files navigation

Orca/Prusa/Super-slicer noVNC Docker Containers

This is a fork of Prusaslicer noVNC

Overview

This is a super basic noVNC build using supervisor to serve Orca/Prusa/Super slicer in your favorite web browser.

A lot of this was branched off of helfrichmichael's awesome prusaslicer-novnc-docker project, but I use my mobile device a decent amount of the time so I needed updates to noVNC and a couple other tweaks.

How to use

To run this image, you can run the following command:

SLICER="orcaslicer"
docker run --detach --volume=${SLICER}-novnc-data:/configs/ --volume=${SLICER}-novnc-prints:/prints/ -p 8079:8080 --name=${SLICER}-novnc slicer-novnc:${SLICER}

where SLICER is either prusaslicer, orcaslicer, or superslicer

This will bind /configs/ in the container to a local volume on my machine named orcaslicer-novnc-data. Additionally it will bind /prints/ in the container to orcaslicer-novnc-prints locally on my machine, and it will bind port 8079 to 8080.

If you need to change the certificate store you can add -e SSL_CERT_FILE="/etc/ssl/certs/new-store.crt" to the docker run command.

Version

Every update pushes a total of four tags for each slicer to docker hub.

  • slicer name with no added dashes
    • This tag will include all releases that are marked as official release from the superslicer github.
  • ...-prerelease
    • This is all releases even those marked as pre-release. It may often be the same as latest.
  • ...-x.x (version)
    • The latest release including pre-releases that have the bug fix number removed.
  • ...-x.x.x.x (version)
    • Any version that is marked as official (non pre-release) with x.x.x.x being their tag
  • ...-prerelease-x.x.x.x
    • Any release including pre-releases with x.x.x.x being their tag.

Mobile Friendly Efforts

The original version doesn't support mobile phones, but that is important for me.

Changes that improve mobile support are:

  • Update novnc to add touch gestures to simulate mouse actions

    • Short tap and drag: left mouse click and drag
    • Drag two fingers: send mouse scroll
    • Tap with two fingers: send right click
    • Pinch with two fingers: send Ctrl + scroll
    • Long press then drag: send right mouse click and drag
  • Patches to novnc:

    • When in window drag mode a two finger drag will act like a single finger drag.
    • Minimum width and height easy-novnc options. By default min-width is set to 1000 because slicers do not work on phone screens.
    • Automatically enabled drag mode if the minimum is larger than the current screen.
    • Moved the control-bar on phones to top/bottom instead of sides.

Links

SuperSlicer

GitHub Source

Docker Hub

About

Simple Docker container that serves many popular slicers via noVNC in your web browser.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 76.4%
  • Dockerfile 23.6%