Online:
Visits:
Stories:
Profile image
By Sunlight Foundation Blog (Reporter)
Contributor profile | More stories
Story Views

Now:
Last Hour:
Last 24 Hours:
Total:

jifbox: A GIF photo booth for the Web

Monday, May 4, 2015 22:18
% of readers think this story is Fact. Add your two cents.

(Before It's News)

By The Sunlight Foundation

For many years, Sunlight has used a custom-built “photo booth” at events. People always seemed to like it, but it was a complicated set up: We’d set out an iMac that ran the UI in a browser, communicated with the web server via WebSockets, which called out to a native application that took a photo with the built-in webcam. Photo strips were assembled by the Web server and sent to the Sunlight Flickr account. What a mess!

jifbox logo

Since then, browser technologies have improved and no one cares for boring static images. We decided to replace our photo booth with something far better: jifbox, a browser-based GIF photo booth!

With the advent of media APIs, we can do all photo manipulation right in the browser. All of the photos can be taken with a bit of JavaScript. Even better, the browser lets you select the video input if you have external cameras attached. Once the photos are taken, we combine them all with a JavaScript GIF renderer. Except for the intial page load, all media capture and manipulation is done in-browser, no server required. Cool!

princess peach animated gif

Now that we have a rendered GIF, it needs to be sent somewhere. From the jifbox admin, you can use OAuth to connect a Dropbox or Tumblr account. The browser will send the GIF back to the server, which will push it out to your connected services. At Sunfright, our recent Halloween-themed open house, jifbox automatically posted all GIFs to a Sunfright GIFs Tumblr (I also sent them all to my personal Dropbox account for posterity and future blackmail).

We built jifbox to be as minimal as possible. All you need is a basic instance running on a server and a computer with a webcam and browser. Eventually we want to turn it into a hosted service so you don’t even need to run your own instance!

Give jifbox a try! Just click the button below to deploy your own instance to Heroku, for free.

Deploy

The jifbox code is open source on GitHub.

The Sunlight Foundation is a non-profit, nonpartisan organization that uses the power of the Internet to catalyze greater government openness and transparency, and provides new tools and resources for media and citizens, alike.



Source: http://sunlightfoundation.com/blog/2015/05/05/jifbox-a-gif-photo-booth-for-the-web/

Report abuse

Comments

Your Comments
Question   Razz  Sad   Evil  Exclaim  Smile  Redface  Biggrin  Surprised  Eek   Confused   Cool  LOL   Mad   Twisted  Rolleyes   Wink  Idea  Arrow  Neutral  Cry   Mr. Green

Top Stories
Recent Stories

Register

Newsletter

Email this story
Email this story

If you really want to ban this commenter, please write down the reason:

If you really want to disable all recommended stories, click on OK button. After that, you will be redirect to your options page.