Git Product home page Git Product logo

focoto's Introduction

Welcome to Focoto

Let your guests tell the story, through their photos.

Many couples set out disposable cameras at their wedding receptions. Guests use these cameras to take photos throughout the evening, and all of the cameras are collected at the end of the night. They get developed, and the result is a bunch of crowd-sourced photos of the wedding reception.

With focoto, guests simply take a photo using their smartphone, and they email that photo to a certain address. The address us chosen by the couple getting married, typically something like ‘[email protected]’. A stream of the photos can be displayed at the reception in real time, and they can all be viewed and downloaded (or converted to Facebook albums) later.

It’s simple, with no app for guests to download.

Tech

The flow I’ve set up is something like this:

  • Users sign up from the home page. The Stripe gem will be used to charge a small amount for each email address.

  • Couples will tell their guests (with a placecard or something) to email photos to ‘[email protected]’.

  • Google Apps hosts email for focoto, and a catch-all address receives all email. The catch-all account forwards to an ‘incoming’ address from Postmark (postmarkapp.com).

  • The Postmark service converts the email into a JSON representation, and POSTs it to a callback url, hosted by focoto.

  • IncomingController.rb handles the POST. The first attached photo is converted into a type that the Paperclip gem can use, and Paperclip is configured to store the image (after rotating and resizing) into an S3 bucket. Some metadata about the image (like what email it belongs to) is stored in the local database.

  • The focoto.com/boards/somename (which is just BoardsController > Show) polls for new images every 4 seconds.

  • New images are added to a Backbone.js collection when they come in. A Backbone view renders them into a Pinterest-style layout (see slideshow.js.coffee).

focoto's People

Contributors

mikecomstock avatar mikepmunroe avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.