A Node.js implementation of the Diashow API client, allowing you to upload, start, and control presentations via the command line.
- Node.js >= 16.0.0
- A running Diashow server
- Navigate to the directory:
cd tools/api/nodejs - Install dependencies:
npm install
Run the script with the required arguments:
node index.js <display-ip> <filename> <api-key> [show-in-archive]node index.js 192.168.1.100 widget_demo.ddl.json my-secret-keyArrow Left: Previous slideArrow Right: Next slideq: Quit and stop the presentationCtrl+C: Force exit