1. SAGE2
  2. SAGE2
  3. SAGE2

Wiki

Clone wiki

SAGE2 / Home

SAGE2

Browser based implementation of SAGE. A cluster-based html viewer used for displaying elements across multiple browser windows. Based on Node.js, ffmpeg, poplar, image magic, and other JS libraries.

Install SAGE2

Configure

  • Create a configuration file for your display environment
  • Save file in <SAGE2_directory>/config
  • Select your configuration file
    • Option 1: name your configuration file '<host_until_first_dot>-cfg.json'
      (eg. host = thor.evl.uic.edu, config file is 'thor-cfg.json')
    • Option 2: create a file 'config.txt' in <SAGE2_directory>
      Specify the path to your configuration file in 'config.txt'

Run

  • Open Terminal / Cmd
    • cd <SAGE2_directory>
    • node server.js (options: -i interactive prompt, -f <file> specify a configuration file)
  • Open Web Browser
    • Google Chrome
    • Firefox
      • First time use - go to about:config and set media.getusermedia.screensharing.enabled to true and add domain(s) for SAGE2 server(s) to media.getusermedia.screensharing.allowed_domains
    • Electron
      • Open a terminal window and navigate to the SAGE2_directory.
      • cd <SAGE2_directory>
      • ./node_modules/.bin/electron electron.js -s http://hostname:port -d 0
      • There are additional flags that can be used:
        • -h, --help output usage information
        • -V, --version output the version number
        • -d, --display <n> Display client ID number (int)
        • -s, --server <s> Server URL (string)
        • -f, --fullscreen Fullscreen (boolean)
        • -n, --no_decoration Remove window decoration (boolean)
        • -x, --xorigin <n> Window position x (int)
        • -y, --yorigin <n> Window position y (int)
        • --width <n> Window width (int)
        • --height <n> Window height (int)
        • --password <s> Server password (string)
        • --hash <s> Server password hash (string)
        • --cache Clear the cache
        • --console Open the devtools console
    • SAGE2 pages
      • Display Client: https://<host>:<port>/display.html?clientID=<ID>
      • Audio Client: https://<host>:<port>/audioManager.html
      • SAGE UI: https://<host>:<port>
      • SAGE Pointer: https://<host>:<port>/sagePointer.html (Allow pop-ups)
  • Create a one button SAGE2 launcher for the server and displays

Supported File Types

  • Images
    • JPEG
    • PNG
    • TIFF
    • BMP
    • PSD
  • Videos
    • MP4
    • M4V
    • WEBM
  • PDFs

Configure SAGE2

Launch SAGE2

Develop for SAGE2

Startup Scripts

Notice

SAGE and SAGE2 are trademarks of the University of Illinois Board of Trustees (SAGE™ and SAGE2™).

Updated