Metadata-Version: 2.1
Name: protosync
Version: 0.0.4.3
Summary: Sync code with a remote server in real time
Home-page: https://github.com/yl573/protosync
Author: Edward Liu
Author-email: edwardliu573@gmail.com
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown
Requires-Dist: dill (==0.2.7.1)
Requires-Dist: pyrsync2 (==0.2.6)
Requires-Dist: requests (==2.20.0)
Requires-Dist: cryptography (==2.4.2)

# Protosync

Protosync syncs code seamlessly between your local development repo and a remote server. 

No more repeated git commits or long rsync commands just to test code out on the server.


### Install
```
pip install protosync
```


### Quick Start

In your **remote** directory, open a **new terminal** and enter:
```
protosync dest
```
Protosync will then print a command like this:
```
protosync source 85736c2686be4218ba789a50e2425564
```
Run this command in your **local** source directory.

You'll see it print:
```
Code synced to remote directory
```

And that's it! 

You local code has now been synced to the remote server.  
Just enter the same command wheneve you want to sync.

**Note:** you'll need to keep the remote terminal running for the sync to work.

### Facts

* Protosync uses your ```.gitignore``` file to automatically ignore unnecessary files.
* Protosync ignores files larger than 10Mb to prevent syncing of unwanted binaries.
* Protosync uses end-to-end encryption when syncing your files. There server **cannot** decrypt your data.


