This is the back-end wrapper for the nativeflix app. It basically talks with the app through sockets, streams the magnet using peerflix and its opened on a electron based video player, giving the user full control of the player without need to being on the computer.
- Auto download the best subtitles based on the given language from the opensubtitles api
- Clears the download cache after the player is closed
- Listens for the app commands to control the window (pause, close, etc)
Use the package manager npm to install the dependencies.
npm install
Create the .env file on the root of the project and put the information based on the example below
LOGIN=<opensubtitles login>
PASS=<opensubtitles password>
PORT=<port>
torrentsPath=<G:/torrents/movies>
subtitlesLanguage=<iso639-1 or iso639-2 code (use pob for pt-br)>
To start the app:
npm start
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.