Skip to content

FLUX Studio backend API, bridging nwjs <-> python communication

License

Notifications You must be signed in to change notification settings

flux3dp/fluxghost

Repository files navigation

FLUXGhost

FLUXGhost provides a websocket based API for FLUX-Studio frontend, which connects to fluxclient.

Official site: http://flux3dp.com/
Official forum: http://forum.flux3dp.com/
Official documentation: http://dev.flux3dp.com/

Features

  • Websocket based API for controlling your FLUX Delta.

Installation

  1. Install Python 3.4 (or newer).
  2. Install required packages
$ pip3 install pycrypto
$ pip3 install cython
  1. Install fluxclient
cd [where fluxclient repository is]
if you didn't install pcl:
  $ python3 ./setup.py develop --without-pcl
else:
  $ python3 ./setup.py develop
  1. Launch fluxghost
$ python3 ./ghost.py --ip 0.0.0.0 --port 10000

Use ./ghost.py --help to check what kind of options you can use.

Compilation ( for FLUX Studio )

  1. Install pyinstaller
$ pip3 install pyinstaller
  1. Run pyinstaller ghost.spec at fluxghost's root directory

  2. Binary files will be in ./dist/ghost