Announcing Genie Builder, a no-code plugin to quickly build web GUIs & dashboards

Thanks - yes, I agree, current demos are too complex. We’ll prepare some small nuggets and recipes to implement useful individual features.


Hi @everyone! Today I’m excited to announce Genie Builder v0.2, a major update of our VSCode plugin to help you build Julia apps more quickly and productively.

What’s new?

:white_check_mark: We’ve integrated the new Genie Framework API, which lets you create apps with less backend code

:white_check_mark: The no-code UI editor is more powerful and polished featuring automatic loading of binding variables and other improvements.

:white_check_mark: The app template is more streamlined, making the app building process more intuitive.

:eyes: Read more in our release post: Genie Builder v0.2: speed up your Julia app development

To install this new version, download or update Genie Builder via VSCode: Genie Builder - Visual Studio Marketplace


Amazing work as usual @essenciary :clap: Thank you for the awesome user experience.


Thank you @juliohm ! Very happy to say that it’s a team effort – I’m lucky to be working with great colleagues at Genie (and we’re hiring!) :slight_smile:


Great work!

I think no-code editor not recognize upload forms like this:

<%     uploader(label="Upload Dataset", :autoupload, :multiple, accept=".csv", method="POST", url="http://localhost:9101", fieldname="csv_file")     %>

It should… All no-code gets converted into low-code API calls. What error are you getting?

When I put in builder (to app.jl.htm), I get the result bellow. On site it look fine.

Yes, that’s to be expected. The code between <% %> is run on the server and the no-code editor does not know how to handle it. You can put it inside a div to have it constrained to a container. Once we’ll have a proper no-code uploader component we’ll use that and it will look nice.

1 Like

Hey @essenciary, This is awesome, thanks for posting it!

I was wondering if you know if it’s possible to host a Genie server in a HuggingFace space?

HuggingFace for those who don’t know is a way to freely host in-browser demos of ML models – the popular example being stable diffusion: runwayml/stable-diffusion-v1-5 · Hugging Face. It’s nice because it lets you hosting arbitrary interactive code with a complex environment and backend, so people can try out your model in-browser without you needing to host the server yourself.

Now, the unfortunate thing is that their spaces API is largely Python: Spaces. I’ve tried to set up a Julia demo in the past on it: PySR - a Hugging Face Space by MilesCranmer (a live demo of PySR - the PyJulia frontend of SymbolicRegression.jl), but it was super hacky and only worked sometimes. I basically wrote a thin Gradio frontend which would execute system commands to install Julia command and then the packages I need. However, the current demo started segfaulting so I just gave up.

However, seeing how mature Genie.jl is makes me wonder whether it’s possible to run a Julia server directly within HuggingFace’s stack, rather than try to interface through PyJulia. Most people don’t know how to host a server themselves, but can put together a script and push it to a git repo - which is pretty much all you need to define a HuggingFace space.

They do have docs on hosting custom HTML here: Static HTML Spaces as well as custom Python: Custom Python Spaces. One could probably run a full Julia runtime behind the scenes, given they let you use large PyTorch transformers. Maybe worth a shot? HuggingFace is such a valuable resource in ML (and non-ML demos too) that it would be awesome if there was a way to host Julia code on it - maybe Genie makes this possible!


1 Like

@MilesCranmer Excellent idea, thanks for sharing! Don’t have an answer right now but I’ve added it to our todo list to investigate :slight_smile:

1 Like


Try to understand how to link file upload and ReactiveModel and can’t found docs about @handlers macro (0 docs found). It is very difficult to search solution in examples… :slight_smile: For my case, I have upload route

route("/", method = POST) do
  files = Genie.Requests.filespayload()
  if length(files) == 0
      @info "No file uploaded"
  return "Upload finished"

Than I want to make something with this files inside model:

module App
  using GenieFramework
  using CSV, DataFrames
  export AppModel
  @reactive mutable struct AppModel <: ReactiveModel
 # do something with files, parse them, and put in model.df... 
  @handlers begin
    @out message = "Hello World!"
    @onchange isready begin
      @show "App is loaded"
  @page("/", "app.jl.html")

how to link them without make file on disk…

When I use part from example:

route("/", method = POST) do
    model = AppModel |> init |> handlers
    # Somecode...

I have:

┌ Error: 2022-11-28 21:15:03 UndefVarError: __model__ not defined

I’ll write a snippet and share.

1 Like

I revamped the event handler that @wildart added to include event info.
With this we can easily build a file upload:

using Stipple, StippleUI, Stipple.ReactiveTools
using CSV, DataFrames

const UPLOAD = "upload"

write(joinpath(pwd(), "test.csv"), "a,b\n1,2\n10,11")

# do something with files, parse them, and put in model.df... 
@handlers begin
    @out message = ""
    @private df = DataFrame()
    @out table = DataTable()
    @onchange isready begin
        @show "App is loaded"
    @onchange df table = DataTable(df)

@event :uploaded begin
    for f in event["files"]
        f["__status"] == "uploaded" || continue
        filepath = joinpath(pwd(), UPLOAD, f["fname"])
        message *= f["fname"] * ":<br>first line: " * readline(filepath) * "<br><br><br>"
        if endswith(filepath, r"csv"i)
            df =, DataFrame)

@event :clear begin                                                                                                                                                 
    model.message[] = ""                                                                                                                                              

function ui()
        uploader("Upload files", url = "/upload" , autoupload = true, :multiple,
            @on(:uploaded, :uploaded, "for (let f in event.files) { event.files[f].fname = event.files[f].name }")

        card(class = "q-mt-lg q-pa-md text-white",
            style = "background: radial-gradient(circle, #35a2ff 0%, #014a88 100%); width: 30%",
                cardsection(Stipple.Html.div(class = "text-h5 text-white", "Upload logs"))
                cardsection(span(v__html = :message))

        btn(class = "q-mt-lg", "Clear Log", color = "primary", @on(:click, :clear))

        table(class = "q-mt-lg", :table)
    ] |> join

@page("/", ui)

route("/upload", method = POST) do
    files = Genie.Requests.filespayload()
    upload_dir = joinpath(pwd(), UPLOAD)

    for f in files
        filepath = joinpath(upload_dir, f[2].name)
        write(filepath, f[2].data)
        @info "Uploading: " * f[2].name
        # if no model context is necessary, the data can be loaded here
        if endswith(filepath, r"csv"i)
            df =, DataFrame)
            @info df

    if length(files) == 0
        @info "No file uploaded"



It’s also up on StippleDemos.
Note that you have to use the Stipple#master until we release the next version…

EDIT: Latest change supports field usage without preceeding model. and succeeding []. Manual addressing of the model now needs to be preceeded by __model__, e.g.
__model__.message[!] = "Shush!"
for silent, i.e. non-notifying, updates of a field. This is analogous to the usage of @onchange

I just built a quick demo to run a Genie webapp in Huggingface Spaces demo using Docker spaces! Genie.jl on HuggingFace Demo - a Hugging Face Space by nooji

I’m currently working with the team to figure out how to leverage gpu docker images as well, so we can host demos that can leverage GPUs. I think they just need to enable this on the infra-side when building and running the images.


Awesome! I’m excited to see where this goes :slight_smile:

Hi everybody! Super exciting and important update! :mega:

We’ve released the private beta version of Genie Cloud, the no-code platform to quickly build and deploy Genie web apps. :tada:

For more details check out the announcement thread here: Announcing Genie Cloud (Private Beta), the no-code platform to quickly build and deploy Genie apps

:white_check_mark: Learn more and register for a free account here:

:video_camera: Watch a demo video: Genie Cloud Demo - YouTube


Hey everyone! :rocket: We’ve released Genie Builder v0.3, an improved version of our no-code UI builder. :star2: Key updates include:

:one: Side-by-side app preview for seamless development
:two: Quick app export via download button
:three: Enhanced tooltips to better understand component properties

GB v0.3

:point_right:You can download or upgrade Genie Builder via VSCode to run it locally:Genie Builder - Visual Studio Marketplace

:point_right: OR Sign up for a free Genie Cloud account for a managed version with one-click deploys:


Hi there @essenciary
congrats on this launch and we know you will be successful especially as we watched one of the best pitch videos we have seen. informative and provocative.
well done all.


I haven’t been able to install GenieBuilder. I get the following error:
I get the following error:

Pkg.add(url = “GitHub - GenieFramework/GenieBuilder.jl”)
Cloning git-repo
Updating git-repo
Resolving package versions…
ERROR: Unsatisfiable requirements detected for package Temporal [a110ec8f]:
Temporal [a110ec8f] log:
├─possible versions are: 0.5.0-0.8.1 or uninstalled
├─restricted by compatibility requirements with HTTP [cd3eb016] to versions: uninstalled
│ └─HTTP [cd3eb016] log:
│ ├─possible versions are: 0.6.10-1.10.0 or uninstalled
│ └─restricted to versions 1 by GenieBuilder [c9453c14], leaving only versions: 1.0.0-1.10.0
│ └─GenieBuilder [c9453c14] log:
│ ├─possible versions are: 0.15.12 or uninstalled
│ └─GenieBuilder [c9453c14] is fixed to version 0.15.12

I have uninstalled Temporal but I still get the same error. What is going on?

I have also posted it as a separate thread but haven’t received any response. Hence posting here.
GenieBuilder unable to install package - General Usage / Performance - Julia Programming Language (

The issue is being duscissed at the original seperate thread.