vispy / jupyter_rfb

Remote Frame Buffer for Jupyter
https://jupyter-rfb.readthedocs.io
MIT License
55 stars 10 forks source link

we can probably get this working in collab #74

Closed kushalkolar closed 4 months ago

kushalkolar commented 11 months ago

@manzt figured this out at scipy!

Logging this here to work on when I have time.

Basically:

  1. collab-specific metadata has to be returned by _repr_mimebundle,
  2. publish jupyter-rfb to npm so collab can find it, because collab doesn't use local js. Outline of a CI action to do this:
      - uses: actions/setup-python@v4
        with:
          python-version: "3.x"
      - run: |
          python -m pip install --upgrade pip
          pip install build twine
          python -m build
          twine upload dist/*

      - uses: actions/setup-node
        with:
          node-version: 18
        run: |
          cd js
          npm publish
kushalkolar commented 4 months ago

I attempted this in #77 , tl;dr: performance is very poor, not worth it.