Giter Club home page Giter Club logo

webtask-tabify's Introduction

webtask-tabify

A small (<100 line) webtask that can be used to automatically pull up the best-matching guitar tablature for your currently-playing song in Spotify.

Requirements

  • express
  • webtask-tools
  • request
  • ultimate-guitar-scraper

Configuration

Note: This was written using the online Webtask Editor (webtask.io/make) instead of by CLI, so all instructions below are written with that in mind.

  1. Copy this script as the basis for your own webtask.

  2. This webtask uses three values stored as secrets (clientId, clientSecret, & redirectUri) that you will have to configure your own values for.

    2a. clientId & clientSecret can be obtained by setting up your own app via the Spotify Developer portal. (Tip: The redirect URI as configured in the Spotify Developer portal for your app needs to be the generated endpoint for your webtask.) The clientId will be your Spotify app's Client ID; the clientSecret will be your Spotify app's Client Secret.

    2b. redirectUri will also be the generated endpoint for your webtask (same as the redirect URI you have specified in your Spotify app.)

  3. Load up a song in Spotify, call the webtask, provide permission to your app, and have fun playing along to your favorite tracks!

TODO

  • Verify tab name / content to prevent serving incorrect tabs for bands / songs with more common words in their names.
  • Store access_token / refresh_token instead of demanding new authentication each time refreshes.
  • Better handling of multi-artist songs.
  • Provide control over filter by Tabs, Chords, or both when scraping UG.

webtask-tabify's People

Contributors

raftacon avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.