• R/O
  • HTTP
  • SSH
  • HTTPS

仓库概述

标签
No Tags

Frequently used words (click to add to your profile)

javaandroidc++linuxc#objective-ccocoa誰得qtrubypythonbathyscaphephpgamewindowsguic翻訳omegattwitterframeworktestbtronarduinovb.net計画中(planning stage)directxpreviewerゲームエンジンdom

Simple RSS Reader inspired by Gxxgle Reader


Recent Commits RSS

Rev. 时间 作者 Message
ea2232b 2015-06-17 17:10:06 hylom master fix crash when invalid url inputed
588b86e 2015-06-15 16:14:36 hylom fix: use font-awesome external link icon
2c4d361 2015-06-15 16:08:55 hylom add font-awesome 4.3.0
e927106 2014-08-06 01:27:03 hylom add pager above article list
d0b84c7 2014-08-06 00:59:45 hylom Merge branch 'master' into HEAD
03c470e 2014-08-06 00:57:42 hylom Merge branch 'release'
2c7e646 2014-08-06 00:57:27 hylom fix: change ul element's class in sources list (left pane)
191d8be 2014-08-05 00:19:55 hylom Merge pull request #1 from hiromichim/pullreq-20140803 n...
83c8932 2014-08-04 16:36:30 hylom temporary fix: show content link
6c57527 2014-08-03 00:38:05 hylom fix: install path in install.sh

Branches

名称 Rev. 时间 作者 Message
master ea2232b 2015-06-17 17:10:06 hylom fix crash when invalid url ...

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