Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jtpio/replite
An embeddable REPL powered by JupyterLite
https://github.com/jtpio/replite
jupyterlite pyodide python
Last synced: 3 months ago
JSON representation
An embeddable REPL powered by JupyterLite
- Host: GitHub
- URL: https://github.com/jtpio/replite
- Owner: jtpio
- License: bsd-3-clause
- Archived: true
- Created: 2022-02-01T13:59:38.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-10-26T07:40:25.000Z (about 2 years ago)
- Last Synced: 2024-07-13T10:44:59.844Z (4 months ago)
- Topics: jupyterlite, pyodide, python
- Language: Shell
- Homepage:
- Size: 219 KB
- Stars: 49
- Watchers: 3
- Forks: 6
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# replite
## ⚠️ Archived ⚠️
[JupyterLite](https://jupyterlite.readthedocs.io/en/latest/) now includes a REPL application by default.
Check out the documentation to learn how to use it and configure it: https://jupyterlite.readthedocs.io/en/latest/quickstart/embed-repl.html
---
An embeddable REPL, powered by JupyterLite.
![replite-numpy](https://user-images.githubusercontent.com/591645/151983925-6e5dcc1e-b9be-4f1a-91bc-330579103e78.png)
## Usage
To embed the code console in your website:
```html
```
## Configuration
The behavior and the look of the REPL can be configured via URL parameters.
### Select a kernel by default
To avoid the kernel selection dialog and choose a given kernel by default:
```html
```
### Enable the toolbar
The toolbar can be enabled (opt-in) to add a couple of useful buttons:
```html
```
![toolbar](https://user-images.githubusercontent.com/591645/152152632-af6b7020-1dc4-450b-b9c8-1d320e6fd5a5.png)
### Auto execute code on startup
Custom starter code can automatically be executed on startup:
```html
```
https://user-images.githubusercontent.com/591645/152204519-7980e9f6-ef56-4263-bb79-4fcf3e4fd2be.mp4
### Themes
It is also possible to select a theme, for example `JupyterLab Dark`:
```html
```
Additional themes can be installed with `pip` if they are distributed as a JupyterLab prebuilt extension. For example:
```bash
pip install jupyterlab-gt-coar-theme
```https://user-images.githubusercontent.com/591645/152374795-7b415c03-2f7b-43a1-952e-a4406ccb6c5b.mp4
## Create your custom deployment
TBD