Skip to content

ShivamRawat0l/StremioP2P

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stremio-P2P

Stremio-P2P is a addon for the stremio platform. It is used to share videos directly without uploading to server and other person can view the video in the stremio.

Stremio-Addon for hosting and watching P2P videos P2PClient: for hosting a video . P2PAddon : for stremio to see the hosted videos .

DEMO

You can see the demo in https://youtu.be/fFs1MNHoXFw

Installation 🤖

- P2PClient

P2PClient is a software which is used to host the video file online.

You have to turn off the firewall to host the video

After hosting the video, to host again another video please close the client and then restart it

-- Installation :

  • Download the software.
  • DONT INSTALL IT IN C: DRIVE ( INSTALL WHERE ADMIN PERMISSION IS NOT REQUIRED )
  • Paste these
  • Select the file and host.
  • The video should be online.

-- Errors :

  • You have to turn off the firewall to host the video
  • Make sure no process is running in the port 8002.
  • If not shown in the stremioAddon try closing and restarting the client.

Watch the tutorial, if any error persist you can raise a issue .

- P2PAddon

P2PAddon is hosted online node-server-jbopvpztv.now.sh

P2PAddon is a addon for stremio which get the file hosted using P2PClient and display it on the stemioCatalog.

-- Installation :

  • Install the Addon
  • Goto Discover
  • Movies and then P2P.
  • It would take a while and then all the video that are being hosted shows up.
  • Select any and stream it using p2pstream;

-- Errors :

  • ERROR: There is no information about this. (Fixing)
  • If the addon does not work clone the addonOn from github and run npm install then npm start . Then manually add the addon in the stremio.

Watch the tutorial, if any error persist you can raise a issue .

Where can it be used ? 👏

You don't need to spend time first uploading the video and then the receiver downloading the video. He watch the video as you upload. Therefore it is faster and efficient .

  • If you want to watch movies together with someone who is not beside you .
  • If you want to share a video with people but don't to upload the video online
  • If you need to show the video urgently to someone and dont want to upload the video and then download it.
  • If your time matters :)

Languages/Frameworks ✍️

This is the list of the languages/frameworks used to develop this whole repository.

  • Javascript
  • HTML5
  • CSS3
  • Electron (P2PClient)
  • XEL (Electron Components)
  • StremioSDK (P2PAddon)

How to contribute 🕵️

You should be familiar with the above mentioned frameworks/language. Folders for both Client and the Addon are seperated.

- P2PClient

Say the name of the god and type npm install. This may protect you from evil errors. ☠️ Goto jsonstore.io and create a new json. Your json would be like www.jsonstore.io/key-value Store the value of key-value in .env file as

JSONSTORE="key-value"

Then paste the .env file for both P2PClient and the P2PAddon.

-- File Stucture :

All the directories are subjected to market risk read the directions carefully. The directories are either contains the ico file or the software package.

  • main.js contains the code of the electron app structure and the file to render
  • index.html contains the html code that is rendered in the electron app.
  • renderer.js is imported in index.html and contain all the code to host the video. -

- P2PAddon

You can also try yarnto install all the node packages.

-- File Stucture :

No directory found

  • server.js came with the stremioSDK and contains the code to start the addon server on the localhost.
  • addon.js is the main file which contains the code for the stremio addon.

Deploying

- P2PAddon

npm start

-P2PClient

electron-packager ./Linux/ P2PStremio --all --appname="P2PStremio" icon="./build/icon.ico"

Contributers 🧤

drawing

/shivamrawat0l

FAQ 💼

Nothing available right now 😅

Follow Me

Upcoming Updates

  • Option for series and others will be available
  • More feedback to the user when hosting the video
  • New Design
  • Adding MetaData to the stremioAddon
  • And Much More

MIT License