Meet Sulfur — a Media Manager App Built in JavaScript

Since Automattic is a distributed company and a lot of us work from home, we hold meetups to get face-to-face interaction. The whole company meets up once a year and individual teams get together more often. One component of those meetups is a “meetup project” that we all work on together.

The team I lead — “Team I/O*” — just finished a lovely week in Reykjavik, Iceland. Our team is responsible for partnerships and our APIs.

We spent the first day releasing better JavaScript support for our APIs. After that we decided to make an example app, mainly focusing on the new CORS support and implicit OAuth system.

We decided to build a media manager purely in the browser. We picked a codename and Sulfur was born.

Screen Shot 2014-05-20 at 5.18.13 PM

Sulfur is an app built using Backbone, Underscore.js, Plupload, jQuery, MomentJS, Bootstrap, RequireJS, and the WordPress.com JSON REST API.

It shows how you can use Implicit OAuth to do authentication without a server component. It also provides examples for using the API with Backbone and third party libraries like plupload for uploading media.

Sulfur allows you to upload images, view your entire media library contents, view meta data, and delete images. All the code is open source. Check out Sulfur on GitHub.

We learned a lot while building the app and hope to use that knowledge to improve our APIs both for internal and external use.

Screen Shot 2014-05-20 at 9.11.02 PM

Let us know what you think in the comments!

*Named after one of the moons of Jupiter and our love of APIs (input/output)


Comments

6 responses to “Meet Sulfur — a Media Manager App Built in JavaScript”

  1. Reblogged this on Joey Kudish and commented:

    At Automattic, we have regular meetups, where we get together and get to know each other better, work on a project, and do some fun activities. My team and I just spent an incredible week in Iceland. It was not only very fun to discover this beautiful country, but we actually successfully planned, built and launched a project. Check it out!

    Oh and if you think that’s pretty cool, we’re hiring.

  2. Reblogged this on Ryan Boren and commented:

    I love these specialty flow apps being built on the WordPress.com JSON REST API. An API is in the works for core WordPress. I’ve been cajoling people to build a “Hello Gallery”[1] webapp on both APIs that multi-select uploads straight into a gallery post with an optional title. That’s it. Anyone?

    Like Hello Dolly, this is not just a WP webapp, it symbolizes the hope and enthusiasm of an entire generation . 😉

    1. Amen to that, Ryan. I’ve been looking for a good quick-and-dirty mobile app to upload photos and build WP galleries quickly.

  3. Thanks for this great app which inspires me to write GiphyStock, https://github.com/gedex/GiphyStock.