u/Ev2geny_

Dear all,

my goal is to share a marimo notebook in the app mode in the molab.marimo.io

What would be the correct workflow to maintain marimo notebook on molab in synch with github and to make sure, that the URL stays consistent?

The source code is hosted on github. I can open a notebook from github in molab following these instructions https://molab.marimo.io/github.

E.g.:

https://molab.marimo.io/github.com/Ev2geny/beanquery-interactive-manual/blob/main/manual.py

This however opens a notebook in edit mode. It is possible to then fork it and open in a view mode, but this is too much steps for a user. Plus the next time a user clicks follows the same process it will create a new instance on molab.

So, the workflow I have deloped so far is:

  1. initially create a notebook in molab from github.
  2. I then share an app link from molab. Like this:

https://molab.marimo.io/notebooks/nb_LwPTEUeSawLDcmpDQRRLPU/app

It is this link, which I share with users

  1. For all follow up update I manually replace the notebook.py from the molab file menu.

https://preview.redd.it/p5wcb1g8loyg1.png?width=437&format=png&auto=webp&s=77d449702d6d9c03ccce92a2fa3d096dc695957b

Question: is there any better way to do this?

reddit.com
u/Ev2geny_ — 12 days ago