Created
October 31, 2010 01:00
-
-
Save natevw/655954 to your computer and use it in GitHub Desktop.
Instructions for using *a webpage* to migrate a local iPhoto library into CouchDB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
My little experiment with sticking to HTML5 to import from a local iPhoto library seems to have yielded some good results. You can try it out yourself without even touching Terminal.app: | |
Get CouchDB setup with ShutterStem: | |
1. Download and launch the "CouchDBX" application from http://www.couchone.com/get | |
2. Go to http://localhost:5984/_utils and create a database named 'photos' | |
3. Go to http://localhost:5984/_utils/replicator.html and replicate from remote database http://natevw.couchone.com/shutterstem to local database 'photos' (you can leave Continuous unchecked) | |
Now import your iPhoto photos: | |
1. Go to http://localhost:5984/photos/_design/webviewer/index.html and download the importer | |
2. Open the downloaded ShutterStem importer **in Safari** **from the local file** (Chrome, FF, etc. won't work) and follow its instructions | |
3. When it finishes, go back and refresh the webviewer (it doesn't use CouchDB's live changes feed yet, sorry!) | |
Voilà! (I hope.) | |
Now you can access your photo thumbnails and edit their metadata from any programming language that has HTTP and JSON support, or back your library up to a hosted CouchDB instance, or take it on the road by replicating to CouchDBX on a laptop... | |
WARNING: this does NOT import originals into CouchDB. Nor is the webviewer very good or very webeditor. Do not delete your iPhoto library...yet. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment