gitness icon indicating copy to clipboard operation
gitness copied to clipboard

Jupyter Notebook preview?

Open boyanxu opened this issue 1 year ago • 4 comments

Congrats on launch! I wonder will gitness support Jupyter Notebook preview in the near future like Gitea does?

boyanxu avatar Sep 24 '23 07:09 boyanxu

hey @BoyanXu thanks for the suggestion! would you mind posting some screenshots? what do you like about the current feature in Gitea? If we add this to Gitness, is there anything you would like to see us improve upon?

bradrydzewski avatar Sep 24 '23 17:09 bradrydzewski

Sure.

The Gitness currently display jupyter notebook file as text, just like: image

Gitea offer configuration to the rendered HTML display of jupyter notebook: image

boyanxu avatar Sep 25 '23 08:09 boyanxu

Hi, since this runs on Docker, do you think it would be possible/feasible to allow running the Python code? Perhaps a Drone integration?

fakerybakery avatar Sep 26 '23 19:09 fakerybakery

Hi @fakerybakery, I think you can "run Python code" by writing a CI script or a "pipeline" in Gitness. See a sample at: https://docs.gitness.com/pipelines/samples/python.

But if you want like an interactive ipython shell, I suggest put on a jupyter lab container. If you want something similar to GitHub Workspace, you can check https://coder.com/.

boyanxu avatar Sep 30 '23 07:09 boyanxu