# Deploying an interactive WGLMakie.jl example on the internet

**URL:** <https://discourse.julialang.org/t/deploying-an-interactive-wglmakie-jl-example-on-the-internet/130313>\
**Category:** Visualization\
**Tags:** package, wglmakie\
**Created:** [June 29, 2025, 7:22pm UTC](https://discourse.julialang.org/t/deploying-an-interactive-wglmakie-jl-example-on-the-internet/130313 "2025-06-29T19:22:32Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![snowgum](https://avatars.discourse-cdn.com/v4/letter/s/ecc23a/32.png) [@snowgum](https://discourse.julialang.org/u/snowgum)\
**Post date:** [June 30, 2025, 4:16pm UTC](https://discourse.julialang.org/t/deploying-an-interactive-wglmakie-jl-example-on-the-internet/130313/5 "2025-06-30T16:16:21Z")

</div>

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](https://docs.makie.org/stable/explanations/backends/wglmakie#Export), so that the `App` loop was enclosed as:

```julia
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](https://discourse.julialang.org/t/makie-record-states-and-export-static-results-in-no-interactivity/127712) 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`?

---

_[View the full topic](https://discourse.julialang.org/t/deploying-an-interactive-wglmakie-jl-example-on-the-internet/130313)._
