-
-
Notifications
You must be signed in to change notification settings - Fork 6.2k
Closed
Labels
type/proposalThe new feature has not been accepted yet but needs to be discussed first.The new feature has not been accepted yet but needs to be discussed first.
Description
Description
The client-side notebook preview functionality has not been backported from the original gogs repo.
https://try.gogs.io/niklas/ipynb-test/src/master/README.ipynb
https://try.gitea.io/memetb/test-ipynb/src/branch/master/Untitled.ipynb
Issue #3025 mentions using RENDER_COMMAND = jupyter nbconvert --to html --stdin --stdout however, there are multiple reasons why this can be problematic:
- server side-rendering of jupyter notebooks requires the installation of anaconda. This defeats the purpose of having a lightweight executable that can be deployed on a raspberry pi.
- executing jupyter on large notebooks is slow.
- having to execute a python interpreter on user data is not safe and would require chrooting the whole thing if a sys-admin needs to be thorough.
entron, kzfm, klamann, hamaluik, wldhg and 2 more
Metadata
Metadata
Assignees
Labels
type/proposalThe new feature has not been accepted yet but needs to be discussed first.The new feature has not been accepted yet but needs to be discussed first.