@automerge/automerge-repo-sync-server

0.2.8 • Public • Published

Automerge Repo Sync Server

A very simple automerge-repo synchronization server. It pairs with the websocket client protocol found in @automerge/automerge-repo-network-websocket.

The server is an unsecured Express app. It is partly for demonstration purposes but it's also a reasonable way to run a public sync server.

Running the sync server

npx @automerge/automerge-repo-sync-server

The server is configured with environment variables. There are two options:

  • PORT - the port to listen for websocket connections on
  • DATA_DIR - the directory to store saved documents in

Contributors

Originally written by @pvh.

Readme

Keywords

none

Package Sidebar

Install

npm i @automerge/automerge-repo-sync-server

Weekly Downloads

12

Version

0.2.8

License

MIT

Unpacked Size

5.26 kB

Total Files

8

Last publish

Collaborators

  • orionhenry
  • memorythought
  • pvh
  • martinkl