Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Leapfrog Music

Ever wondered what Leapfroggers are listening to or just wanted a steady stream of weird and whacky music while you're trying to be productive? Leapfrog music is hosted at: https://dev.music.lftechnology.com

How it works?

Post youtube links of songs you are listening to the channel Music @ LFT. It will in turn create a playlist of the latest songs posted at the channel which you can listen to at https://dev.music.lftechnology.com.

Setup

First clone this repository.

$ git clone git@github.com:leapfrogtechnology/music.git

Install dependencies. Make sure you already have nodejs, npm and yarn installed in your system.

$ cd music/api
$ yarn

Create a .env file for environment variables.

$ cp .env.example .env

Run migrations.

$ yarn migrate

Install ngrok and expose the port stated at config.json file.

$ ./ngrok http <your-port-number>

Add your ngrok link to config.json.

Running locally.

$ yarn start

Adding the integration to your hipchat room

Visit the ngrok link your api is hosted on and click on Add to hipchat and follow the instructions from there.

Running the app

Create a config.js file.

$ cd app
$ cp config.example.js config.js

Serve the app using http-server or a similar package.

$ http-server -p <your-port-number>

Now you can post youtube songs to your Hipchat room and listen to them through the app.

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

9 watching

Forks

Releases

Packages

Contributors

Languages