Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do i set up on Windows 10? #6

Open
ZK-12 opened this issue Jul 19, 2020 · 4 comments
Open

How do i set up on Windows 10? #6

ZK-12 opened this issue Jul 19, 2020 · 4 comments

Comments

@ZK-12
Copy link

ZK-12 commented Jul 19, 2020

I have no idea how to set this up

@CrazyContraption
Copy link

I stumbled across this repo in my own personal efforts to make an Discord x YouTube RPC.
I managed to get this working as of the timing of this post.

You'll need a few things to execute this reliably.

  • Node JS. Do not use versions above v12, I used Node v11.5 after realizing Node v14+ was too new for some of the libraries required. You can find a windows 10 x64 bit installer here: https://nodejs.org/download/release/v11.15.0/node-v11.15.0-x64.msi
  • You will also require npm (node package manager) for installing the dependencies. This should be included with Node, so you needn't worry much about this.
  • Optionally, I'd suggest using git to install the repo, it makes life easier, especially when updating the files, or even attempting to make new contributions.

Now that you have all of these hopefully, we can start to run this bad boy.

  1. Open your Start menu, and type in CMD. Click to open with Administrator.
  2. Navigate to a directory where you'd like to save the files. If you don't know how to do this in CMD, use windows explorer, and copy the address of the location. Go back to your CMD and type cd followed by pasting the address you copied, with a space in between. (i.e. "cd Z:\Users\Crazy\YoutubeDiscordRPC"). If your terminal didn't do anything, you may be on the wrong drive (default C:), swap to the correct one by typing the letter of the correct drive (Z in the above example) followed by a : then repeat the previous command.
  3. If you have git installed, you can type git clone https://github.com/imfunniee/youtube-discord-rpc.git now to clone the files. If it was installed, and all went well, you can use cd youtube-discord-rpc to now enter the new files you've cloned. If you don't have git, you can download and extract the zip into the folder. I'm pretty sure that's pretty self-explanatory.
  4. Now, if you've done everything just right, typing npm i should start spitting text everywhere, and if it's mostly not red, I think you're good to go.
  5. Test if it works! Type node index to start the application!

Make sure you have Discord open and your playing status set to true!
Open a youtube video, and wait 10 seconds, it should be updated!

@BadaBingBadaBoom
Copy link

holy ffricken based downgrading node.js is THE solution, props!!!!!!!

@XxsjrapsxX
Copy link

I stumbled across this repo in my own personal efforts to make an Discord x YouTube RPC. I managed to get this working as of the timing of this post.

You'll need a few things to execute this reliably.

  • Node JS. Do not use versions above v12, I used Node v11.5 after realizing Node v14+ was too new for some of the libraries required. You can find a windows 10 x64 bit installer here: https://nodejs.org/download/release/v11.15.0/node-v11.15.0-x64.msi
  • You will also require npm (node package manager) for installing the dependencies. This should be included with Node, so you needn't worry much about this.
  • Optionally, I'd suggest using git to install the repo, it makes life easier, especially when updating the files, or even attempting to make new contributions.

Now that you have all of these hopefully, we can start to run this bad boy.

  1. Open your Start menu, and type in CMD. Click to open with Administrator.
  2. Navigate to a directory where you'd like to save the files. If you don't know how to do this in CMD, use windows explorer, and copy the address of the location. Go back to your CMD and type cd followed by pasting the address you copied, with a space in between. (i.e. "cd Z:\Users\Crazy\YoutubeDiscordRPC"). If your terminal didn't do anything, you may be on the wrong drive (default C:), swap to the correct one by typing the letter of the correct drive (Z in the above example) followed by a : then repeat the previous command.
  3. If you have git installed, you can type git clone https://github.com/imfunniee/youtube-discord-rpc.git now to clone the files. If it was installed, and all went well, you can use cd youtube-discord-rpc to now enter the new files you've cloned. If you don't have git, you can download and extract the zip into the folder. I'm pretty sure that's pretty self-explanatory.
  4. Now, if you've done everything just right, typing npm i should start spitting text everywhere, and if it's mostly not red, I think you're good to go.
  5. Test if it works! Type node index to start the application!

Make sure you have Discord open and your playing status set to true! Open a youtube video, and wait 10 seconds, it should be updated!

so uh, this didnt work for me it threw an arrow of some sort
image

@CrazyContraption
Copy link

I stumbled across this repo in my own personal efforts to make an Discord x YouTube RPC. I managed to get this working as of the timing of this post.
You'll need a few things to execute this reliably.

  • Node JS. Do not use versions above v12, I used Node v11.5 after realizing Node v14+ was too new for some of the libraries required. You can find a windows 10 x64 bit installer here: https://nodejs.org/download/release/v11.15.0/node-v11.15.0-x64.msi
  • You will also require npm (node package manager) for installing the dependencies. This should be included with Node, so you needn't worry much about this.
  • Optionally, I'd suggest using git to install the repo, it makes life easier, especially when updating the files, or even attempting to make new contributions.

Now that you have all of these hopefully, we can start to run this bad boy.

  1. Open your Start menu, and type in CMD. Click to open with Administrator.
  2. Navigate to a directory where you'd like to save the files. If you don't know how to do this in CMD, use windows explorer, and copy the address of the location. Go back to your CMD and type cd followed by pasting the address you copied, with a space in between. (i.e. "cd Z:\Users\Crazy\YoutubeDiscordRPC"). If your terminal didn't do anything, you may be on the wrong drive (default C:), swap to the correct one by typing the letter of the correct drive (Z in the above example) followed by a : then repeat the previous command.
  3. If you have git installed, you can type git clone https://github.com/imfunniee/youtube-discord-rpc.git now to clone the files. If it was installed, and all went well, you can use cd youtube-discord-rpc to now enter the new files you've cloned. If you don't have git, you can download and extract the zip into the folder. I'm pretty sure that's pretty self-explanatory.
  4. Now, if you've done everything just right, typing npm i should start spitting text everywhere, and if it's mostly not red, I think you're good to go.
  5. Test if it works! Type node index to start the application!

Make sure you have Discord open and your playing status set to true! Open a youtube video, and wait 10 seconds, it should be updated!

so uh, this didnt work for me it threw an arrow of some sort image

Perhaps I should be more concise; The commands to run this are as follows once you're in the directory with admin perms.

git clone https://github.com/imfunniee/youtube-discord-rpc.git if you haven't already installed the repo.
npm i will install the required libraries set by the repo.
node index will run the entry point of the app using node.js.

Can't find git, npm or node in your CMD? Make sure it's installed - you might need to restart to get windows to recognize them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants