How to export an app as website #553
-
I have an app that I can run locally, and would like to publish it as a static webpage. I know that there's an open issue to make the Python execute locally in the browser, but for my current use-case that's unnecessary, I'd be happy with just a webpage that displays my app's content statically. Is there any way to do this? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Yes, this can be done. Use the "Export as html" action in the notebook menu: (In case you are wondering: The I will improve our documentation to explain how to do this. In the future we'll add an option to export from the CLI, but we don't have that yet. Thanks for asking! |
Beta Was this translation helpful? Give feedback.
Yes, this can be done. Use the "Export as html" action in the notebook menu:
(In case you are wondering: The
Publish as HTML
action lets you publish static HTML to the public webstatic.marimo.app
-- published HTML is viewable by anyone, whereas exported HTML is downloaded to your machine.)I will improve our documentation to explain how to do this. In the future we'll add an option to export from the CLI, but we don't have that yet. Thanks for asking!