gmittal / stream

Offline mobile music streaming service

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Kawa

An offline mobile music streaming service.

Installation

Clone the repo, and find your local copy.

git clone https://github.com/gmittal/stream && cd stream

Install the dependencies.

pip install -r requirements.txt

Usage

Start an ngrok tunnel on the PORT of your choice.

ngrok http XXXX

Populate a .env in the project root with following information.

HOST=0.0.0.0
BASE_URL=XXXXXXXX.ngrok.io
PORT=XXXX
SPOTIFY_ACCESS=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
TWILIO_SID=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
TWILIO_AUTH=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
TWILIO_NUMBER=+1xxxxxxxxxx

In your Twilio phone number settings, set your number's messaging web hook to the server endpoint.

Run the Flask server.

python main.py

About

Offline mobile music streaming service

License:MIT License


Languages

Language:Python 65.5%Language:Processing 34.5%