Skip to content

Commit

Permalink
First version
Browse files Browse the repository at this point in the history
  • Loading branch information
FallenAstaroth committed Jun 30, 2023
1 parent 0ceab26 commit 66e2c6a
Show file tree
Hide file tree
Showing 27 changed files with 56 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
venv/
**/__pycache__/
.idea/
config.py
varus/config.py
53 changes: 53 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
# Varus
Web application for watching YouTube and other videos together with synchronized viewing time.

## Navigation
* [Installation](#Installation)
* [Running the application](#Running-the-application)
* [UI screenshots](#UI-screenshots)

## Installation
Varus requires [Python](https://www.python.org/) to run.

Steps to configure the application:
1. Install the library for creating virtual environments:
```sh
pip install virtualenv
```
2. Go to the folder with the `server.py` file:
```sh
cd path\to\file
```
3. Create a virtual environment and activate it:
```sh
virtualenv venv
```
```sh
venv\Scripts\activate
```
4. Install the dependencies:
```sh
pip install -r requirements.txt
```
5. Remove `sample` from `config.py.sample` or create a `config.py` file with its contents.
6. Change the host and port to your own, or leave it as it is if you are testing on a local machine.

## Running the application
1. Activate the virtual environment.
2. Run the server:
```sh
python server.py
```

## UI screenshots
1. Form of room creation.

<img src="docs/1.png" width="500">

2. Form of room creation.

<img src="docs/2.png" width="700">

3. Fullscreen mod.

<img src="docs/3.png" width="700">
Binary file added docs/1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Flask==2.3.2
Flask-SocketIO==5.3.4
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 66e2c6a

Please sign in to comment.