P2P Screen Sharing with WebRTC
myscreen.live is a free service that simplifies WebRTC screen sharing. There are two components:
gh-pages
branch.The www/ folder contains the source for the https://myscreen.live. It is a very simple site. The HTML files are
in www/dist/. The single index.js
file they reference in the same folder is built by webpack from the
TypeScript sources in www/src/.
To build the www/dist/index.js
file, simply run npm run build
from the www
folder. The entirety of www/dist
is
what should be committed to the gh-pages
branch.
For development, running npm run dev
in www
will update www/dist/index.js
with a non-minified version of the
source every time a TypeScript file changes. With Go installed, running go run local_web_server.go
in www
will make
the site visible at http://127.0.0.1:8080 though most features work just opening the www/dist/index.html
file in the
browser directly.