anuragteapot / flex-originals

:headphones: A video and audio streaming web application
GNU General Public License v3.0
39 stars 15 forks source link
audio audio-player cdn docker golang java loopback nodejs spotify ssr video video-player vue vuejs web-application youtube

Chat Chat

Flex Originals

Demo

Microservice Architecture of project

Flex Originals is an opensource project. Contributions are welcome

Features

Road Map

  1. Improve UI
  2. Improve Server
  3. Improve CDN
  4. Improve Players Video & Audio
  5. Add redis
  6. Add video and audio processing.
  7. Make distributed server.

Project Setup & Scripts

  1. ffmpeg
  2. Ngnix Server
  3. Docker & Compose
  4. MongoDB

You can run the following scripts with yarn or npm like yarn install

Script Description
install Project setup
dev Compile and start development server with hot-reload
build Compile and minify for production
prod Start production server
lint Run eslint for the entire project
test Run all tests
test:watch Start tests in watch mode

Project Setup

Node

official MongoDB website

INSTALLING COMPASS

  • You can install compass using the install_compass script packaged with MongoDB:
    $ ./install_compass This will download the appropriate MongoDB Compass package for your platform and install it.

    FFmpeg Project Setup

  • Download a static build.
  • Use 7-Zip to unpack it in the folder of your choice.
  • Open a command prompt with administrator's rights. NOTE: Use CMD.exe, do not use Powershell! The syntax for accessing environment variables is different from the command shown in Step 4 - running it in Powershell will overwrite your System PATH with a bad value.
  • Run the command (see note below; in Win10, you might want to use the Environmental Variables area of the Windows Control Panel to update PATH): setx /M PATH "path\to\ffmpeg\bin;%PATH%".Do not run setx if you have more than 1024 characters in your system PATH variable.
  • Installing FFmpeg in Ubuntu

    sudo apt-get update
    sudo apt-get install ffmpeg sudo apt-get install frei0r-plugins

Contributing

Copyright (c) 2019, Anurag Kumar Anurag Kumar