Skip to content

Instantly share code, notes, and snippets.

@benoror
Created September 28, 2010 05:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save benoror/600457 to your computer and use it in GitHub Desktop.
Save benoror/600457 to your computer and use it in GitHub Desktop.
Rails (or Node.js) Web App for syncing data folders between Google Docs and Dropbox. No desktop client needed.
- OAuth (a must!)
- Dropbox API:
+ https://www.dropbox.com/developers/releases (OAuth)
+ http://github.com/riscfuture/dropbox (OAuth)
- Google Docs GData API:
+ http://code.google.com/apis/gdata/articles/gdata_on_rails.html (OAuth)
+ http://cookingandcoding.com/2010/04/28/gdocs4ruby-access-google-docs-api-with-ruby/
- "Google Docs" folder, be able to rename it
- Choose which folders to sync (from GDocs ---to--> Dropbox), even all items
- Synchronization and tracking changes:
+ Cron both services
+ Push Notifications (Available in GDocs/Dropbox?)
- Size limit (bandwidth/storage issues)
Logic
- Track changes in GDocs, download new-files/diffs and upload to Dropbox
- Validate both files (MD5, filesize, date)
Steps
- GData API (to a server temp folder)
+ Check filesize limits
+ Downloading/Uploading new files
+ Downloading/Uploading changes logic
+ Corroborate downloaded/uploaded file checksum for integrity
- Dropbox API
+ Check filesize limits
+ Downloading/Uploading new files
+ Downloading/Uploading changes logic
+ Corroborate downloaded/uploaded file checksum for integrity
- Join Dropbox and GData functionality
- Web App functionality
+ Interface
+ User signup
+ OAuth both services
+ Activity Feed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment