Get help from the marimo community

Updated 2 months ago

Moving from Marimo WASM Playground to GitHub Pages

At a glance

The community member is experimenting with deploying their notebook on GitHub Pages, but the documentation seems to focus on local notebooks, not those deployed in the Marimo WASM Playground. They used "Download as HTML (exclude code)," but that appears to be static only. The community members discuss the steps needed to export the notebook from the Marimo WASM Playground to move it to GitHub Pages, including the command marimo export html-wasm -o out --mode run. However, they realize that GitHub Pages may not be the best solution for their needs. The community members also discuss potential missing features in the Marimo WASM Playground, such as support for multiple Python files, CSV files in the sidebar, and mounting S3 buckets.

I'm experimenting with deploying my notebook on GitHub Pages. However, the documentation around this feature seems to focus on local notebooks, not those already deployed in the Marimo WASM Playground. What steps would I need to take to export the notebook from the Marimo WASM Playground to move it to GitHub Pages? I used "Download as HTML (exclude code)," but that appears to be static only.
M
M
5 comments
yea we don't have documentation for migrating. i can try to write something up. but there are some missing features such as:
  • multiple python files
  • including csv files next in the sidebar
  • mounting s3 buckets (in the confiugration in the community cloud)
do you use any of these? if not should be easy to migrate
once you download the file, you can do:
Plain Text
marimo export html-wasm -o out --mode run
What do you mean by "including csv files next in the sidebar"? I have a json file referenced by the script, but that's it.
I got the export to work, but realized GitHub Pages wasn't exactly going to do what I hoped for. Thanks for the help!
Ah ok. What is the limitation? I’m not sure what I meant earlier. Maybe “including cvs files like* in the sidebar file explorer”
Add a reply
Sign up and join the conversation on Discord