Skip to content

Syncronize files efficiently using rsync implemented in node.js over http

License

Notifications You must be signed in to change notification settings

FractalBlocks/js-rsync

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

js-rsync

Rsync implemented in node over http

Why?

  • It is node.js you can run in multiple platforms, we use that for easy electron integration

Getting started

npm i --save js-rsync

Example use:

// Soon ...

Status

As new maintainer, I have done some research:

  • Implementation of https server for syncronization are incomplete
  • Rsync alghorithm is implemented

Roadmap

  • 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

Implementation

This is a fork of ttezel/anchor, thanks to Mihai Tomescu ([email protected]) and Tolga Tezel ([email protected]) 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.

About

Syncronize files efficiently using rsync implemented in node.js over http

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •