2013-03-17 23:16:25 +01:00
|
|
|
Miniflux - Minimalist News Reader
|
2013-02-18 03:48:21 +01:00
|
|
|
=================================
|
|
|
|
|
|
|
|
Miniflux is a minimalist web-based news reader.
|
|
|
|
|
|
|
|
Features
|
|
|
|
--------
|
|
|
|
|
|
|
|
- Host anywhere (shared hosting, vps or localhost)
|
|
|
|
- Easy setup => copy and paste and you are done!
|
|
|
|
- CSS optimized for readability
|
2013-07-04 13:01:14 +02:00
|
|
|
- Keeps history of read items
|
2013-02-18 03:48:21 +01:00
|
|
|
- Remove Feedburner Ads and analytics trackers
|
2013-07-04 13:01:14 +02:00
|
|
|
- Import/Export of OPML feeds
|
|
|
|
- Feed updates via a cronjob or with the user interface with one click
|
2013-02-18 03:48:21 +01:00
|
|
|
- Protected by a login/password (only one possible user)
|
2013-04-06 03:52:58 +02:00
|
|
|
- Use secure headers (only external images and Youtube/Vimeo videos are allowed)
|
2013-02-24 20:09:16 +01:00
|
|
|
- Open external links inside a new tab with a `rel="noreferrer"` attribute
|
2013-03-17 23:16:25 +01:00
|
|
|
- Mobile CSS (responsive design)
|
2013-07-18 19:49:40 +02:00
|
|
|
- Keyboard shortcuts (pressing '?' displays a pop-up listing the shortcuts; pressing 'q' closes it)
|
2013-06-15 05:22:22 +02:00
|
|
|
- Basic bookmarks
|
2013-07-09 00:39:07 +02:00
|
|
|
- Translated in English, French, German, Italian and Simplified Chinese
|
2013-07-20 03:01:55 +02:00
|
|
|
- Themes
|
2013-02-18 03:48:21 +01:00
|
|
|
|
2013-04-06 03:52:58 +02:00
|
|
|
Todo and known bugs
|
|
|
|
-------------------
|
2013-02-18 03:48:21 +01:00
|
|
|
|
2013-04-06 03:52:58 +02:00
|
|
|
- See Issues: <https://github.com/fguillot/miniflux/issues>
|
2013-02-18 03:48:21 +01:00
|
|
|
|
2013-03-17 23:30:07 +01:00
|
|
|
License
|
|
|
|
-------
|
|
|
|
|
|
|
|
- AGPL: <http://www.gnu.org/licenses/agpl-3.0.txt>
|
|
|
|
|
2013-04-06 03:58:17 +02:00
|
|
|
Authors
|
|
|
|
-------
|
|
|
|
|
2013-07-09 00:31:25 +02:00
|
|
|
Original author: [Frédéric Guillot](http://fredericguillot.com/)
|
|
|
|
|
|
|
|
### Contributors
|
|
|
|
|
|
|
|
People who sent one or many pull-requests:
|
|
|
|
|
|
|
|
- André Kelpe: https://github.com/fs111
|
|
|
|
- Ayodio: https://github.com/ayodio
|
2013-07-20 03:01:55 +02:00
|
|
|
- Chris Lemonier: https://github.com/chrislemonier
|
2013-07-09 00:31:25 +02:00
|
|
|
- Derjus: https://github.com/derjus
|
|
|
|
- Eauland: https://github.com/eauland
|
|
|
|
- Félix: https://github.com/dysosmus
|
|
|
|
- Horsely: https://github.com/horsley
|
2013-07-14 18:35:11 +02:00
|
|
|
- Ing. Jan Kaláb: https://github.com/Pitel
|
2013-07-09 00:31:25 +02:00
|
|
|
- Luca Marra: https://github.com/facciocose
|
2013-07-20 15:10:17 +02:00
|
|
|
- Maxime: https://github.com/EpocDotFr
|
2013-07-09 00:31:25 +02:00
|
|
|
- MonsieurPaulLeBoulanger: https://github.com/MonsieurPaulLeBoulanger
|
|
|
|
- Necku: https://github.com/Necku
|
|
|
|
- Thiriot Christophe: https://github.com/doubleface
|
|
|
|
- Ygbillet: https://github.com/ygbillet
|
|
|
|
|
2013-07-09 00:40:19 +02:00
|
|
|
PS: Many people sent a bug report too (see [issues tracker](https://github.com/fguillot/miniflux/issues))
|
2013-07-09 00:39:07 +02:00
|
|
|
|
|
|
|
Roadmap
|
|
|
|
-------
|
|
|
|
|
|
|
|
- http://miniflux.net/roadmap.html
|
|
|
|
|
|
|
|
ChangeLog
|
2013-07-09 00:40:19 +02:00
|
|
|
---------
|
2013-07-09 00:39:07 +02:00
|
|
|
|
|
|
|
- http://miniflux.net/changes.html
|
2013-04-06 03:58:17 +02:00
|
|
|
|
2013-02-18 03:48:21 +01:00
|
|
|
Requirements
|
|
|
|
------------
|
|
|
|
|
2013-06-02 19:25:27 +02:00
|
|
|
- Recent version of libxml2 >= 2.7.x (version 2.6.32 on Debian Lenny are not supported anymore)
|
2013-03-21 01:26:28 +01:00
|
|
|
- PHP >= 5.3.7
|
2013-03-17 23:16:25 +01:00
|
|
|
- PHP XML extensions (SimpleXML, DOM...)
|
2013-04-06 03:52:58 +02:00
|
|
|
- PHP Sqlite extension
|
2013-02-18 03:48:21 +01:00
|
|
|
|
2013-03-17 23:16:25 +01:00
|
|
|
Libraries used
|
|
|
|
--------------
|
2013-02-18 03:48:21 +01:00
|
|
|
|
|
|
|
- [PicoFeed](https://github.com/fguillot/picoFeed)
|
|
|
|
- [PicoFarad](https://github.com/fguillot/picoFarad)
|
|
|
|
- [PicoTools](https://github.com/fguillot/picoTools)
|
|
|
|
- [PicoDb](https://github.com/fguillot/picoDb)
|
|
|
|
- [SimpleValidator](https://github.com/fguillot/simpleValidator)
|
2013-03-21 01:26:28 +01:00
|
|
|
- [PHP 5.5 password backport](https://github.com/ircmaxell/password_compat)
|
2013-02-18 03:48:21 +01:00
|
|
|
|
|
|
|
Installation
|
|
|
|
------------
|
|
|
|
|
2013-03-21 01:26:28 +01:00
|
|
|
1. You must have a web server with PHP installed (version 5.3.7 minimum) with the Sqlite and XML extensions
|
2013-07-04 13:01:14 +02:00
|
|
|
2. Download the source code and copy the directory `miniflux` where you want
|
|
|
|
3. Check if the directory `data` is writeable (Miniflux stores everything inside a Sqlite database)
|
2013-03-17 23:16:25 +01:00
|
|
|
4. With your browser go to <http://yourpersonalserver/miniflux>
|
2013-03-22 00:57:47 +01:00
|
|
|
5. The default login and password is **admin/admin**
|
2013-03-17 23:16:25 +01:00
|
|
|
6. Start to use the software
|
|
|
|
|
|
|
|
FAQ
|
|
|
|
----
|
|
|
|
|
2013-07-04 13:01:14 +02:00
|
|
|
### How do I update my feeds with a cronjob?
|
2013-03-17 23:16:25 +01:00
|
|
|
|
2013-05-21 12:25:13 +02:00
|
|
|
You just need to be inside the directory `miniflux` and run the script `cronjob.php`.
|
|
|
|
|
|
|
|
Parameters | Type | Value
|
|
|
|
--------------------|--------------------------------|-----------------------------
|
2013-05-21 20:18:41 +02:00
|
|
|
--limit | optional | number of feeds
|
2013-05-21 12:25:13 +02:00
|
|
|
--call-interval | optional, excluded by --limit, require --update-interval | time in minutes < update interval time
|
|
|
|
--update-interval | optional, excluded by --limit, require --call-interval | time in minutes >= call interval time
|
2013-03-17 23:16:25 +01:00
|
|
|
|
2013-05-18 20:35:16 +02:00
|
|
|
|
|
|
|
Examples:
|
2013-03-17 23:16:25 +01:00
|
|
|
|
|
|
|
crontab -e
|
|
|
|
|
2013-05-21 12:25:13 +02:00
|
|
|
# Update all feeds
|
2013-03-17 23:16:25 +01:00
|
|
|
0 */4 * * * cd /path/to/miniflux && php cronjob.php >/dev/null 2>&1
|
2013-05-18 20:35:16 +02:00
|
|
|
|
2013-05-21 12:25:13 +02:00
|
|
|
# Update the 10 oldest feeds each time
|
2013-05-18 20:35:16 +02:00
|
|
|
0 */4 * * * cd /path/to/miniflux && php cronjob.php --limit=10 >/dev/null 2>&1
|
|
|
|
|
2013-05-21 12:25:13 +02:00
|
|
|
# Update all feeds in 60 minutes (updates the 8 oldest feeds each time with a total of 120 feeds).
|
|
|
|
* */4 * * * cd /path/to/miniflux && php cronjob.php --call-interval=4 --update-interval=60 >/dev/null 2>&1
|
2013-03-17 23:16:25 +01:00
|
|
|
|
2013-05-22 13:12:58 +02:00
|
|
|
Note: cronjob.php can also be called from the web; in this case specify the options as GET variables.
|
|
|
|
Example: <http://yourpersonalserver/miniflux/cronjob.php?call-interval=4&update-interval=60>
|
2013-05-21 20:38:09 +02:00
|
|
|
|
2013-07-04 13:01:14 +02:00
|
|
|
### How does Miniflux update my feeds from the user interface?
|
2013-03-17 23:16:25 +01:00
|
|
|
|
2013-07-04 13:01:14 +02:00
|
|
|
Miniflux uses an Ajax request to refresh each subscription.
|
2013-03-17 23:16:25 +01:00
|
|
|
By default, there is only 5 feeds updated in parallel.
|
|
|
|
|
2013-07-04 13:01:14 +02:00
|
|
|
### I have 600 subscriptions, can Miniflux handle that?
|
2013-03-17 23:16:25 +01:00
|
|
|
|
|
|
|
Your life is cluttered.
|
2013-03-21 01:26:28 +01:00
|
|
|
|
2013-07-04 13:02:12 +02:00
|
|
|
### Why are there no categories? Why is feature X missing?
|
2013-03-21 01:26:28 +01:00
|
|
|
|
|
|
|
Miniflux is a minimalist software. Less is more.
|
|
|
|
|
|
|
|
### I found a bug, what next?
|
|
|
|
|
2013-03-22 00:57:47 +01:00
|
|
|
Report the bug to the [issues tracker](https://github.com/fguillot/miniflux/issues) and I will fix it.
|
|
|
|
|
|
|
|
You can report feeds that doesn't works properly too.
|
|
|
|
|
|
|
|
### Which browser is compatible with Miniflux?
|
|
|
|
|
2013-07-04 13:01:14 +02:00
|
|
|
Miniflux is tested with the latest versions of Mozilla Firefox, Google Chrome and Safari.
|
2013-03-22 00:57:47 +01:00
|
|
|
|
|
|
|
I don't use Microsoft products, then I have no idea if Miniflux works correctly with Internet Explorer.
|
2013-07-06 18:11:29 +02:00
|
|
|
|
|
|
|
### How to override application variables?
|
|
|
|
|
|
|
|
There is few settings that can't be changed by the user interface.
|
|
|
|
These parameters are defined with PHP constants.
|
|
|
|
|
|
|
|
To override them, create a `config.php` file at the root of the project and change yourself the values.
|
|
|
|
|
|
|
|
By example, to override the default HTTP timeout value:
|
|
|
|
|
|
|
|
# file config.php
|
|
|
|
|
|
|
|
<?php
|
|
|
|
|
|
|
|
// My specific HTTP timeout (5 seconds)
|
|
|
|
define('HTTP_TIMEOUT', 5);
|
|
|
|
|
|
|
|
Actually, the following constants can be overrided:
|
|
|
|
|
|
|
|
- `HTTP_TIMEOUT` => default value is 10 seconds
|
|
|
|
- `APP_VERSION` => default value is master
|
|
|
|
- `DB_FILENAME` => default value is `data/db.sqlite`
|
2013-07-06 20:29:45 +02:00
|
|
|
- `DEBUG` => default is false (enable logs dump of picoFeed)
|
2013-07-17 03:58:11 +02:00
|
|
|
- `DEBUG_DIRECTORY` => default is /tmp (place to store log files)
|
|
|
|
- `THEME_DIRECTORY` => default is themes
|
|
|
|
|
|
|
|
### How to create a theme for Miniflux?
|
|
|
|
|
|
|
|
It's very easy to write a custom theme for Miniflux.
|
|
|
|
|
|
|
|
A theme is just a CSS file, images and fonts.
|
|
|
|
A theme doesn't change the behaviour of the application but only the page design.
|
|
|
|
|
|
|
|
The first step is to create a new directory structure for your theme:
|
|
|
|
|
|
|
|
mkdir -p themes/mysuperskin/{css,img,fonts}
|
|
|
|
|
|
|
|
The name of your theme should be only alphanumeric.
|
|
|
|
There is the following directories inside your theme:
|
|
|
|
|
|
|
|
- `css`: Your stylesheet, the file must be named `app.css` (required)
|
|
|
|
- `img`: Theme images (not required)
|
|
|
|
- `fonts`: Theme fonts (not required)
|
|
|
|
|
|
|
|
For a very basic theme example, have a look to the directory `examples\mytheme`.
|
|
|
|
|
|
|
|
Miniflux use responsive design, so it's better if your theme can handle mobile devices.
|
|
|
|
|
|
|
|
If you write a very cool theme for Miniflux, **send me your code to be available in the default installation!**
|
2013-07-20 03:01:55 +02:00
|
|
|
It would be awesome for everybody :)
|
|
|
|
|
|
|
|
### List of themes:
|
|
|
|
|
2013-07-20 15:10:17 +02:00
|
|
|
- Original theme By Frederic Guillot
|
|
|
|
- Midnight By Luca Marra
|
|
|
|
- Green by Maxime (aka EpocDotFr)
|
|
|
|
|
|
|
|
### Coding standards for contributors
|
|
|
|
|
|
|
|
- Line indentation: 4 spaces
|
|
|
|
- Line endings: Unix
|
2013-07-21 16:23:05 +02:00
|
|
|
- File encoding: UTF-8
|