Offline-First with Node.js and Hoodie: A Practical Introduction to Progressive Web Apps

Keyboard, Mouse, and Coffee

Progressive Web Apps (or PWAs for short) aim to deliver a better and engaging user experience by applying progressive enhancements using modern web standards and best practices. These include among others service workers, push APIs, background sync and serving your page over HTTPS. If the app is loaded in browsers that doesn’t support a web standard, it should work just like a normal website. In modern browsers, however, the experience should be improved… Read More

Introducing Twilio Flex: A Fully Programmable Contact Center Platform

Introducing Twilio Flex

At Twilio we often say, “We can’t wait to see what you build.” That’s because the communications building blocks we provide are only as powerful and innovative as the applications that developers create with them. It’s these builders who have shown us just how far our APIs can be taken, from 3D mapping with AR and IoT potty training, to a life-saving text line and data-driven debt relief. But… Read More

Build an SMS-Driven Bot with Node.js

Lady with nail polish sending a text message

At the end of October a friend and I attended a hackathon at our university. It was there that we decided to build TextEverything, a plugin-driven SMS-based bot written using Node.js. We quickly realised the potential of TextEverything and we think it’s a really easy way to quickly build functional SMS bots. In this post you will learn how to write plugins for TextEverything to build… Read More

How to detect if a Chrome extension is installed

In other posts we have investigated how to capture screen output in Chrome and built a screen sharing video chat application. There was one feature missing though. The Chrome extension made screen capture possible, but didn’t test whether it  had been installed before the application tried to use it. In this post we are going to build a Chrome extension that can be detected from the front… Read More

Creating and Publishing Web Components with Stencil

decorative header image

Web Components is a technology I’ve been excited about for years. The idea is that you can create your own UI components that are supported in the browser regardless of which framework you are using (or none at all for that matter). However, there wasn’t much traction around them until recently. The web components APIs are pretty low level by themselves but projects like Polymer are trying to… Read More

Add screen sharing to your Twilio Video application

In recent posts we’ve seen how to capture a user’s screen in Chrome and Firefox. Now it’s time to combine this with a real video chat application and share screens as part of a video chat. What we’re building In this post we’ll take the Twilio Video quickstart application and add screen sharing to it. When we are done your application will let you make calls between browsers… Read More

Going surfing – Protect your Node.js app from Cross-Site Request Forgery

One classic attack when working with web applications is Cross Site Request Forgery aka CSRF/XSRF (read C-Surf). They are used by attackers to perform requests on behalf of users in your application without them noticing. Let’s look at how they can pull this off and how we can protect our applications from these type of threat. Let’s talk theory Before we can prevent CSRF attacks we need to… Read More