This repository contains a P2P pseudo peer for self-hosted LiveSync, which is a Obsidian plugin for synchronising notes between devices. The pseudo peer acts as a stable node for synchronisation to keep items between devices in the P2P network, allowing users to synchronise their notes without an keep-alive client.
- Deno (v2.2.10 to checked at the time of writing).
- If you are not on Linux, following will be required:
- Clone the repository:
git clone http://github.com/vrtmrz/livesync-serverpeer.git --recursive cd livesync-serverpeer - Prepare your
.envfile:cp .env.sample .env vi .env
- Install dependencies:
deno task install # You also need to install node and npm dependencies # or deno task install-only-deno
- Run the server:
deno task dev
Note: do not use pm2. It is not compatible with Deno and will cause issues with the server.
This project is licensed under the Apache License 2.0. See the LICENSE file for details.