Skip to content

mhasanat/yt_remote

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

YT Player Remote Setup Guide

Requirements

  • Node.js
  • Browser

Step 1: Clone and Setup the Project

  1. Clone the project repository or download the ZIP file:
    git clone https://github.com/Gaurav153fr/yt_remote
  2. Navigate to the project directory and install the required modules:
    npm install
  3. Start the server from the repo root (runs on port 3000 by default):
    npm start
    You should see Server running on http://localhost:3000 in the terminal.

Step 2: Add Extension to Browser

  1. Open your browser and go to Extensions (e.g., chrome://extensions/ for Chrome).

  2. Enable Developer Mode.

  3. Click Load Unpacked and select the extension folder from the cloned project.

    • This will add the YT Player Remote extension to your browser.
  4. Edit the server address in extension/background.js:

    • Set SERVER_ADDRESS to the IP/hostname of the machine running the server (without protocol), e.g., 192.168.1.50.
    • The extension connects to ws://SERVER_ADDRESS:3000, so keep port 3000 unless you change PORT in api/server.js.

Step 3: Verify Setup

  1. Open YouTube Music in your browser.
  2. Return to the browser extensions page and click Reload next to the YT Player Remote extension.
  3. Check your terminal:
    • If the server is receiving data, your setup is correct.

Step 4: Access the Site

  1. Open the site hosted by the running server from any device (e.g., http://<server-ip>:3000).
  2. If you face connection issues:
    • Ensure your firewall is configured to allow connections to the server.

About

Just testing

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 72.3%
  • EJS 16.6%
  • HTML 8.2%
  • CSS 2.9%