Skip to content

Conversation

@dmadisetti
Copy link
Collaborator

@dmadisetti dmadisetti commented Jul 15, 2025

📝 Summary

Setting default_auto_download in your marimo.toml will set the default behavior for automatically snapshotting notebooks as ipynb or markdown (with outputs).

For instance,

[runtime]
...
default_auto_download=["html", "ipynb"]
...

will have new notebooks periodically snapshot their outputs as ipynb and HTML in the current directory's __marimo__/ subdirectory. Read more about exports here: https://docs.marimo.io/guides/expensive_notebooks/

As an aside, this can also be set with the environment variable _MARIMO_APP_OVERLOAD_AUTO_DOWNLOAD="[html]"

@dmadisetti dmadisetti added the enhancement New feature or request label Jul 15, 2025
@vercel
Copy link

vercel bot commented Jul 15, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
marimo-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 15, 2025 5:30pm

@dmadisetti dmadisetti requested a review from akshayka July 15, 2025 16:14
@dmadisetti
Copy link
Collaborator Author

One caveat is that this doesn't backfill. Only for new notebooks. The env is a blanket override though

@github-actions github-actions bot added the bash-focus Area to focus on during release bug bash label Jul 15, 2025
akshayka
akshayka previously approved these changes Jul 15, 2025
Copy link
Contributor

@akshayka akshayka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome! Two requests but otherwise looks good to me. In another PR we could follow-up with a frontend change for the user config menu?

Co-authored-by: Akshay Agrawal <akshay@marimo.io>
@mscolnick mscolnick merged commit 67cad9a into main Jul 15, 2025
35 of 42 checks passed
@mscolnick mscolnick deleted the dm/export branch July 15, 2025 17:49
@github-actions
Copy link

🚀 Development release published. You may be able to view the changes at https://marimo.app?v=0.14.11-dev72

sebbeutler pushed a commit to sebbeutler/marimo that referenced this pull request Jul 16, 2025
## 📝 Summary

Setting `default_auto_download` in your `marimo.toml` will automatically
set exports for all your notebooks.

For instance,

```toml
[runtime]
...
default_auto_download=["html"]
...
```

will download save html artifacts in `__marimo__/`. Read more about
exports here:
https://docs.marimo.io/guides/expensive_notebooks/#disable-individual-cells

an aside, this can also be set with
`_MARIMO_APP_OVERLOAD_AUTO_DOWNLOAD="[html]"`

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Myles Scolnick <myles@marimo.io>
Co-authored-by: Akshay Agrawal <akshay@marimo.io>
mscolnick pushed a commit that referenced this pull request Jul 17, 2025
## 📝 Summary

Followup to #5647 

<img width="614" height="166" alt="image"
src="https://github.com/user-attachments/assets/ff053c5b-b70f-4f9f-ba46-a683977d301a"
/>


Adds options for auto download to UI

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bash-focus Area to focus on during release bug bash enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants