Synchronize Stypi documents to local storage.
Pull request Compare This branch is even with sbirch:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

stypi-sync: Synchronize Stypi documents to local storage.

stypi-sync makes it easy to synchronize Stypi documents to local storage so you can edit code collaboratively and run it locally. Right now it's very much alpha software -- certainly don't use it for anything you don't have backed up or can't afford to lose changes to. If you want to improve it, please contribute! And if you fork, please maintain the user-agent format so the folks at Stypi can block it if anything goes amok.

Quick start:

python /path/to/stypi-sync/

(or use an alias! In your ~/.bashrc: alias stypi-sync="python /path/")

This reads stypi-sync.json in your working directory to configure itself. That has a format like this:

{"files":{"sandbox.html": "","code.js": ""}}

Press enter to synchronize, kill with CTRL-C.

Note that stypi-sync is one-way only! It synchronizes from Stypi to your local storage. (It's assumed that you'll edit using Stypi right now.)

That's about it!

To Stypi:

Shut up and take my money!

If this is killing your servers, I am sorry! I tried to make it friendly. You can do any of the following things to block it:

  • Block its user agent (starts with "stypi-sync")

  • Break any of the fragile bits (they're even labelled!)