Skip to content

Latest commit

 

History

History
52 lines (40 loc) · 1.31 KB

File metadata and controls

52 lines (40 loc) · 1.31 KB

Obsidian AnySocket Sync Server

The self-hosted server for Obsidian AnySocket Sync

Built with: anysocket

Manual Setup

Important: Always backup your vault!

  • Download the latest release (Releases)
    • Or using git clone
      git clone git@github.com:lynxaegon/obsidian-anysocket-sync-server.git
      
  1. Rename config.example.js to config.js
  2. Update the configuration
  3. node index.js
  4. Enjoy!

Docker Setup

  • /app/data
    • the location where vault data will be on disk
  • /app/config.js
    • the location of the config required to run the server

Using the official image: lynxaegon/obsidian-anysocket-sync-server

docker run \
-v ${PWD}/config.js:/app/config.js \
-v ${PWD}/data:/app/data \
-p 3000:3000 \
--rm \
lynxaegon/obsidian-anysocket-sync-server

Building the image:

docker build -t sync-server .

docker run \
-v ${PWD}/config.js:/app/config.js \
-v ${PWD}/data:/app/data \
-p 3000:3000 \
--rm \
sync-server

License

MIT