Raspberry Pi Home Server – Install a RSS feed aggregator to replace Google Reader

Here it is, Google makes its Google us and decides, Like this, cut a service. This time it's Google Reader making it costs. Fortunately we are well equipped with Raspberry Pi and we can compete with the firm of Mountain View (nothing that it Yes !).

Raspberry Pi Home Server - Installer un agrégateur de flux RSS pour remplacer Google Reader

Then Yes, stopping the service is not good news for those who read their info via their favorite tool kind Feedly, Flipboard or any other application based on Google Reader. You have probably already found an alternative. Korben proposes many in an article from some time ago.

But today the idea would be to go through another intermediary and to have it at home, directly accessible via the Raspberry, amongst the services it may host.

Alternative tools exist :

My heart balance between FreshRss because simple and uncluttered interface side and on the other LEED who offers more functionality, theme management, etc. For this tutorial, I chose FreshRSS.

I assume that on the machine, an Nginx server with PHP support is installed as in this article (the CGI support is not required).

  1. As always, update of the system
    apt-get update && apt-get upgrade
  2. Installing the needed packages with MySQL and PHP integration
    apt - get install git mysql-server php5-mysql php5-curl
  3. Retrieve FreshRSS.
    CD/var/www/git clone git://github.com/marienfressinaud/FreshRSS.git chown-r www - data:www - data/var/www/FreshRSS
  4. Launch the configuration script integrated with FreshRSS. Gonna install the framework made MINZ House.
    CD/var/www/FreshRSS./build.sh
  5. Side Nginx, Here is a sample file to be placed in/etc/nginx/sites-enabled /
    server {
    
    listen 8080;
    
    root/var/www/FreshRSS;
    
    index index.php index.html index.htm;
    
    location ~ .php$ {
    
    fastcgi_pass unix:/var/run/PHP5-fpm.sock;
    
    fastcgi_index index.php;
    
    include fastcgi_params;
    
    }
    
    }
  6. Restart the service
    service nginx restart
  7. You must create the database that will receive the stream. The creation must be done manually before you start the configuration, otherwise it does not pass.
    MySQL-u root-p CREATE DATABASE freshrss;

    Raspberry Pi Home Server - Installer un agrégateur de flux RSS pour remplacer Google Reader

  8. You can now connect to the site to begin the part of FreshRSS configuration. The choice of the first language :Raspberry Pi Home Server - Installer un agrégateur de flux RSS pour remplacer Google Reader
  9. The next step is the control of the system. Cross your fingers everything should be green !Raspberry Pi Home Server - Installer un agrégateur de flux RSS pour remplacer Google Reader
  10. General configuration settings. The first area is a data encryption key I guess. You can see if you need to change or not on the basis of the access. The last area allows to use the system Persona Mozilla. Optional.Raspberry Pi Home Server - Installer un agrégateur de flux RSS pour remplacer Google Reader
  11. Finally, the configuration of the database. So for me I set root, his password and the name of the db created in step 7 :Raspberry Pi Home Server - Installer un agrégateur de flux RSS pour remplacer Google Reader
  12. The installation is madeRaspberry Pi Home Server - Installer un agrégateur de flux RSS pour remplacer Google Reader

    Raspberry Pi Home Server - Installer un agrégateur de flux RSS pour remplacer Google Reader

  13. You can now import your Google Reader feeds. Need you a file in format OPML. For this, you log into your Google account in your browser and you go to this page Export Google Reader OPML . It will give you an XML which you can then load into FreshRSS.Raspberry Pi Home Server - Installer un agrégateur de flux RSS pour remplacer Google Reader

    Raspberry Pi Home Server - Installer un agrégateur de flux RSS pour remplacer Google Reader

  14. And here is the result with the management of the categories (the arrow indicates the button to refresh all the flows)Raspberry Pi Home Server - Installer un agrégateur de flux RSS pour remplacer Google Reader

[Update] I forgot to specify that you can automatically refresh the stream via a job in Crontab. Here is all the 20 minutes (package php5-cli must be installed) :

*/20 * * * * /usr/bin/php /var/www/freshrss/actualize_script.php >/dev/null 2>&1

Voilà. I find the relatively simple and effective installation. Missing just a theme management to customize the interface as each wishes. It will be may be a future evolution ?

Do not hesitate to give your opinion on this tool or if you know of other.

Bonne lecture à tous 🙂

Like this article ? Bear with me on patreon!

You may also like...