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

Shell functions, git shortcuts and other magical scripts I use with the Twilio API

I love Harry Potter, and part of the reason I love the wizarding world so much is that those people know how to use shortcuts! I often look at the habitual tasks of my daily life and wish I had a magical umbrella that could clean up my messes and fold my clothes. But while I still longingly hope for real-world shortcuts, I at least have… Read More

Getting started with the Star Wars API in Node.js using Twilio Functions

Star Wars: The Last Jedi comes out tonight and I am massively excited to see it. However, some of my other friends who are seeing the movie aren’t as familiar with the Star Wars universe as I am. Let’s use the amazing Star Wars API to build a Twilio powered SMS hack to help fix that. We are going to use Twilio Functions to avoid having to go through… Read More

The ultimate guide to sending bulk SMS with Twilio and Node.js

Sending a single SMS with Twilio is a relatively straightforward affair, but what if you had to send 10 messages? Or 10,000? Imagine you’re an ice cream seller. You want to improve business by sending SMS alerts when you’re in your van so that your customers will know you’re on your way to deliver some sweet refreshment. Look, I know what you’re thinking: “It’s December, hardly… Read More

Automated SMS Notifications with AWS Lambda, JavaScript and Twilio SMS

AWS Lambda logo

In this tutorial we will create a small serverless application that will allow us to receive the latest currency exchange rate from GBP to EUR in our phone through SMS. This experiment will give you some time to learn AWS Lambda, Twilio SMS API and Fixer.io API (an open API for currency exchanges). We will use JavaScript with Node.js as our language and framework of choice. I don’t… Read More

Lee Martin Gets You To Focus On One Thing Using ThreeJS, HTML and Your Own Face

Maybe you’re more likely to focus on one thing if that thing is your own face. That’s the general philosophy behind Lee Martin’s latest work. He’s battling against our insatiable appetite for internet distraction in hopes that you’ll focus on music, and just music, for a few moments. Lee built out a website for 14-time Grammy Award Winner, Dan Tyminski’s new album, Southern Gothic, that mirrors… Read More

Putting the helmet on – Securing your Express app

Express is a great way to build a web server using Node.js. It’s easy to get started with and allows you to configure and extend it easily thanks to its concept of middleware. While there are a variety of frameworks to create web applications in Node.js, my first choice is always Express. However, out of the box Express doesn’t adhere to all security best practices. Let’s look at… Read More