Browse your computer hard drive for photos that are not yet on your Flickr account.
Ruby JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
public
upload
views
.gitignore
.ruby-gemset
.ruby-version
Gemfile
Gemfile.lock
README.md
app.rb
config.rb.example

README.md

Flickr Upload Set

This is a simple Ruby application that lets you browse your computer hard drive for photos that are not yet uploaded to your Flickr account.

This application is built as a web app, but it is not meant to be deployed on a web server.

Upload Set

Screenshot

How It Works

We look for photos in the selected folder, then make API calls to Flickr to search for photos with the same names under your user account.

This only works if don't change your photo titles once uploaded to Flickr, i.e. your photos on Flickr have titles like "img_1234" etc.

To get around the case where you're camera has looped around and started reusing old numbers, we also check the EXIF information to ensure the date is similar.

Setup

  1. Install ImageMagick. On OS X: brew install ImageMagick. On Ubuntu: sudo apt-get install imagemagick
  2. Install Ruby 1.9.3
  3. gem install bundler
  4. bundle install
  5. Create a Flickr APP and copy the API key and secret. Set the app's callback URL to http://localhost:4567/auth-complete
  6. Get your Flickr User ID
  7. cp config.rb{.example,} && vim config.rb Paste in the API key and secret from step 5. Paste in your User ID from step 6.

To run the app:

ruby app.rb

Then load the app in your browser: http://localhost:4567

TODO

Currently the app only shows you which photos aren't yet on Flickr. In the near future, I hope to add the ability to upload straight from the app to your Flickr account.

Feedback

If you found a bug, please create an issue. Pull requests are welcome.

timmorgan.org · github.com/seven1m · twitter.com/seven1m · coderwall.com/seven1m

License

Copyright (c) Tim Morgan

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.