Deploying an interactive WGLMakie.jl example on the internet

I am also quite interested in getting an interactive version of a Bonito/WGLMakie scene into an html version, ideally static.

I tried the example you mention with the interactions explicitly in JS, but sadly did not manage to get it working on a static version (sliders and plots were there, but changing them didn’t update the plot). What I did was essentially adapting the other example about export in the documentation, so that the App loop was enclosed as:

Page(exportable=true, offline=true)

# App loop

show(io, MIME"text/html"(), app)  # save to static html

I’ve seen other examples making use of JSServe.record_states, but I read your reply to an earlier question that this is essentially dead.

Are there any recent examples on how to use WGLMakie and Bonito to produce some static html (even at the expense at recording all possible states)? Or if not completely static, maybe an example on how to embed it on Documenter.jl?