Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/matsumotory/synciga


https://github.com/matsumotory/synciga

Last synced: about 2 months ago
JSON representation

Awesome Lists containing this project

README

        

# synciga

## File Syncing Tool for NAT using P2P

- __Authenticate__
Google Talk

- __Session manager__
Google Talk

- __Transfer__
P2P

## How to build

- optional

```
yum -y install nss-devel gtk2-devel alsa-lib-devel
```

- build

```
git submodule init
git submodule update
cd src
sh update_makefile.sh
make
```

## How to use
### Run server using Gmail account at home under NAT

- Login google talk server and input password for Gmail Account

```
cp -p out/Release/synciga ${HOME_DIR}/bin/.
synciga --sync-dir=./syncer/ [email protected]
```

- Getting my Full JID from login information

```
$ synciga --sync-dir=./syncer/ [email protected]
Directory: ./syncer/
Password:
Connecting... OK
Logging in... OK
Logged in... OK
Assigned FullJID [email protected]/synciga********
Input below command on client synciga

synciga --sync --remote-dir=./syncer/ [email protected] [email protected]/synciga********
```

### Run syncer client using Gmail account at any other place

- Login google talk server and input password for Gmail Account

```
cp -p out/Release/synciga ${HOME_DIR}/bin/
synciga --sync --remote-dir=./syncer/ [email protected] [email protected]/synciga********
```

or

```
synciga --sync --remote-dir=./syncer/ --sync-dir=./test_sync/ [email protected] [email protected]/synciga********
```

- create file into ${HOME_DIR}

```
echo hoge >> ./test_sync/hoge.txt
```

The file is transfered to ./syncer/hoge.txt of the server at home under NAT.

Very coool.

## License
under the MIT License:

* http://www.opensource.org/licenses/mit-license.php