VGraupera / rhosync-express

Simplified version of Rhosync written in Sinatra rather than Rails

Home Page:http://www.vdggroup.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

== Rhosync Express 
"Ask anything you want"

Rhosync Express (RE) is a simplified version of Rhosync written in Sinatra rather than Ruby on Rails. RE implements the basic functionality needed to support rhosync's ASK protocol.

== Benefits

* 50 lines of Ruby code making it easier to understand and extend
* No database is required
* Runs in less memory and with fewer resources than full rhosync rails application

== Dependencies

gem install sinatra 
gem install activesupport (required by Wikipedia adapter)

== Setup

To run Rhosync Express, from the command line type

ruby rhosync.rb

then to test navigate to

http://127.0.0.1:4567/apps/Wikipedia/sources/Wikipedia/ask?question=pizza

For best results, I recommend running under Phusion Passenger. I have included a config.ru file for that.

== Future Plans

RE currently is hardcoded to serve up the Wikipedia adapter. Included is a slightly simplified version of current wikipedia source adapter from rhosync. You can change RE to use your own adapter. In the future, I plan to provide a way to plug in your own adapter more easily and some configuration options.

Enjoy!

Vidal Graupera
http://wwww.vdggroup.com

May 2009

About

Simplified version of Rhosync written in Sinatra rather than Rails

http://www.vdggroup.com

License:GNU General Public License v3.0


Languages

Language:Ruby 100.0%