|jrtechs abd3f389d7||2 months ago|
|html||11 months ago|
|img||1 year ago|
|routes||6 months ago|
|.env||6 months ago|
|CODE_OF_CONDUCT.md||2 years ago|
|Dockerfile||2 months ago|
|LICENSE||2 years ago|
|README.MD||2 years ago|
|conf.json||6 months ago|
|configManager.js||6 months ago|
|docker-compose.yml||2 months ago|
|fileIO.js||2 months ago|
|jrtechsvideos.service||2 years ago|
|package.json||6 months ago|
|recursiveTraversal.js||2 years ago|
|run.sh||2 years ago|
|server.js||6 months ago|
|user.js||2 years ago|
|utils.js||11 months ago|
|videoManager.js||2 months ago|
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.
$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.
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
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.
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.