Build a Cellular Connected Raspberry Pi Fax Machine

Twilio Cellular 4G Raspberry Pi Fax Machine

Here at Twilio, one of our core objectives is to inspire and equip you to you build new things – even just for fun. Our latest experiment along those lines? A cellular connected portable fax machine. You heard that right: a fax machine! While a fax machine probably won’t be the next hit holiday gift, we think it’s great inspiration for  your next IoT project. What you’ll need… Read More

How to receive a POST request with server side Swift using Vapor

Screen Shot 2018-05-21 at 9.41.09 PM

After displaying text on a web page, receiving a POST request is the “Hello, World” v2 of building a web app. Let’s walk through how to do that using the popular server side Swift web framework, Vapor. Swift Package Manager For this project we’re going to use Swift Package Manager to set everything up and install dependencies. Make sure you have Swift 4.0 or greater installed before moving on…. Read More

Generating Music with Sonic Pi and Ruby


Sonic Pi is an Integrated Development Environment (IDE) for writing music in Ruby. I write code with Ruby using the Sonic Pi IDE and sample myself screaming over it with Audacity under the artist name Messica Arson. The sound I create is very much inspired by the strange sounds of noise music combined with my screams I perfected while fronting a punk band. In this tutorial we’ll walk… Read More

Screen capture in Microsoft Edge


We’ve looked before at how to capture a user’s screen in Chrome and Firefox. Good news, another browser has support now, Microsoft’s Edge. Let’s see how we can capture the screen with Edge. What you need The latest version of Edge, which is currently version 42 with EdgeHTML version 17 (if you’re on a Mac like me, you can get a free virtual machine with Windows 10… Read More

How to Receive SMS Messages into Google Sheets with Apps Script and Twilio

Received_Messages_-_Google_Sheets copy

You want to receive SMS messages for business or for personal reasons, but not on your day-to-day mobile phone. Twilio has phone numbers which make it simple to receive SMS and we can easily place the messages into a Google Sheet. Getting Started Go to the Twilio Console, sign into your existing account or create a new account. Obtain a Twilio phone number or use an… Read More

How to Build Chat into Django Applications with Twilio Programmable Chat


Looking to build a realtime chat app? Building this from scratch requires thinking about lots of concerns at once. How should you model your users? What about different channels and different access levels? How about showing which users are online and when they start typing a message? There’s these questions and a lot more to answer when building a quality chat app. That’s where Twilio Programmable Chat comes… Read More

Building a chat with Twilio, lit-html, Parcel and TypeScript


When building a web application you often reach a place where you’ll have to render a similar element multiple times and as efficiently as possible. That’s when a lot of web developers start reaching out to frameworks and libraries such as React, Vue or Angular. But what if we only want to do efficient templating and don’t want the tooling & code overhead of these libraries? One… Read More

How to receive and download picture messages in Python with Twilio MMS

Screen Shot 2018-05-10 at 5.26.51 PM

Have you ever needed to programmatically download an image from an MMS message sent to your Twilio number? Well here’s all the code you need to do this using Python and Flask:

To run the above code, you’ll need to have the Twilio Python helper library installed, as well as the Flask framework. Don’t forget to replace the value of the DOWNLOAD_DIRECTORY variable with a path to… Read More

Working with Xcode Auto Layout in Swift and iOS Projects

Auto Layout in Xcode

Have you ever had trouble designing an application to look good in both landscape and portrait orientation? Do not despair! Auto Layout is here to the rescue. Originally Apple had only one screen size, which was developer friendly since they did not have to be terribly flexible fitting into different screen sizes. Fast forward to today, it has become quite frustrating to design an app that supports different… Read More