Skip to content
This repository has been archived by the owner on Oct 15, 2023. It is now read-only.

Latest commit

 

History

History

server

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

nativeflix-server

⚠️ Currently works only on windows.

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.

Features

  • 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)

Preview

gif1 gif2

Installation

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)>

Usage

To start the app:

npm start

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

here