From ba794aa117c28a82d4f98636b60b139aa0a22d4e Mon Sep 17 00:00:00 2001 From: Max Goodhart Date: Sun, 14 Jun 2020 22:50:49 -0700 Subject: [PATCH] Initial release --- .gitattributes | 1 + .gitignore | 2 + LICENSE | 7 + README.md | 23 + babel.config.json | 24 + package-lock.json | 11479 +++++++++++++++++++++ package.json | 43 + prettier.config.js | 6 + screenshot.png | Bin 0 -> 1338724 bytes src/browser/.babelrc.json | 3 + src/browser/control.html | 14 + src/browser/control.js | 209 + src/browser/index.css | 15 + src/browser/overlay.html | 14 + src/browser/overlay.js | 167 + src/browser/static/NotoSans-Regular.ttf | Bin 0 -> 455188 bytes src/browser/static/NotoSans-SemiBold.ttf | Bin 0 -> 456228 bytes src/browser/static/facebook.svg | 1 + src/browser/static/instagram.svg | 1 + src/browser/static/periscope.svg | 1 + src/browser/static/twitch.svg | 1 + src/browser/static/volume-up-solid.svg | 1 + src/browser/static/youtube.svg | 1 + src/constants.js | 7 + src/node/.babelrc.json | 13 + src/node/geometry.js | 54 + src/node/geometry.test.js | 91 + src/node/index.js | 176 + src/node/viewStateMachine.js | 201 + webpack.config.js | 70 + 30 files changed, 12625 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 LICENSE create mode 100644 README.md create mode 100644 babel.config.json create mode 100644 package-lock.json create mode 100644 package.json create mode 100644 prettier.config.js create mode 100644 screenshot.png create mode 100644 src/browser/.babelrc.json create mode 100644 src/browser/control.html create mode 100644 src/browser/control.js create mode 100644 src/browser/index.css create mode 100644 src/browser/overlay.html create mode 100644 src/browser/overlay.js create mode 100644 src/browser/static/NotoSans-Regular.ttf create mode 100644 src/browser/static/NotoSans-SemiBold.ttf create mode 100644 src/browser/static/facebook.svg create mode 100644 src/browser/static/instagram.svg create mode 100644 src/browser/static/periscope.svg create mode 100644 src/browser/static/twitch.svg create mode 100644 src/browser/static/volume-up-solid.svg create mode 100644 src/browser/static/youtube.svg create mode 100644 src/constants.js create mode 100644 src/node/.babelrc.json create mode 100644 src/node/geometry.js create mode 100644 src/node/geometry.test.js create mode 100644 src/node/index.js create mode 100644 src/node/viewStateMachine.js create mode 100644 webpack.config.js diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..176a458 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +* text=auto diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..76add87 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +node_modules +dist \ No newline at end of file diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..8a68e43 --- /dev/null +++ b/LICENSE @@ -0,0 +1,7 @@ +Copyright 2020 Max Goodhart + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/README.md b/README.md new file mode 100644 index 0000000..5fa226f --- /dev/null +++ b/README.md @@ -0,0 +1,23 @@ +# Streamwall + +:construction: Early WIP release! :construction: + +Streamwall makes it easy to compose multiple livestreams into a mosaic, with source attributions and audio control. + +![Screenshot of Streamwall displaying a grid of streams](screenshot.png) + + +## How it works + +Under the hood, think of Streamwall as a specialized web browser for mosaicing video streams. It uses [Electron](https://www.electronjs.org) to create a grid of web browser views, loading the specified webpages into them. Once the page loads, Streamwall finds the `