Lightweight node app to use in place of plex to self host your video and movie collections. Running on just under 50MB of ram this is ideal for people looking to host videos on minimal hardware.
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
 
 
 
 
jrtechs abd3f389d7 Fixed IO bug and created docker-compose script for project 3 лет назад
html added download button to watch page 3 лет назад
img Updated site with Jrtechs favicon (closes #12) 5 лет назад
routes Migrate primitive config values to env variables 3 лет назад
.env Migrate primitive config values to env variables 3 лет назад
CODE_OF_CONDUCT.md Create CODE_OF_CONDUCT.md 5 лет назад
Dockerfile Fixed error where docker container was missing gifski dependency for creating gifs 3 лет назад
LICENSE Create LICENSE 5 лет назад
README.MD Updated the dependencies section to reflect the new icon generation package that I am using. 5 лет назад
conf.json Migrate primitive config values to env variables 3 лет назад
configManager.js Migrate primitive config values to env variables 3 лет назад
docker-compose.yml Fixed IO bug and created docker-compose script for project 3 лет назад
fileIO.js Fixed IO bug and created docker-compose script for project 3 лет назад
jrtechsvideos.service Created a systemd script to launch the program. 5 лет назад
package.json Migrate primitive config values to env variables 3 лет назад
recursiveTraversal.js Updated system to recursively read subdirectories to find files. 5 лет назад
run.sh Added a run script, updated the config for generic parameters updated the readme and configured the package.json file. 5 лет назад
server.js Migrate primitive config values to env variables 3 лет назад
user.js Fixed videos, watch and icons to work with express routes. 5 лет назад
utils.js fixed small typo 4 лет назад
videoManager.js Fixed error where docker container was missing gifski dependency for creating gifs 3 лет назад

README.MD

What Is This?

This is a custom media server written in node JS to stream videos from a remote server. This web system enables users to log into the system and view videos using the basic HTML 5 video player.

Why?

  • Universal and will run on any device with a web browser
  • Supports buffering which is useful when connecting to a remote server
  • Gained security because you don't need to grant everyone user accounts to view content from media server

Why just not use Plex?

  • Light weight
  • Easy to install
  • Easily expandable and hackable to fit your needs

Installation

NPM Dependencies

npm install

System Dependencies

$apt-get install ffmpeg

This also relies on gifski which can be installed following the links on their website. Both ffmpeg and gifski are used for generating the video preview gifs.

Running

To deploy this you will want to run this behind a reverse NGINX proxy to allow you to encrypt all of the network traffic. There are plenty of tutorials on how to do this online with let's encrypt.

To run this program either run run.sh or execute node server.js. This by default will run on port 5000 -- you are able to change this in conf.json. To make this easier for you in the long run, I usually run my node applications as systemd services.

The default config provided in this project has the default username of admin and password of admin. You will want create a new admin user and remove the default one once you get this running.

Contributing

This was largely just a weekend hack for me. This currently fits most of my needs and is functional. If you find any bugs, feel free to open a issue and I will get around to looking at it. I am always looking for people to contribute to my projects. If you have an idea for an enhancement for this project feel free to hack away and issue a PR. Contact me using the form on my blog or by opening a github issue if you have any questions regarding the code or how to use this project.