- A simple way to watch videos in real time with multiple connected clients using websockets
- Implements real time play/pause and scrubbing, ability to add/remove videos, and OAuth authentication
- These env vars must be set before running the command below
- export AWS_URL=
- export AWS_ACCESS_KEY_ID=
- export AWS_REGION=
- export AWS_SECRET_ACCESS_KEY=
- export AWS_S3_BUCKET=
- export DATABASE_PUBLIC_URL=
- export CLIENT_ID=
- export CLIENT_SECRET=
- export GOOGLE_REDIRECT_URL=
air
will run the server in watch mode, or simply run the server usinggo run main.go
npm install
to install tailwindnpx tailwindcss -i ./client/input.css -o ./client/output.css --minify --watch
to generate styles in watch modeclient.js
change websocket url to localhost when local server running
- Bug sometimes when seeking, sends infinite play/pause messages
- Reconnect logic?
- Chat system?