Skip to content
Stream a remote desktop screen directly to your browser
Go JavaScript CSS HTML Makefile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
cmd Major refactor Aug 9, 2019
docs Updated README Aug 9, 2019
internal Major refactor Aug 9, 2019
web Major refactor Aug 9, 2019
.gitignore First commit Aug 9, 2019
LICENSE First commit Aug 9, 2019
Makefile Added zip/tar targets to Makefile Aug 9, 2019
README.md Updated README Aug 9, 2019
go.mod Major refactor Aug 9, 2019
go.sum Major refactor Aug 9, 2019

README.md

WebRTC remote view

Dependencies

Architecture

Architecture

More info in this blog post.

Running the server

The server receives the following flags through the command line:

--http.port (Optional)

Specifies the port where the HTTP server should listen, by default the port 9000 is used.

--stun.server (Optional)

Allows to speficy a different STUN server, by default a Google STUN server is used.

Usage

Chrome 74+, Firefox 66+, Safari 12.x are supported. Older versions (within reason) should be supported as well but YMMV.

Build the deployment package by runnning make. This should create a tar file with the binary and web directory.

Copy the archive to a remote server, decompress it and run ./agent. The agent application assumes the web dir. is in the same directory.

WebRTC requires a secure domain to work, the recommended approach towards this is to forward the agent port thru SSH tunneling:

ssh -L YOUR_LOCAL_PORT:localhost:9000 

Then access the application on http://localhost:YOUR_LOCAL_PORT, localhost should be considered secure by modern browsers.

Screenshot

Demo screenshot

Feature requests

I'll see what I can do, create an issue!

License

MIT - see LICENSE for the full text.

You can’t perform that action at this time.