A simple Python news aggregator.
- articles are stored in a MongoDB database;
- fast full-text indexing and searching thanks the Whoosh library;
- feeds batch import with OPML files;
- export all your feeds to OPML;
- e-mail notification;
- export articles to HTML;
- favorite articles;
- share articles with Google +, Pinboard and reddit.
Some screen shots of pyAggr3g470r.
You need to have installed Python >= 2.7, MongoDB and some Python libraries. Configuration is done via the file conf/conf.cfg.
Launch the script
install.sh in order to install automatically all requirements.
In order to prevent all dependencies problems and to keep your system stable, the libraries will be installed in a Python virtual environment (with virtualenv). The installation will use the configuration file for the database setup.
Then point your browser to the address http://127.0.0.1:5000/ and login with the email address firstname.lastname@example.org and the password secret. You can update your profile at the address http://127.0.0.1:5000/profile/.
As already said, you can configure pyAggr3g470r (database name, proxy, user agent, etc.) in the file conf/conf.cfg.
For example if you want to use pyAggr3g470r with Tor/Privoxy, you just have to set the value of http_proxy (most of the time:
http_proxy = 127.0.0.1:8118). Else leave the value blank.
However, the default configuration should be good, so you really just have to run the script install.sh.
You can fetch new articles with cron and the script fetch.py.
For example if you want to check for updates every 30 minutes, add this line to your cron rules (
*/30 * * * * cd ~/.pyaggr3g470r/ ; python fetch.py email@example.com
You must give the email address you use to login to pyAggr3g470r.
If you want to backup your database:
$ su $ /etc/init.d/mongodb stop $ cp /var/lib/mongodb/pyaggr3g470r.* ~
If you wish and if you like pyAggr3g470r, you can donate via bitcoin 1GVmhR9fbBeEh7rP1qNq76jWArDdDQ3otZ. Thank you!