Go to file
Cédric Bosdonnat 7f5b9f54a5 Expose all needed pieces in main.js
We don't want the users to rely on anything else than main.js. All the
helper functions from the other files are thus imported in main and
exported there too.

This way all the user needs to import is:

    import * as SpiceHtml5 from './main.js';

Signed-off-by: Jeremy White <jwhite@codeweavers.com>
2019-02-14 12:46:05 -06:00
thirdparty Introduce ES6 modules 2019-02-14 12:46:02 -06:00
.gitignore Add the ability to build an rpm. 2013-02-11 09:17:53 -06:00
apache.conf.sample No longer install apache.conf, just put it in the doc folder. 2013-02-20 11:09:37 -06:00
atKeynames.js Introduce ES6 modules 2019-02-14 12:46:02 -06:00
bitmap.js Introduce ES6 modules 2019-02-14 12:46:02 -06:00
COPYING initial 2012-06-04 17:22:01 +03:00
COPYING.LESSER initial 2012-06-04 17:22:01 +03:00
cursor.js Introduce ES6 modules 2019-02-14 12:46:02 -06:00
display.js Introduce ES6 modules 2019-02-14 12:46:02 -06:00
enums.js Remove duplicated enums 2019-02-14 12:46:04 -06:00
filexfer.js Introduce ES6 modules 2019-02-14 12:46:02 -06:00
inputs.js Introduce ES6 modules 2019-02-14 12:46:02 -06:00
lz.js Introduce ES6 modules 2019-02-14 12:46:02 -06:00
main.js Expose all needed pieces in main.js 2019-02-14 12:46:05 -06:00
Makefile No longer install apache.conf, just put it in the doc folder. 2013-02-20 11:09:37 -06:00
playback.js Introduce ES6 modules 2019-02-14 12:46:02 -06:00
png.js Introduce ES6 modules 2019-02-14 12:46:02 -06:00
port.js Introduce ES6 modules 2019-02-14 12:46:02 -06:00
quic.js Introduce ES6 modules 2019-02-14 12:46:02 -06:00
README Fixed trailing whitespaces in several files 2016-09-28 15:03:48 -05:00
resize.js Introduce ES6 modules 2019-02-14 12:46:02 -06:00
simulatecursor.js Introduce ES6 modules 2019-02-14 12:46:02 -06:00
spice_auto.html Expose all needed pieces in main.js 2019-02-14 12:46:05 -06:00
spice-html5.spec.in Prepare for the 0.17 release 2016-08-17 14:44:46 -05:00
spice.css CSS: don't force the background color or inputs 2019-02-14 12:45:57 -06:00
spice.html Expose all needed pieces in main.js 2019-02-14 12:46:05 -06:00
spicearraybuffer.js Extend the native ArrayBuffer to add a slice() method if missing. 2013-04-16 14:59:08 -05:00
spiceconn.js Introduce ES6 modules 2019-02-14 12:46:02 -06:00
spicedataview.js Introduce ES6 modules 2019-02-14 12:46:02 -06:00
spicemsg.js Introduce ES6 modules 2019-02-14 12:46:02 -06:00
spicetype.js Introduce ES6 modules 2019-02-14 12:46:02 -06:00
ticket.js Introduce ES6 modules 2019-02-14 12:46:02 -06:00
TODO Introduce ES6 modules 2019-02-14 12:46:02 -06:00
utils.js Introduce ES6 modules 2019-02-14 12:46:02 -06:00
webm.js Introduce ES6 modules 2019-02-14 12:46:02 -06:00
wire.js Introduce ES6 modules 2019-02-14 12:46:02 -06:00

Spice Javascript client

Instructions and status as of August, 2016.

Requirements:

  1.  Modern Firefox or Chrome (IE will work, but badly)

  2.  A WebSocket proxy

      websockify:
        https://github.com/kanaka/websockify
      works great.

      Note that a patch to remove this requirement has been submitted
      to the Spice project but not yet been accepted.  Refer to this email:
      https://lists.freedesktop.org/archives/spice-devel/2016-June/030552.html

  3.  A spice server


Optional:
  1.  A web server

      With firefox, you can just open file:///your-path-to-spice.html-here

      With Chrome, you have to set a secret config flag to do that, or
      serve the files from a web server.


Steps:

  1.  Start the spice server

  2.  Start websockify; my command line looks like this:
        ./websockify 5959 localhost:5900

  3.  Fire up spice.html, set host + port + password, and click start


Status:

  The TODO file should be a fairly comprehensive list of tasks
  required to make this client more fully functional.