https://github.com/pacna/chillax
A versatile software that enables you and your friends to enjoy synchronized YouTube video watching, whether you're using a single device or multiple devices.
https://github.com/pacna/chillax
golang lit typescript websocket
Last synced: about 2 months ago
JSON representation
A versatile software that enables you and your friends to enjoy synchronized YouTube video watching, whether you're using a single device or multiple devices.
- Host: GitHub
- URL: https://github.com/pacna/chillax
- Owner: pacna
- License: mit
- Created: 2023-04-07T17:47:38.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-07-24T06:54:54.000Z (almost 2 years ago)
- Last Synced: 2024-07-24T08:17:27.915Z (almost 2 years ago)
- Topics: golang, lit, typescript, websocket
- Language: TypeScript
- Homepage:
- Size: 897 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Chillax
Chillax is a versatile software that enables you and your friends to enjoy synchronized YouTube video watching, whether you're using a single device or multiple devices. It utilizes WebSocket technology to keep all connected devices in perfect harmony, ensuring everyone watches the same video at the same time.

## Prerequisites
Before you can use Chillax, ensure that you have the following dependencies installed on your system:
1. [Golang](https://go.dev/dl/)
2. [Node.js](https://nodejs.org/en)
3. [Make](https://www.gnu.org/software/make/)
## Player Controls
:arrow_forward: Play video
:pause_button: Pause video
:loud_sound: Toggle volume on/off
:arrows_counterclockwise: Resynchronize if the player falls out of sync with other devices/browsers.
## Configuration
To configure Chillax, create a `.env` file in the `web` root directory and add the `VITE_WS_URL` variable:
```bash
VITE_WS_URL=ws://localhost:5000/ws
```
**Note** : When deploying to a production environment, replace the value with the appropriate production URL.
## Running Locally
To run the Chillax server, use the following command:
```bash
$ make server
```
To run the Chillax web interface, use the following command:
```bash
$ make web
```
## Building and Deploying
To build and run Chillax for deployment, execute the following command:
```bash
$ make up
```