Stations.tv

Recently I joined a project called Stations. The idea is simple, let people hang out online, let people chat and watch online videos at the same time.

The technical stack includes Rails 4, Backbone with marionette, RSpec, capybara, Haml, Sass and mongodb. We use Heroku for hosting (love those plugins) and S3 for the image server. Oh, and we used codeship (a cambridge startup) for the CI. It’s a great tool, and it’s free for under 100 builds/month. (But recently found out circle ci is free for 1 concurrent builds with 1 containers and 1 parallelism.)

The app is almost SPA except the sign in and sign up. It use devise to handle those. It use PubNub for the broadcast (not using socket.io since only 3 engineers in the team.) Basiclly, when user signed in , they will subscribe to their joined stations, 1:1 messages and his own user channel. Then if other users do something relate to real time, the PubNub will publish a message to that channel, and the UI will change based on that.

Oh, pubnub what a great tool, it save a lot of effect to make the app works realtime. I think that’s $49 a month, worth every penny.

updated station views (march 2015)

Home page

stations.tv Homepage