1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/freshrss_ynh.git synced 2024-09-03 18:36:33 +02:00
freshrss_ynh/sources
2015-02-09 12:22:46 +01:00
..
app [fix]Add missing index.phtml 2015-02-09 12:22:46 +01:00
data [enh] Update to 1.0 2015-02-08 18:55:48 +01:00
extensions [enh] Update to 1.0 2015-02-08 18:55:48 +01:00
lib [enh] Update to 1.0 2015-02-08 18:55:48 +01:00
p [enh] Update to 1.0 2015-02-08 18:55:48 +01:00
tests [enh] Update to 1.0 2015-02-08 18:55:48 +01:00
CHANGELOG [enh] Update to 1.0 2015-02-08 18:55:48 +01:00
constants.php [enh] Update to 1.0 2015-02-08 18:55:48 +01:00
CREDITS [enh] Update to 1.0 2015-02-08 18:55:48 +01:00
index.html Initial Commit 2014-07-23 15:52:50 +02:00
index.php Initial Commit 2014-07-23 15:52:50 +02:00
LICENSE Initial Commit 2014-07-23 15:52:50 +02:00
README.fr.md [enh] Update to 1.0 2015-02-08 18:55:48 +01:00
README.md [enh] Update to 1.0 2015-02-08 18:55:48 +01:00

FreshRSS

FreshRSS is a self-hosted RSS feed agregator like Leed or Kriss Feed.

It is at the same time light-weight, easy to work with, powerful and customizable.

It is a multi-user application with an anonymous reading mode.

FreshRSS logo

Note on branches

This application is still in development! Please use the branch that suits your needs:

Disclaimer

This application was developed to fulfill personal needs not professional needs. There is no guarantee neither on its security nor its proper functioning. If there is feature requests which I think are good for the project, I'll do my best to include them. The best way is to open issues on GitHub (https://github.com/FreshRSS/FreshRSS/issues).

Requirements

  • Light server running Linux or Windows
    • It even works on Raspberry Pi with response time under a second (tested with 150 feeds, 22k articles, or 32Mo of compressed data)
  • A web server: Apache2 (recommanded), nginx, lighttpd (not tested on others)
  • PHP 5.2.1+ (PHP 5.3.7+ recommanded)
  • MySQL 5.0.3+ (recommanded) or SQLite 3.7.4+
  • A recent browser like Firefox 4+, Chrome, Opera, Safari, Internet Explorer 9+
    • Works on mobile

FreshRSS screenshot

Installation

  1. Get FreshRSS with git or by downloading the archive
  2. Dump the application on your server (expose only the ./p/ folder)
  3. Add write access on ./data/ folder to the webserver user
  4. Access FreshRSS with your browser and follow the installation process
  5. Every thing should be working :) If you encounter any problem, feel free to contact me.

Access control

It is needed for the multi-user mode to limit access to FreshRSS. You can:

  • use form authentication (need JavaScript and PHP 5.3.7+, works with some PHP 5.3.3+)
  • use Mozilla Persona authentication included in FreshRSS
  • use HTTP authentication supported by your web server
    • See Apache documentation
      • In that case, create a ./p/i/.htaccess file with a matching .htpasswd file.

Automatic feed update

  • You can add a Cron job to launch the update script. Check the Cron documentation related to your distribution (Debian/Ubuntu, Red Hat/Fedora, Slackware, Gentoo, Arch Linux…). Its a good idea to use the web server user . For example, if you want to run the script every hour:
7 * * * * php /chemin/vers/FreshRSS/app/actualize_script.php > /tmp/FreshRSS.log 2>&1

Advices

  • For a better security, expose only the ./p/ folder on the web.
    • Be aware that the ./data/ folder contains all personal data, so it is a bad idea to expose it.
  • The ./constants.php file defines access to application folder. If you want to customize your installation, every thing happens here.
  • If you encounter any problem, logs are accessibles from the interface or manually in ./data/log/*.log files.

Backup

  • You need to keep ./data/config.php, ./data/*_user.php and ./data/persona/ files
  • You can export your feed list in OPML format from FreshRSS
  • To save articles, you can use phpMyAdmin or MySQL tools:
mysqldump -u user -p --databases freshrss > freshrss.sql

Included libraries

Only for some options

If native functions are not available