Socket
Book a DemoInstallSign in
Socket

@automerge/automerge-repo-sync-server

Package Overview
Dependencies
Maintainers
4
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@automerge/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`.

latest
npmnpm
Version
0.2.8
Version published
Weekly downloads
24
-82.61%
Maintainers
4
Weekly downloads
 
Created
Source

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.

FAQs

Package last updated on 03 Jul 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts