Skip to content

dominictarr/rumours

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Intergration of scuttlebutt family.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published