Sign inSign up

macdylan/sm2uploader

By macdylan

•Updated 14 days ago

A command-line tool for send the gcode file to Snapmaker Printers via WiFi connection.

Image
Networking
API management
Monitoring & observability
4

3.9K

macdylan/sm2uploader repository overview

⁠How to use this image

# connect to printer 192.168.1.201 and listen localhost:9933 for octoprint
docker run --rm -e HOST=192.168.1.201 -p 9933:8888 macdylan/sm2uploader
# or
docker run --rm -p 9933:8888 macdylan/sm2uploader -host=192.168.1.201

# disable smfix
docker run --rm -e HOST=192.168.1.201 -p 9933:8888 macdylan/sm2uploader -nofix

# get help
docker run --rm macdylan/sm2uploader --help

Note: Auto-Discovery does not work in Docker.

⁠docker-compose.yml

services:
  J1:
   image: macdylan/sm2uploader:latest
   environment:
    - HOST=192.168.1.21
   ports:
    - 9944:8888

  A350:
   image: macdylan/sm2uploader:latest
   environment:
    - HOST=192.168.1.35
   volumes:
    - ./hosts.yml:/usr/local/bin/hosts.yaml
   ports:
    - 9945:8888

docker-compose up

Tag summary

Content type

Image

Digest

sha256:806cbc45b…

Size

9.8 MB

Last updated

14 days ago

docker pull macdylan/sm2uploader