GithubHelp home page GithubHelp logo

m4cey / remote-spotify Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 1.63 MB

Remote control Spotify Bot for Discord

License: GNU General Public License v3.0

JavaScript 100.00%
discord bot spotify spotify-web-api music-bot music syncing party discord-js

remote-spotify's Introduction

Remote Spotify

Remote control your Spotify app playback, create playlists, fetch lyrics of your playing songs, and sync your listenening with friends all within discord.

This bot uses cookies to authenticate to the Spotify Web API so it does not require a premium Spotify account.

⚠️ It uses cookies, you have been warned! use at your own discretion ⚠️

Environment variables

To properly host this bot, you must configure the following environment variables first.

CLIENT_ID:

Your bot's ID.

TOKEN:

The bot's secret access token.

GUILD_ID:

The ID of the server you want to run this bot on.

KEY:

Database encryption key.

CHROME:

Full path to a chrome/chromium install, needed to run puppeteer for retrieving cookies.

GENIUS_KEY:

A Genius API application access token, Required for fetching lyrics. Create one at https://genius.com/api-clients

LOG:

Log file, if empty stdout is used.

LOG_LEVEL:

The log level, possible values are [error, warn, info, debug]

LOCAL:

If set to 0, the bot will save a snapshot of the database on an SFTP server and update it on every change, as well as fetch it whenever it is lost. useful for hosting on services like heroku where file changes don't persist.

The following options only apply if LOCAL=0

SFTP_HOST:

The SFTP server to use.

SFTP_USER:

The SFTP server's username.

SFTP_PORT:

The SFTP server's port.

SFTP_PASSWORD:

The SFTP server's password.

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.