Create an SMS bot on AWS Lambda with Claudia.js

SMS chat bots and AWS Lambda go well together if you want to build a bot that can reach people all over the world without worrying about your underlying infrastructure. In just a few steps we’re going to see how easy it is to deploy a Node.js chat bot on Lambda using Claudia.js. What is Claudia.js? I’ve always liked the idea of Amazon’s Lambda service, but the first time… Read More

Make Phone Calls with Crystal and Twilio

We’ve already learned how to send SMS messages with Crystal, a new language that looks like Ruby but runs like C. Doing that required making a simple HTTP request from our Crystal application to the Twilio API. Now it’s time to dig a little deeper and see how to make phone calls with Crystal.  Making a call is going to require not only an HTTP request but also receiving… Read More

Send SMS messages like emails in Rails with Textris

The Twilio Ruby helper library makes sending SMS messages with Ruby really easy. In fact, it’s as simple as:

But in the context of a web application this just isn’t very “Rails” is it? Are we mixing views and controllers? Where’s the separation of concerns? What about localisation? If you’ve thought this, or even if you’re just interested in better ways to send SMS messages in your… Read More

It’s getting easier to get sentimental about SMS with Twilio Add-ons

Twilio Add-ons is a marketplace for 3rd party services that you can use to add superpowers to your Twilio applications. I’m a huge fan of Add-ons because they handle tasks we would otherwise need custom code for in our applications. We can also streamline existing applications by replacing our code with an Add-on. Last year I wrote about sentiment analysis of SMS messages using Twilio, Bluemix and… Read More

Real Time Rails 4: Using Server-Sent Events with Authy OneTouch

Server-Sent Events (SSE) are real-time events sent from a server and received by a browser, perfect for updating the front end when a server receives a webhook. We’re going to look at how to use SSE to implement Authy OneTouch using Rails 4. Our end result should look a bit like this: Authy OneTouch Two factor authentication usually means copying a bunch of numbers from your phone to… Read More

Getting started with Web Components building a Video Chat widget

Component based UI libraries are a popular way of building modern applications. Angular and React are the heavyweights at the moment, but the humble browser and its native APIs are never far behind. Web Components were first introduced in 2011 and are the browsers’ attempt to bring componentisation to the web platform. There are a few libraries available for writing Web Components, most notably Google’s Polymer, but also X-Tag and Bosonic. To… Read More