Skip to content

A reactive notebook for Python — run reproducible experiments, query with SQL, execute as a script, deploy as an app, and version with git. Stored as pure Python. All in a modern, AI-native editor.

chore: Expand remote downloads for a broader range of urls (#5456)

Dylan Madisettifa9264690eb9
diff --git a/marimo/_cli/file_path.py b/marimo/_cli/file_path.py
index 3a9eda3283..643c5cd259 100644
--- a/marimo/_cli/file_path.py
+++ b/marimo/_cli/file_path.py
@@ -136,6 +136,10 @@ class StaticNotebookReader(FileReader):
if any(url.startswith(f"https://{domain}/") for domain in DOMAINS):
return download(url)
+ # TODO: Adjust for other various forms of static marimo notebook URLs.
+ if "notebooks/nb" in url:
+ return download(url)
+
# Otherwise, not a static marimo notebook
return False, ""