These articles contain knowledge we have picked up through developing Doorkeeper. If you're already using Doorkeeper, and would like to integrate with our API, you can check out the documenation here.

Creating an Embeddable JavaScript Widget

Overview This guide will show you how we created a light-weight JavaScript widget for people to embed on their webpages. This example uses Ruby on Rails, but it is not necessary to create the widget. Example In Doorkeeper, we let users put the following code into their website. This code will produce the widget below. Register for TRBMeetup Gui... Continue Reading →

SMTP to Web API - painlessly handle incoming email in your Rails application

Overview Processing incoming email with your Rails application (or any other web application) isn't that complicated, but there are several strategies on how to get the incoming email to your code. We've tried various approaches, and this revision is the best solution we've found so far. In a nutshell: Our self-hosted MTA, Postfix, receives... Continue Reading →

Using Twilio to Screen Nuisance Callers

When we set up a company phone number for Doorkeeper, we chose to get a number through Twilio. Being able to programatically manage phone calls appealed to me, as I thought it would allow us to start with a simple phone system, and expand it as needed. Initially, we were simply forwarding calls, but I've recently expanded it to block certain phone nu... Continue Reading →

Event tracking with Ruby on Rails

Mixpanel and KISSMetrics are both great tools to track how people interact with your site. At the core of these services is a simple Javascript API to track events: kissmetrics.push(['record', 'My Event', {'My Property':'Value'}]); mixpanel.track('My Event', {'My Property': 'Value'}); At first gl... Continue Reading →