Photoroid

Photoroid is a web application that allows you to easily exchange pictures with your friends and create web photo albums. It is written in Ruby On Rails (v3.0.3). Default configuration uses SQLite3 storage, but this setting can easily be changed to MySQL or PostgreSQL.

Features

Whenever you go to a party or on a trip with friends, everybody ends up with a couple hundred pictures each. Photoroid was developed to help you send your pictures to all your friends and help them to send theirs back to you as well. With Photoroid, this is what you would do to exchange pictures:

  1. Create an album
  2. Upload your pictures to this album
  3. Send the album private link to your friends
  4. Friends uploads their pictures to the album
  5. Anyone can download a zip file containing all pictures, sorted by author

This is what I had in mind when I discovered Yogile. In fact, Yogile is a web service that does precisely this, so I was astounded when I first saw it. These guys had read in my mind and gotten it right the first time! However, their picture albums are limited to 100 Mb, and I still much prefer to remain in possession of my own pictures. So I re-developed everything (except it’s much more ugly, I know).

Photoroid screenshot

Install

How do you install this beast?

git clone http://minutebutterfly.de/code/photoroid photoroid
cd photoroid
bundle install --path vendor/cache
rake db:migrate
rails server

Open your favorite web browser and head to http://0.0.0.0:3000

You might want to limit album creation to certain users. To do so, edit the app/models/user.rb file and add the authorized email addresses to the whitelist. Not very intuitive, but it works.

Open Source

I am mightily open to contributions! This code is copyrighted under the terms of the Apache License, v2.0 and I would be glad to add your name to the list of contributors. In particular, I am looking forward to comments on my Rails code and contributions from web designer to improve the CSS and the general layout of the application.

Photoroid is not a finished application yet, but I decided to release it because 1) It works 2) It would greatly benefit from exterior comments.

Known bugs/limitations

  • Zip file archives are never deleted.
  • Zip file archives are re-created every time a user clicks on “Download album”.
  • Password reset links do not expire.

2 Comments

  • 1
    February 9, 2012 - 9:36 pm | Permalink

    Fabulous blog! How can I share it on Facebook?

  • Leave a Reply

    Your email address will not be published. Required fields are marked *

    *

    You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>