• R/O
  • HTTP
  • SSH
  • HTTPS

仓库概述

标签
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Simple RSS Reader inspired by Gxxgle Reader


Recent Commits RSS

Rev. 时间 作者 Message
569f667 2014-06-16 19:32:00 hylom working fix to use bootstrap 3.1.1 via CDN * fix format README.md
c8fc21f 2013-07-16 02:25:14 hylom master dist: add cron file
dae3564 2013-07-16 02:11:29 hylom Merge branch 'live'
2f3d81d 2013-07-16 02:11:19 hylom dist: fix spec and makefile
254c50d 2013-07-16 01:40:22 hylom client: fix timestap to date conversion
29b0f0a 2013-07-16 01:35:17 hylom update grrreader.spec
8d93e5f 2013-07-16 01:05:44 hylom remove 'forever' from package.json
f447850 2013-07-16 01:03:22 hylom dist: update spec and Makefile
f77b625 2013-07-16 00:40:02 hylom client: update package.json
3368d57 2013-07-16 00:39:00 hylom update dist/Makefile

Branches

名称 Rev. 时间 作者 Message
working 569f667 2014-06-16 19:32:00 hylom fix to use bootstrap 3.1.1 ...
master c8fc21f 2013-07-16 02:25:14 hylom dist: add cron file
live c744b61 2013-07-11 18:49:54 hylom add .spec and Makefile to m...

README.md

Grrreader

Grrreader - Gxxgle-Reader-inspired Rss READER (a.k.a. Gxxgle Reader Clone)

What is "grrreader"?

Grrreader is Web-based RSS reader application. Grrreader has Gxxgle-Reader-like AJAX based UI, independent RSS feed fetcher, and minimal feature to check RSSs are implemented.

Grrreader uses Python to fetch RSS feed, and Node.js to build HTTP Server and Web UI.

Requires

  • Python 2.7.x
  • Node.js 0.10.x
  • Some python modules: "feedparser", "dateutil.parser", "mysql.connector"
  • Some node.js modules: defined in client/package.json and "forever"
  • MySQL

How to install

  1. install Python (>2.7.x), Node.js (>0.10.x), MySQL
  2. create MySQL database and user, tables for use
  3. run npm install in client directory
  4. copy client/config.json.sample to client/config.json
  5. edit client/config.json
  6. copy backend/config.ini.sample to backend/config.ini
  7. edit backend/config.ini
  8. fix 'DEST' line to install directory for client in install.sh
  9. execute backend/feedfetcher.py to initial feed fetching
  10. add backend/feedfetcher.py to crontab
  11. start rrreader service like: # service grreader start

Create Tables

To create Tables, do below commands.

$ cd backend
$ python
Python 2.7.2 (default, Oct 11 2012, 20:14:37) 
[GCC 4.2.1 Compatible Apple Clang 4.0 (tags/Apple/clang-418.0.60)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import db
>>> db.MySQLDatabase().create_tables()
>>> ^D
$

Import Google Reader's registered feeds

$ cd backend
$ python greaderimport.py < ../subscriptions.xml  

Sample crontab

# MM HH DD MM WE CMD
*/30   *  *  *  *  cd /usr/local/share/grrreadder/backend; /usr/bin/python feedfetcher.py > /dev/null