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.

fix: support links.marimo.app (#4910)

Myles Scolnick69ec6a395e7a
diff --git a/marimo/_cli/file_path.py b/marimo/_cli/file_path.py
index fcf71e0f18..3a9eda3283 100644
--- a/marimo/_cli/file_path.py
+++ b/marimo/_cli/file_path.py
@@ -128,8 +128,12 @@ class StaticNotebookReader(FileReader):
if url.startswith("https://static.marimo.app/static"):
return download(os.path.join(url, "download"))
- # Starts with https://marimo.app/
- if url.startswith("https://marimo.app/"):
+ # Other marimo domains
+ DOMAINS = [
+ "marimo.app",
+ "links.marimo.app",
+ ]
+ if any(url.startswith(f"https://{domain}/") for domain in DOMAINS):
return download(url)
# Otherwise, not a static marimo notebook