Skip to content

Thebe, without CDN, but self-hosted #1091

Closed Answered by kno10
kno10 asked this question in Q&A
Discussion options

You must be logged in to vote

FWIW, I managed to get it working, essentially by replacing the pyodide worker via jupyter-config-data:

  1. set workerUrl to the location of your "full" jupyterlite worker
  2. set baseUrl to the root of your jupyterlite installation

Some (pure-python?) packages still get loaded from files.pythonhosted.org, maybe I can put a simple caching proxy in-between.

This is not very well-documented, and likely subject to change with jupyterlite versions. Here is a starting point:
https://github.com/jupyterlite/jupyterlite/blob/0ce857b1aab8db3253d51d6a126e8cd6a0260d9d/packages/server/src/tokens.ts#L45-L48

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by kno10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant