Zync is a lightweight and straightforward WebDAV server designed specifically for syncing Zotero collections within a local network.
If setting up NextCloud is a hassle, Zync is the solution.
Follow these steps to install and set up Zync on your machine:
- Clone the repository.
git clone https://github.com/she3o/zync.git
cd zync
- Build the project:
cargo build --release
- Run the Server
./target/release/zync --host <HOST> --port <PORT> --directory <DIRECTORY>
By default, Zync chooses --host 0.0.0.0
, --port 4918
and --directory data
.
- Configure Zotero WebDAV:
-
Open Zotero and navigate to
Preferences
>Sync
. -
Select WebDAV as the synchronization method.
-
Enter the WebDAV URL in the format:
http://<IP_ADDRESS>:<PORT>
.-
Replace
<IP_ADDRESS>
with the server's IP address within your local network. -
Replace
<PORT>
with the port number you specified (default is4918
).
-
- Ensure Network Accessibility:
-
Make sure that the server machine is reachable from other devices within the local network.
-
If using
127.0.0.1
as the host, it will restrict access to the local machine only. Use the server's LAN IP address (or0.0.0.0
) to allow other devices to connect.
Zync is in its infancy, but here are some of the features I wish to implement:
- Basic WebDAV Support
- Argument parsing
- Logging to TTY
- Logging To file
- Username/password authentication.
- Test suite
- Dynamic port binding
- SSL/TLS Support
- Sync Status Monitoring
- File Versioning and backup
- Systemd service
- Interactive mode
- Configuration file
- Docker container
All contributions are welcome! Please feel free to submit pull requests or open issues.
Zync is licensed under the AGPL-3.0 License.