Rsync implemented in node over http
- It is node.js you can run in multiple platforms, we use that for easy electron integration
npm i --save js-rsync
Example use:
// Soon ...
As new maintainer, I have done some research:
- Implementation of https server for syncronization are incomplete
- Rsync alghorithm is implemented
- Complete the https server implementation
- Add http server implementation
- Make this library transport independent, use HTTP?, use a WebSocket / Node Socket?, Use WebRTC? well this library should expose an stream you can use over the channel you need
- Make this library FileSystem independent. You want to connect with a virtual in-memory FileSystem?, You want to have a FileSystem over indexedDB that replicates using rsync?, well js-rsync can work with it
This is a fork of ttezel/anchor, thanks to Mihai Tomescu (matomesc@gmail.com) and Tolga Tezel (tolgatezel11@gmail.com) for the initial implementation. We will maintain and improve the library because we use it in an internal project and we will share our fixes-refactors as open source code.