Skip to content

Conversation

@koaning
Copy link

@koaning koaning commented Nov 6, 2025

Add a "run in molab" button

This is a WIP PR for #809.

CleanShot 2025-11-06 at 10 48 58

Here's a preview of a button that is being rendered:

Open In molab

I want to check some things on the molab side to make a bit nicer, but it at least gives us a preview of what is possible. You can also generate these links yourself via https://molab.marimo.io/github.

I will try and figure out an SVG instead of a PNG here, that should look a bit nicer.

@koaning
Copy link
Author

koaning commented Nov 6, 2025

CleanShot 2025-11-06 at 11 42 13

Added a static SVG, which I think looks a lot nicer.

@twiecki
Copy link
Member

twiecki commented Nov 6, 2025

We can test it on: https://pymcio--813.org.readthedocs.build/projects/examples/en/813/introductory/api_quickstart.html

It seems to work, at first thought it gets me to the (ported) .py file and then I click on deploy on molab. Is that desired?

@twiecki
Copy link
Member

twiecki commented Nov 6, 2025

Hm, I ran it on the api quickstart: https://molab.marimo.io/notebooks/nb_HMmrWyBx5NhwjARXtZZ9fV

image

@koaning
Copy link
Author

koaning commented Nov 6, 2025

It seems to work, at first thought it gets me to the (ported) .py file and then I click on deploy on molab. Is that desired?

I've picked this conversation up internally as well. Will keep you in the loop.

@koaning
Copy link
Author

koaning commented Nov 7, 2025

@twiecki I don't seem to be able reproduce the issue. Could you try again? I'm mainly trying to understand what might trigger it.

CleanShot 2025-11-07 at 09 58 08

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants