Livebook is sponsoring SpawnFest again
We’re happy to announce that we’re sponsoring Spawnfest for the second time!
SpawnFest is an annual 48-hour online software development contest in which teams worldwide get one weekend to create the best BEAM-based applications they can.
We are collaborating with them again to create a bracket of the event dedicated to Livebook projects. Last year, most of the entries involved Kino and Smart Cells, but this year we are changing things up. Our Spawnfest bracket this year will focus on Livebook Apps.
Livebook Apps is a feature we launched earlier this year that enables you to turn your notebook into an interactive web application.
What you can build with Livebook Apps
Since Livebook is a general-purpose tool, there aren’t many constraints on what you can build with Livebook Apps. So, it’s up to your imagination. But here are some examples to give you some inspiration.
A multi-user real-time app
Livebook comes with real-time collaboration out of the box. You can use that power in your Livebook apps as well.
Here’s a video showing how to build a chat app.
A machine learning app
Livebook integrates with Hugging Face to bring you pre-trained models and helps you to use them with just a few clicks.
Here’s a video showing how to build an app that uses the Whisper machine learning model to transcribe audio messages in a chat.
A data visualization app
Livebook integrates with Vegalite and Maplibre to make it super easy to build lots of different kinds of data visualization.
Here’s an example of an app that plots a chart with the number of stars a Github project got over time.
This app is deployed, so you can try it live. And here is the source code.
A workflow automation app
One month ago, we expanded Livebook Apps with a feature called Multi-Session Livebook Apps. We believe that this new feature is excellent for the automation of technical and business workflows.
You can think of it as a way to transform a script into a UI and share that with others by just sharing an URL.
Here’s a video showing how to build an app that gets data from Github’s API, generates a report, and sends it to a Slack channel.
How to deploy a Livebook App
Livebook Apps run inside a Livebook instance. So, you can run them in any Livebook installation, be it in the localhost or the cloud.
One of the easiest ways to install Livebook in the cloud is using Docker. Let’s see two examples of deploying a Livebook App this way.
How to deploy a Livebook App to Fly.io
First, make sure you have Fly’s command-line installed on your machine.
Now, clone the following template repo:
git clone https://github.com/hugobarauna/livebook-apps-on-fly-template.git my-livebook-apps
Add a file with the source code of your Liveobok App to the public-apps/
directory of your repository.
Then, follow Fly’s instructions to Deploy via Dockerfile.
After that, Livebook and your Livebook App will be running inside Fly.
Here’s a video showing how that works.
How to deploy a Livebook App to Hugging Face
To deploy a Livebook App to Hugging Face, we’ll use Hugging Face Docker Spaces.
First, install Livebook on Hugging Face by following these instructions.
Second, add a file with the source code of your Liveobok App to the public-apps/
directory of your Space and make a commit.
After that, Hugging Face will rebuild your Space, and your Livebook app will be deployed.
Here’s a video showing how that works.
How to participate in Spawnfest
Participation in SpawnFest is 100% free of charge. To register, go to their website and follow the instructions.
We’re looking forward to seeing what you will build with Livebook Apps!