These are digital props required in the shooting of The Image, a film made to fulfill the requirements of a high school filmmaking class.
This repo consists of three projects:
server
: Receives messages from allcontroller
s and pushes them to allprojector
s. Also hosts images forprojector
.controller
: A simple web dashboard to updateprojector
live with WebSockets by sending requests toserver
projector
: A display meant to be projected to a large screen in the moviemobile
: A mobile app that looks like a social media platform
Since these props are intended to be film-specific, I doubt many others will find reusability in this. Nevertheless, it can serve as an example of how WebSockets may be used in this manner.
Note: This is the public version of the monorepo. Personal information of actors and other persons involved in the production of the film has been replaced with placeholders to protect their identities.
Simple Node.JS server
cd server
npm i
npm run start
Built on Vue
cd controller
npm i
npm run dev
Built on Flutter. Google introduced some breaking changes in later versions, so I recommend running mobile
on version 2.5.3 (direct download).
Make sure to install Flutter first.
To run it on web,
cd mobile
flutter run -d chrome
To run it on other platforms, see Flutter docs.
Also a Vue app
cd projector
npm i
npm run dev
Doesn't apply. Run the server instead.
npm dev build
For Android, use
flutter build apk --split-per-abi
For web,
flutter build web
For other platforms, see the Development section in Flutter docs.
MIT License
Copyright (c) 2019-2023 Peter Raozen
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.