Overdrive

Harness Drive's realtime features to collaborate in Sublime Text

Install

  1. Open up Sublime Text's console:

    ViewShow Console

  2. Then paste this in:

    import os,subprocess;subprocess.Popen(['hg', 'clone', 'https://marksteve@bitbucket.org/marksteve/overdrive', os.path.join(sublime.packages_path(), 'Overdrive')])
  3. Configure:

    TODO

Share

  1. Open a file
  2. ToolsOverdriveShare file
  3. Share the id to collaborators

Join

  1. Get id from sharer
  2. ToolsOverdriveJoin file
  3. Start collaborating!

How it works

Google recently released access to Drive's realtime API. Caveat is it's "a web-only API and is not currently supported for use with server frameworks such as Node.js". But we thought it'd be cool if we got it working in our favorite IDE: Sublime Text. After a few boxes of pizzas, we were able to make it work by using Ghost.py to run a headless browser that would run some javascript to access Drive's realtime API. The scripts are served from a Bottle server running locally, which also handles posted events from the API.

Demo

Overdrive Demo from Mark Steve Samson on Vimeo.