/music-server

Primary LanguageJavaScriptApache License 2.0Apache-2.0

Music-Server

Simple Music player to stream Audio from Youtube Videos. Enter the Video-Id and let the Software download it for you. With the integradet player you can listen to the downloaded files.

Setup

  1. Clone the repo
  2. Install dependencies
npm install
  1. Declare environment vars. For that create a .env file in the root of the project containing the following:
PORT=
DATABASE_NAME=
DATABASE_USERNAME=
DATABASE_PASSWORD=
DATABASE_PORT=
DATABASE_HOST=

FILESERVER_TOKEN=
FILESERVER_URL=
  1. Run the app:
npm run dev

Info

Requires you to have ffmpeg installed locally. Download ffmpeg from here.

Install on Linux (apt/snap):

sudo apt install ffmpeg
sudo snap install ffmpeg

Docker dev