nadah
v0.0.11
Published
Streaming service for the modern layman.
Downloads
46
Readme
Streaming service for the modern layman. The name is an acronym of some of the most common streaming services.
DISCLAIMER: this software is NOT SECURE, do not expose it on the internet.
Usage
Run nadah --auto -d path/to/medias other/path/to/medias then go to [127.0.0.1:7865].
Help:
- -c/--config CONFIG_FILE to set the location of the config file, unset by default
- -a/--alone do not use the config file into your home directory, unset by default
- -d/--exposed-directories DIR1 DIR2 ... to set which directories will be searched for files, defaulst to ./
- -s/--subtitles volatile|next "volatile" will generate subtitles in memory, "next" will save the vtt files on the file system, defaults to "volatile"
- -b/--database PATH/TO/DB to set the location of the database file that store the read time of the medias
- -p/--port PORT to set the port, defaults to 7865
- -s/--hostname HOSTNAME to set the hostname, defaults to 127.0.0.1
development
To run it: node dist/server/nadah-server.js -d ../medias/ ../medias/outdoor/
More simply you can just run those taks in different npx:
terminals tsc -p server/ --watchnpx tsc -p webclient/ --watchnpx sass --watch webclient/:dist/webclient/inotifywait -m -e modify webclient/index.html | while read file_path file_event file_name; do cp ${file_path}${file_name} dist/${file_path}${file_name}; doneforever npx nodemon dist/server/nadah-server.js -e js --exitcrash -- -d ./medias/ ./medias/outdoor/
