ptdel / djtaytay

Music library streaming app written in Flask & VueJS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

djtaytay

This is a little toy app made to explore Vue, brush up on my Python, and make a remote music collection accessable through a web interface. It has a rudimentary file browser. Additionally, it decodes files using ffmpeg, reencodes as webm vorbis and streams them to the browser.

This is an active work in progress. Notably, it does not handle large files well, and needs authentication and validation against the user input to ffmpeg.

How to set up a test environment

Clone this repo, then

apt install ffmpeg
virtualenv --python=python3 virtualenv
source virtualenv/bin/activate
pip install -r requirements.txt
export MUSIC_DIR=$YOUR_PATH_HERE
export SECRET_KEY=$SOME_VERY_SECRET_VALUE
python ./djtaytay.py

and click here.

Todo

  • add authentication
  • add nice playlist functionality
  • stick it in a docker file, with specific volumes mounted
  • handle failures better
  • actually style this bad boy

About

Music library streaming app written in Flask & VueJS


Languages

Language:Python 72.6%Language:JavaScript 21.9%Language:CSS 5.5%