rumours
v1.12.3
Published
general purpose scuttlebutt/leveldb server.
Downloads
47
Readme
Rumours
general purpose scuttlebutt/leveldb server.
Named after my second favorite Fleetwood Mac album.
Example using defaults
Minimal HTML in static/index.html
<!DOCTYPE HTML>
<body>
A Simple Collaborative Text Editor!
<textarea id=ta cols=80 rows=24></textarea>
</body>
<script src=/bundle.js></script>
Client Side
//client.js
var Rumours = require('rumours')
var rumours = Rumours({db: 'demo-text'}) //use the defaults
rumours.open('r-edit_text', function (err, rText) {
rText.wrap(document.getElementById('ta'))
})
Ship It!
browserify client.js -o static/bundle.js --debug
rumours --static static
google-chrome http://localhost:4567
More Complex Example
see wikiwiki
Uses collaborative editing, realtime map-reduce, scuttlebucket
API
todo...
License
MIT