What is this?
There are three parts to this app:
- a server that delivers the app to the browser and does nothing else,
The storage itself is brought by the user. Currently the user also needs to setup the STMP bridge theirselves.
Setup (assuming you have a working ruby and rubygems installation):
gem install bundler bundle
By default it listens on localhost:9292, use “-p 80” to run on default HTTP port. You may need root privileges to do that.
All the boring stuff (router, basic views, …) is within src/framework.
A remoteStorage messages module is drafted in src/remoteStorage-messages.js.
src/models/message.js contains glue code between app and messages module.
To figure out the rest, run the app and browse the code.
Bridge to SMTP
See my Haraka fork, it contains a plugin called “queue/remotestorage.js”. Alter config/remotestorage.ini to add your remotestorage credentials. The default configuration should work with the remotestorage example server.
Not sure yet.