How to embed Flutter web apps in your Jekyll site

A complete tutorial

Danielle H
5 min readAug 27, 2024
Flutter web app in Jekyll site

Flutter, a cross-platform framework, allows you to write one codebase for publication as mobile, web, and desktop apps. So if you have a mobile tool, you can easily create a web tool as well (caveat: this works best for simple apps, as Flutter web takes a long time to load…).

Like all web apps, they need to be hosted, or served, somewhere. I wrote before on how to host them on GitLab Pages. There are many tutorials on how to host them on GitHub. But in my case, I wanted something a little more complex — I wanted to embed my app into a page on my own Jekyll site.

This took some trial and error, so here is the step-by-step tutorial.

Create your web app

My app is a simple multi-line text reverser that my husband asked for. He works a lot with various design apps, and they just don’t get RTL languages. They — you guessed it — reverse the text. So what he need was something to reverse the text in advance, that he could copy into his design app and would come…

--

--

Danielle H
Danielle H

Written by Danielle H

Physicist turned programmer, exploring many languages to build projects from neurobiology tools to abstract videos.