Postlight Labs is our internal workshop where we play, experiment with tools and services we love, and build new apps. In this Labs project, Engineer Frankie Simms created a starter kit for anyone who uses Airtable and needs a simple CMS for their static, React-based website.
Static websites are quick to build and cheap to host, but they usually require technical expertise to update the content on them. Airtable is a beloved, hybrid spreadsheet/database product that offers a fantastic API. What if you could easily create a static website using content in your Airtable base, and be able to update that content without touching a line of code?
Meet Liftoff, a static site generator that does just that. If you know how to fill out a spreadsheet, you’re 90% of the way to creating your own website with Liftoff.
Liftoff makes it easy to generate your own static HTML websites that pull content from a table in your Airtable base. After some simple setup—covered in the comprehensive README—you’ll be minutes away from using your Airtable bases to build online travel diaries, food journals, blog sites, and more. After setting up the connection to Airtable, you’ll also be able to customize your site with CSS and custom React renderers to truly make it your own.
At Postlight, we’re big Airtable fans and users. Unlike traditional spreadsheets, Airtable supports a wide variety of field types, from images to checkboxes and dropdowns, and offers database features like one-to-many relationships between records. Out of the box Airtable also offers a simple, base-specific REST API, which makes it perfect for managing and accessing multimedia content the way you decide to organize it.
Sample Liftoff Sites
To show off what’s possible with Liftoff, I prepared two example sites.
The first Liftoff example is a reimagining of Postlight’s blog, Track Changes, which you can see at https://track-changes-demo.netlify.com (Airtable base, source code). This site showcases pagination, a lot of custom CSS, and Markdown support, as you can see in the body of some of the articles.
The second Liftoff example is a fake blog for pizza enthusiasts, located at https://roni-rony-rone.netlify.com (Airtable base, source code). This site highlights more custom CSS as well as custom React renderers, including one that lets you copy and paste a Google Maps embed code into your Airtable row and see it on your webpage, and another that does the same for Spotify playlist links.
Who Liftoff Is For
I created Liftoff with simplicity in mind—it’s for anyone who wants to build a CMS-powered static website quickly and easily. While it really comes alive when you add custom CSS and React components, even beginners will be able to create their own basic sites from scratch with little startup time.
For engineers who are building a simple static web site they want to hand off to a less-technical friend or client who’s comfortable updating content in Airtable, Liftoff is a fantastic starting point.