Install WatchVideoByLink - MohamedBakoush/WatchVideoByLink GitHub Wiki

Installing Locally Using Docker

The fastest way to try WatchVideoByLink locally is using Docker on Windows, Linux or Mac OSX computers.

1. Install Docker

Install Docker by following Docker’s instructions

2. Clone Github Repository

Clone repo in your terminal with the following command:

git clone https://github.com/MohamedBakoush/WatchVideoByLink.git

Once that command completes successfully, you should see a new WatchVideoByLink folder in your current directory.

3. Launch Through Docker

Navigate to the folder you created in step 2:

cd WatchVideoByLink

Then, run the following command:

docker-compose up   

You should see a wall of logging output from the containers being launched on your machine. Once this output slows, you should have a running instance of WatchVideoByLink on your local machine!

Open http://localhost:8080 in your preferred browser to access WatchVideoByLink.

Installing from Scratch

Requirements

  • Node.js - Node.js® is a JavaScript runtime built on Chrome's V8 JavaScript engine.
    1. Download Node.js from https://nodejs.org/en/
    2. To check if node.js has been downloaded open command prompt for windows or terminal for macOS/Linux and enter node -v this will tell you what version of Node.js has been installed.
  • Git - Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.
    1. Download Git from https://git-scm.com/
    2. To check if Git has been downloaded open command prompt for windows or terminal for macOS/Linux and enter git --version this will tell you what version of Git has been installed.

Windows: If Video Type: Automatic dosent work

1. Clone Github Repository

Clone repo in your terminal with the following command:

git clone https://github.com/MohamedBakoush/WatchVideoByLink.git
cd WatchVideoByLink

Alternatively you may download and unpack the zip

2. Install Dependencies

npm install

(Optinal) Untrunc - Restore failed video downloads - may achieve undesired results.

  • Install via anthwlock/untrunc
    1. Once downloaded manualy drop all Untrunc files in WatchVideoByLink's directory.

3. Build necessary tasks

npm run build

4. Start Server

npm start

Then open http://localhost:8080 in your preferred browser.

or run WatchVideoByLink as a desktop application.

npm run electron