Metadata-Version: 2.1
Name: protosync
Version: 0.0.4.5
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)
Requires-Dist: gitignore-parser (==0.0.3)

# 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 m0X1a-km0C6mCzWkl56xO0-hUQvYrhL0q5I5lK5qZgU=
```
Run this command in your **local** source directory.

And that's it! 

You local code will now be synced to the remote server.  
Just enter the same command whenever you want to sync again.

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

### Facts

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


