GithubHelp home page GithubHelp logo

vigzmv / ipfs-crdt-shared-editing Goto Github PK

View Code? Open in Web Editor NEW
43.0 5.0 4.0 811 KB

Decentralized Real-Time Collaborative Documents - Conflict-free editing in the browser using js-IPFS and CRDTs.

Home Page: https://vigzmv.github.io/IPFS-CRDT-shared-editing/

License: MIT License

JavaScript 100.00%
ipfs crdt decentralized js-ipfs interplanetary

ipfs-crdt-shared-editing's Introduction

IPFS CRDT Shared Editing

"Decentralized Real-Time Collaborative Documents - Conflict-free editing in the browser using js-IPFS and CRDTs"

An distributed application that allows for several users to edit the same document at the same time, something similar to Google Docs, but without any coordinating server.

Check it out Live Here, Open it on few tabs or devices and start typing...

IPFS

IPFS stands for Interplanetary File System, and is much more than a file system. It’s an entire network stack for the decentralised and peer-to-peer web, allowing you to build truly serverless web applications.

More about IPFS here ipfs.io.

CRDT

Conflict-Free Replicated Data Types provides a conflict-free manner of replicating data across multiple nodes without ever having to elect a leader or use another type of centralized authority to reach consensus.

The project uses js-ipfs, which is a Javascript implementation of IPFS that works in Node.js and in a modern browser.

The Project

A text editor that requires no server but yet, allows several users to edit it in a collaborative fashion. We can call it “google docs without google for plain text”.

Project Live Here.

Set up

Pre-requisites

  • Have Node.js version 6 or greater installed

Install

$ git clone https://github.com/vigzmv/IPFS-CRDT-shared-editing.git
$ cd IPFS-CRDT-shared-editing
$ yarn install

Build

$ yarn build

Run

$ yarn start

Open in browser

Using a modern browser that supports WebRTC, like a recent version of Chrome or Firefox, open several windows of http://localhost:1234 and start typing!!

License

MIT

ipfs-crdt-shared-editing's People

Contributors

vigzmv avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

ipfs-crdt-shared-editing's Issues

Tab crashes in firefox nightly

I was trying the demo site, and after a few minutes, the browser tab crashed:

screenshot from 2017-11-15 09-07-23

I'm testing this on ubuntu 17.10, with firefox nightly 58.0a1 (2017-11-05) (64-bit)

Synchronization is not working

I opened the demo site on two windows, but they don't seem to synchronize.

screenshot from 2017-11-15 09-04-57

I'm testing this on ubuntu 17.10, with firefox nightly 58.0a1 (2017-11-05) (64-bit)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.