Skip to main content

Yify-pop, the opensource netflix streaming torrents from Yify

Remember Popcorn Time? and all its alternatives such as Popcorn Team, Time4Popcorn, Atraci, and many others, that came basically after the end of the Popcorn time project?

Well, after the entry of Netflix in several new countries, it has not been long to see an opensource alternative, a kind of Netflix + Popcorn time actually.

Popcorn Time was a fancy software to install on your computer and allowing you to watch all the top movies and TV-shows based on popular trackers. You were then able to watch them like if it was a simple stream (Just click play and watch) but in peer to peer.

Great software but a big problem for your privacy. Indeed, if you use such software it is easy to catch your IP on the trackers and know if you are downloading the latest Hollywood blockbusters.

Well, this is where Yify Pop will interest a lot of people.

yify-pop main page

Yify Pop is a web server to stream torrents from yify, with a nice interface, which is actually responsive design (Mobile/Tablet friendly).

Easy to install on a remote server, Yify Pop has a large set of movies, TV shows and also includes a large set of subtitles in different languages.

yify-pop TV shows game of thronesBasically, a great software to watch in streaming all the latest movies, TV shows, etc…

Unfortunately, it might not be legal in your country.

But for the sake of knowledge, let’s see how to install it!

Yify-pop waiting for stream buffer


You will first need to install node.js and npm.

1) Install nodejs and npm

– If you use Ubuntu, simple run (as root)

– If you are on Debian (Wheezy?) like me, you can install nodejs from wheezy-backports (modify your source.list accordingly) and run (in root):

and for npm, you can use the installer (still in root)

2) Clone their git repository into your /var/www

Still in root (or with sudo):

3) Install the 2 specific requirements (Geddy and Peerflix)

Still in root:

4) Install the application

Still in root:

5) Start the server

and simply go to http://YourIP:4000/

yify-pop stream video p2p start


Make it a service

Now you want to make sure the application stay always on? I recommend you to use forever that will make sure your nodejs application is always running. If suddenly the process is killed, forever will bring it back.

1) Install forever

2) Launch Yify-Pop with forever

if you want to stop it, simply run:

You can actually replace /usr/bin/geddy by any of your js application.

3) Now you want to make sure geddy is started at boot time

To do so, you will need to create a init.d script that will give us control to start or stop the service.

Still in root, create an init.d script called geddy:

and paste:

You can update the command to run if you want to change the default port, etc…

Save (CTRL +X) and make it executable.

and add it to your boot sequence:

Now if you restart your server, (or simply start manually the script), Yify-pop will be back to life!


Well it’s not done yet, you could also want to change the port number or directly redirect the port 4000 to a sub domain (Easier to remember and better if you want to make it an open service). Here is how.

Virtualhost configuration

What you will need:

1) Create a A redirection in your DNS server/registrar with something like stream.domain.tld to your IP

2) Have SSL certificate ready. If not you can read this tutorial. (Optional)

3) Install Mod Proxy HTML and activate proxy HTTP

In root, run:

4) Create your virtualhost as following:

In /etc/apache2/sites-enabled/, create a file called yify-pop (In root):

and paste the following content:

Adapt the content (Servername, webmaster email, SSL certificate, directory,…).

When done, save the file (CTRL+X then Yes) and reload apache: (In root)

From now one, all the connections to stream.domain.tld will be redirected first to https://stream.domain.tld, which will be redirected to localhost:4000

And voila! All set!


If any question, I suggest you to visit their github issues tracker. Many new features are coming so keep in touch with the project!

51 thoughts on “Yify-pop, the opensource netflix streaming torrents from Yify

  1. the command “forever start /usr/bin/geddy”
    is not work for me this error: “script /usr/bin/geddy does not exist.”

    can you help me to resolve the problem

    1. Hi Wajdi,,
      How did you install geddy? Did you use
      npm -g install geddy as root/sudo?
      If without the -g, it will not come with /usr/bin/geddy path, but where you run the command.

      Can you double check? (If this is the issue, it is not a big deal, either reinstall it with -g or correct the path of the command)

      Hope it helps

    2. thanks for the script, i have some probleme so my script is :


      # Provides: Yify-pop
      # Required-Start: $local_fs
      # Required-Stop: $local_fs
      # Default-Start: 2 3 4 5
      # Default-Stop: 0 1 6
      # Short-Description: geddy
      ### END INIT INFO

      export PATH=$PATH:/usr/local/bin
      export NODE_PATH=$NODE_PATH:/var/www/Yify

      case “$1” in
      exec forever start /usr/local/bin/geddy –geddy-root /var/www/Yify
      exec forever stop /usr/local/bin/geddy
      echo “Usage: /etc/init.d/geddy {start|stop}”
      exit 1

      exit 0

  2. If people have this problem when starting geddy : /usr/bin/env: node: No such file or directory, just do “ln -s /usr/bin/nodejs /usr/bin/node”.

  3. (Thank you to delete my previous post, I put my real name involuntarily …)

    Great tutorial, everything works.
    I do have a request:
    I would like to add a htaccess but I do not know where to place it.
    Someone could help me?
    (sorry, I use a translator I suck in English …)

    1. Hi
      What are you trying to do with your htaccess? Set a password?

      I usually create a virtualhost directly.

      For the language, I can speak French if it helps

      1. Salut,
        Désolé de ne répondre que maintenant je pensais recevoir une notification en cas de réponse…
        Oui je t’avoue qu’en Français ça m’aide bien !
        Bah à vrai dire je ne suis pas vraiment calé donc j’ai essayé ave un .htaccess tout simple que j’ai placé dans le dossier de Yifypop.
        Je vais regarder comment faire pour l’intégrer directement au VirtualHost.
        Merci pour ta réponse en tous cas

          1. Je pense qu’il veut protéger la page par un mot de passe, ça m’intéresserait aussi, je suis familier avec apache/php mais le node js c’est totalement inconnu =/

          2. Oui, en fait je voudrais protéger la page avec un mot de passe.
            Si tu as la solution je suis preneur car je n’ai toujours pas réussi

      1. Thanks,
        Did you know the best way to host it ? I’m looking for a server affordable (<10€/month), enought disk space for host my movies (about 100Go I think) and I don't really care about the RAM and the processeur while it's capable of playing my movies. Does I choose a private server like kimsufi or a VPS is enough ?

        1. I would rather suggest you a dedicated server. You might have some bottleneck on the bandwidth and IO on a cheap VPS.

          You don’t need something fast tho…, a.Kimsufi KS-1 will be just fine. (Without GUI to save resources) and will be still very cheap.

          I’ve been running it in a small VM without issues.

          Hope it helps.

  4. Bonjour les gars, alors pour petit soucis, je voudrais a terme limité l’accès a yify par un mdp, via le port 80/443 uniquement, donc pas d’accès possible en 4000 sans passer pas apache. j’ai bien suivi le tuto et tout marche plus au moins, en fait lorsque je veux lire un film, je suis redirigé vers localhost:4000, donc a distance pas d’accès.. De plus j’ai essayé de bloquer le port 4000 et la pour le coup plus rien ne fonctionné..

  5. Salut, j’aurai encore un petit service à te demander,

    Est-ce que tu pourrais expliquer la commande pour mettre à jour yify-pop ? Comme il y a du node je ne suis pas du tout sur de mon coup…

    Sinon rien à voir mais merci pour pour ton tuto de Searx, c’est vraiment top. Je l’ai installé avec du SSL c’est parfait !

    1. Salut Boyd_Crowder,
      C’est une tres bonne question… ne sais pas vraiment….il va surement falloir faire un git pull puis un npm update.

      Merci pour les encouragements.

  6. When you configure the virtualhost, must it use a subdomain like
    ServerName stream.domain.tld

    Or can you also use

    1. Hi Apoc,
      Indeed, you can also use a full domain name, simply change the ServerName by your domain name and make sure you have the redirection working with your registar

  7. Thanks for the quick reply of my previous post.

    I have another question, could you possibly explain how to configure peerflix to delete the temporary buffer file after it’s been downloaded in order to free up space on the server HDD?


  8. Also, why is it necessary to configure a virtual host? I am planning on running my site on a VPS, would I still have to configure this?

    Thanks a lot

  9. Hi Apoc,
    I suppose the buffer question needs to be asked to their issue tracker as a new feature. I’m not quite sure how to do it with peerflix…yify-pop team will know better.

    For the virtualhost question, this is optional is you are okay to access to your service with domain.tld:4000
    If entering the port number is not an issue, then no need to do extra configuration.
    (Note that using a virtualhost to forward a port is not the only way, but I find it quite straightforward)

    1. Thanks for the reply! Can you also let it redirect to the homepage of the domain, like Also, if one were to use the virtualhost to forward the port without using SSL, would you simply leave the SSL part of the code out including changing HTTPS to normal HTTP? And is the ServerName the same as the Nameserver or is it simply the hostname assigned to the server upon installation? Would it be or just something like Does this below code look right? (I just added some changed and used “” as my own domain name variable)

      Redirect /


      ProxyRequests Off
      Order deny,allow
      Allow from all

      ProxyPass / http://localhost:4000
      ProxyPassReverse / http://localhost:4000

      Thanks for your help! Sorry if I asked quite a lot of questions. xD

  10. Hi Ap0c
    Your example got a little issue I think, if you want to redirect to mydomain,com, you need to have a virtualhost for directly.

    A simple alternative will be to use ServerAlias (If it suits your need)


    ProxyRequests Off
    Order deny,allow
    Allow from all

    ProxyPass / http://localhost:4000
    ProxyPassReverse / http://localhost:4000

    In this case, if the visitor goes to either or, he will access to localhost:4000.

    If you really want to redirect your users from to (And force the change the URL), you will need 2 virtualhosts, the first one with Redirect, and the second one with all the content to access to localhost:4000.

    Hope it helps!

  11. Sure Apoc,
    Create a virtualhost in your /etc/apache2/sites-enabled/
    and after the VirtualHost *:80, make sure to have:

    ServerAdmin webmaster@domain.tld
    ServerName domain.tld

    ProxyRequests Off
    Order deny,allow
    Allow from all

    ProxyPass / https://localhost:4000
    ProxyPassReverse / https://localhost:4000

  12. For some reason I just get a 403 Forbidden error even when I’m in the DocumentRoot directory and Yify-Pop is running with forever, any idea what may cause this?

    Also, what does the URL look like when it redirects? Does it still display the 4000 port next to the URL?

  13. Hi Apoc,
    Not quite sure where is the issue. If you access with the port number directly, does it work?

    The URL will be the same than your ServerName you set.

  14. I also get this error when restarting apache, could this be the problem?
    Note: “” represents the IP of my VPS, e.g.

    AH00548: NameVirtualHost has no effect and will be removed in the next release /etc/apache2/conf.d/

    All that is contained in that file is:


  15. It is not in my virtual host file that I get the error, I get the error from a file here /etc/apache2/conf.d/

    Note that represents my server IP

  16. Hello Karibu!

    I have managed to fix my problem another way. I redirected port 80 to port 4000 using this command:

    sudo iptables -t nat -A PREROUTING -i eth0 -p tcp –dport 80 -j REDIRECT –to-port 3000

    The URL to the solution I used is here:

    Thank you very much Karibu for all your kindness and help 🙂 I really appreciate it!
    Also, keep up the good work with the Blog, I really enjoy reading through it.
    Happy new year

  17. Salut Karibu!
    Merci pour les super explications!

    Je n’ai pas fait la partie sur la redirection du port 4000 mais mon stream ne demarre jamais…
    Est ce que cela pourrait venir d’iptables qui bloque peerflix?
    Connais tu les ports a ouvrir?

    Thx et bonne aprem!

    1. Salut Pouet,
      Ca doit surement etre cela.

      Je crois que Peerflix est sur le port 8888 ou 6881

      Si tu peux essayer de les ouvrir un a un et faire des tests, ca pourrait aider d’autres!

      1. Salut Karibu!

        Merci pour ta réponse.
        A priori les ports que tu m’as donne servent pour les trackers mais peerflix utilise des ports aleatoires (dans une plage) pour telecharger les torrents…
        Je n’ai encore reussi à trouver cette plage, si jamais tu as…
        Je continue toujours à chercher 😉

  18. Hello there,

    Awesome guide you have here! Installation on a VPS works well (VPS just need to have more than 256MB RAM – buffering kills it very fast if less).

    Though, I am having an issue with running geddy in the background. I installed ‘forever’ and tried to run in as described in the tutorial. However, it didn’t do anything, strangely. Also, for some reason, on Ubuntu 14.04 x64, geddy path has been changed to “/usr/local/bin/geddy” instead of “/usr/bin/geddy”. Still, even when changing path, it didn’t work.

    Poking around, I have managed to configure forever to work with the following command
    forever start /usr/local/bin/geddy -g /var/www/yify-pop/

    Here I explicitly stated the path, where app is located. Also, made changes to upstart script and it worked 🙂


  19. Here’s a systemd boot script for this (you’ll have to tweak the paths as needed, i put yify in /opt/yify-pop/).

    Description=yify-pop node.js service

    ExecStart=/usr/local/bin/forever start -a –uid yifypop –pidFile /opt/yify-pop/ /usr/local/bin/geddy -g /opt/yify-pop
    ExecStop=/usr/local/bin/forever stop yifypop

Leave a Reply

Your email address will not be published. Required fields are marked *