Skip to content

Web app to play videos of your LastFM's loved tracks using Youtube and LastFm's API. Also uses the Spotify API to get track and album info. Built on Rails 5.1.4.

License

Notifications You must be signed in to change notification settings

Hatemachine01/lastfm-youtube

Repository files navigation

LastFM - Youtube Player

Web app to play Youtube videos of your LastFM's favorited tracks. The app utilizes LastFM's API to get your favorited tracks and then scrapes Youtube for their respective music videos using Scrape YouTube searches (API). The Spotify's API is also integrated to provide song information.

Technologies:

  • Ruby on Rails
  • Javascript/jQuery/Ajax
  • Bootstrap
  • Rspec/Capybara

APIs:

  • Scrape YouTube searches (API)
  • LastFM API
  • Spotify API

Ruby Gems :

  • Nokogiri
  • Kaminari
  • Selenium-webdriver
  • Geckodriver-helper
  • Gritter
  • Social-share-button
  • font-awesome-rails
  • Rubocop
  • Newrelic_rpm
  • Rspotify
  • Popper_js
  • Figaro
Prerequisites

The setups steps expect following tools installed on the system.

  • Github
  • Ruby [2.7.1]
  • Rails [5.1.4]
1. Check out the repository
git clone https://github.com/Hatemachine01/lastfm-youtube.git
2. Create database.yml file

Copy the sample database.yml file and edit the database configuration as required.

cp config/database.yml.sample config/database.yml
3. Create and setup the database

Run the following commands to create and setup the database.

bundle exec rake db:create
bundle exec rake db:setup
4. Start the Rails server

You can start the rails server using the command given below.

bundle exec rails s

And now you can visit the site with the URL http://localhost:3000

About

Web app to play videos of your LastFM's loved tracks using Youtube and LastFm's API. Also uses the Spotify API to get track and album info. Built on Rails 5.1.4.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages