-
Notifications
You must be signed in to change notification settings - Fork 760
feat: allow auto download to be configured globally #5647
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
One caveat is that this doesn't backfill. Only for new notebooks. The |
for more information, see https://pre-commit.ci
There was a problem hiding this 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>
|
🚀 Development release published. You may be able to view the changes at https://marimo.app?v=0.14.11-dev72 |
## 📝 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>
## 📝 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>
📝 Summary
Setting
default_auto_downloadin yourmarimo.tomlwill set the default behavior for automatically snapshotting notebooks as ipynb or markdown (with outputs).For instance,
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]"