Skip to content

Support use of service worker to handle stdin #51

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
May 29, 2025
Merged

Conversation

ianthomas23
Copy link
Member

This PR uses pre-releases of cockle, jupyterlite and jupyterlab to support the use of the JupyterLite service worker for stdin whilst terminal commands are running.

By default SharedArrayBuffer will be used for stdin, provided the site is served with cross-origin headers, and it will fall back to using Service Worker. If both implementations are available it is possible to switch between them at run time using cockle-config -s sw for example to use the Service Worker implementation. See jupyterlite/cockle#174 for more details.

@ianthomas23 ianthomas23 added the enhancement New feature or request label May 28, 2025
Copy link

vercel bot commented May 28, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
jupyterlite-terminal ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 28, 2025 10:56am

@ianthomas23 ianthomas23 merged commit b53fd3b into main May 29, 2025
10 checks passed
@ianthomas23 ianthomas23 deleted the cockle-0.1.0a0 branch May 29, 2025 06:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant