Giter VIP home page Giter VIP logo

swaglyrics-backend's Introduction

swaglyrics-backend

Discord Server Build Status codecov

Server side code to make an issue on the main repo when the program encounters a song it can't fetch lyrics for.

Works using the GitHub API and Flask.

The main program is configured to send a POST request to the server.

Need to document and add unit testing.

Rate Limits

In order to prevent spam and/or abuse of endpoints, rate limiting has been set such that it wouldn't affect a normal user.

Since SwagLyrics checks for track change every 5 seconds, requests on endpoints /stripper and /unsupported are allowed once per 5 seconds only.

Sponsors

PythonAnywhere

swaglyrics-backend is proudly sponsored by PythonAnywhere.

swaglyrics-backend's People

Contributors

aadibajpai avatar flabbet avatar hkmatsumoto avatar jamesvstone avatar nilsirl avatar sampoder avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

swaglyrics-backend's Issues

Do not create an issue for trivial cases

For example, if the song and artist do not contain any special characters and are simple words, there's a super minimal chance that we're doing something wrong and a bigger chance that that track doesn't have lyrics available on Genius. In this case, an issue should not be created and the appropriate info should be returned to the user.

This should be incorporated into the backend.

Make GitHub App

SwagLyricsBot has been created, however, it needs to be authenticated properly.

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.