HerbCaudill / todomvc-automerge

Demo showing how Automerge can be used to create a local-first todo list.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Automerge TodoMVC demo

This is an example of how Automerge might be used to create a local-first todo list, where multiple users can view and edit the list collaboratively without a traditional web server.

Screencast showing two browsers side-by-side with a todo list on each side. As changes are made in one browser, they are reflected in the other.

Peer-to-peer syncing using Automerge

Automerge logo

Automerge is a CRDT that allows a JSON object to be modified concurrently by different users, and merged again automatically.

Networking via a relay server

@localfirst/relay logo

For discovery and networking, this demo uses @localfirst/relay, which is a tiny service that helps applications connect with peers on other devices.

You can deploy one or more relays at little or no cost using cloud services including Glitch, Heroku, AWS, Google, Azure, or to a local server.

About

Demo showing how Automerge can be used to create a local-first todo list.


Languages

Language:TypeScript 96.1%Language:HTML 2.9%Language:JavaScript 1.0%