In-browser bash-like shell implemented in TypeScript.
https://jupyterlite.github.io/cockle โ// momentum
// why it's here
- Active: last commit today
- Has issues labelled for new contributors
- Health 92/100 with only 25 stars
- Accepts sponsorship (jupyter.org)
// how to help
// readme
cockle
In-browser bash-like shell implemented in a combination of TypeScript and WebAssembly.
Used in the JupyterLite terminal extension.
Try it out outside of JupyterLite on GitHub Pages at https://jupyterlite.github.io/cockle.
Commands of the following types are supported:
- Built-in TypeScript commands such as
history. The source code for these is within this repo. - WebAssembly commands, from C/C++ source code, compiled into
.jsand.wasmfiles. These are usually built by Emscripten-forge although they can be manually built, and are added to a deployment during the deployment build process. - JavaScript commands that are loaded and run in the same as WebAssembly commands except they have
a
.jsfile and no.wasmfile. There is an example of creating a JavaScript command from TypeScript source code for use in the Jupyterlite terminal in the terminal-javascript-command repo.