Nav apraksta

Yurii Sokolovskyi 397e5ce09f Readme.md added 2 mēneši atpakaļ
src cf6dd8a8cf comments added 3 mēneši atpakaļ
.gitignore 7309512ed4 Initial commit 3 mēneši atpakaļ
Cargo.lock 7309512ed4 Initial commit 3 mēneši atpakaļ
Cargo.toml 7309512ed4 Initial commit 3 mēneši atpakaļ
Readme.md 397e5ce09f Readme.md added 2 mēneši atpakaļ

Readme.md

Directory sync using Iroh

Installation

Clone the project:

git clone https://git.42d.io/yurii/Iroh_sync

Install dependencies:

cd crabmail && cargo install --path .

Build and run(it will connect to the existing ticket):

cargo run --release {path to sync} {ticket}

Build and run(it will create a new ticket and print it):

cargo run --release {path to sync}


After running, the program starts monitoring every change in the specified directory and syncs it with other peers. Moreover, it creates .iroh-data folder and persists all the changes locally as well as remotely.

Note

There are some improvements marked with //TODO in the code. Additionally, the ticket might be stored in the database used for the login system.