oSumAtrIX / DownOnSpot

🎧 A Spotify music and playlist downloader working with free Spotify accounts written in Rust
https://osumatrix.me
GNU General Public License v3.0
548 stars 45 forks source link

Can't figure out how to access `free-librespot` #45

Closed hammadxp closed 1 year ago

hammadxp commented 1 year ago

Describe the bug I've been scratching my head over this for over a week but can't seem to successfully access your free-librespot git. I've tried following different YouTube videos, created SSH key from GitHub but still unsuccessful.

To Reproduce Steps I've tried so far:

  1. ssh-keygen -t rsa -C "hammadXP" (Filename: Default, Passphrase: Empty)
  2. cd /d ".ssh"
  3. start-ssh-agent
  4. Then created new SSH key on GitHub: Key type: Authentication Key (Default), Key: contents of id_rsa.pub file
  5. Then tried running git clone "ssh://git@github.com/oSumAtrIX/free-librespot.git" and still got the ERROR: Repository not found.

Expected behavior The free-librespot git repository should be accessible with the SSH Key.

Desktop (please complete the following information):

Additional context I can use your app with temporary premium subscription because I'm a free user, but if a free way is available, I would like to take it. I know this issue has been opened at least two times but you just answer with looking at the readme but that doesn't help mush. Can you please try giving the procedure yourself and also if the git is actually not down. Thanks 🙂

hammadxp commented 1 year ago

Finally I've successfully accessed the repository. Dev should've provided the 'private ssh key' link in a prominent way instead of within a paragraph text, but anyway, this is how I did it:

  1. Download the free_librespot_private_key from readme, it's hidden in 'private ssh key' text link
  2. Put the key file in C:\Users\your-username\.ssh folder Then run the following commands in cmd:
  3. cd "C:\Users\your-username\.ssh"
  4. ssh-agent -s
  5. ssh-add free_librespot_private_key

Now the repo should be accessible, I tried cloning it using git clone "ssh://git@github.com/oSumAtrIX/free-librespot.git" and it worked.

If you get error when running ssh-agent -s command, you will need to change the start type of the OpenSSH service from Services app by setting it's Start type to Automatic, then run the ssh-agent -s command again and it should work.

After this, you can continue with the build process :)