0.0.9 • Published 2 years ago
nadah v0.0.9
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/
If you're developping try nodemon for auto-reload: nodemon dist/server/nadah-server.js -e js --exitcrash -- -d ../medias/ ../medias/outdoor/
sass --watch webclient/:dist/webclient/