How jupyterlite/jupyterlite works
JupyterLite is a browser-native Jupyter distribution, paired with Python tooling for assembling and serving a static deployment. The user workflow is to open a browser interface, use in-browser kernel and file services to work with notebooks, and save or export results locally. The graph also includes deployment configuration and addon stages. README statements and source-index references establish several capability links; where sampled code does not show runtime wiring, uncertain connections are omitted or marked unverified.
Main entry points: index.template.js JupyterLab interface · index.tsx Core app extensions · app.py Build CLI · drive.ts Contents drive
Components 21
Build and deployment
- Static site output
py/jupyterlite-core/jupyterlite_core/addons
Browser application
- JupyterLab interface
app/index.template.js - Notebook interface
packages/notebook-application-extension/src/index.ts - Code console
packages/repl-extension/src/index.ts - Plugin bootstrap
app/index.template.js - Core app extensions
packages/application-extension/src/index.tsx - Application router
packages/application/src/router.ts - Extension manager
packages/apputils/src/extensionmanager.ts - Kernel status UI
packages/apputils-extension/src/kernelstatus.tsx
Browser services
- Contents drive
packages/services/src/contents/drive.ts - Kernel client
packages/services/src/kernel/client.ts - Kernel specs
packages/services/src/kernel/kernelspecs.ts - Session client
packages/services/src/session/client.ts - Notebook export
packages/services/src/nbconvert/manager.ts - Browser storage
packages/services-extension/src/index.ts
Python build tooling
- Build CLI
py/jupyterlite-core/jupyterlite_core/app.py - Addon task manager
py/jupyterlite-core/jupyterlite_core/manager.py - Build addons
py/jupyterlite-core/jupyterlite_core/addons - Build configuration
py/jupyterlite-core/jupyterlite_core/config.py
Other components
- User
- Static host
Connections 22
- User → JupyterLab interface: uses
- User → Notebook interface: uses
- JupyterLab interface → Plugin bootstrap: starts through
app/index.template.js - Plugin bootstrap → Core app extensions: loads
app/index.template.js - JupyterLab interface → Code console: offers
- Plugin bootstrap → Extension manager: configures extensions
- Core app extensions → Application router: provides routing
packages/application-extension/src/index.tsx - Core app extensions → Kernel status UI: provides status UI
- User → Contents drive: opens and edits files
- Contents drive → Browser storage: persists locally
- User → Kernel client: runs code
- Kernel client → Kernel specs: selects factory
packages/services/src/kernel/client.ts - User → Session client: manages sessions
- User → Notebook export: exports notebook
packages/services/src/nbconvert/manager.ts - Notebook export → Contents drive: reads notebook
packages/services/src/nbconvert/manager.ts - User → Build CLI: builds deployment
- Build CLI → Addon task manager: initializes manager
py/jupyterlite-core/jupyterlite_core/app.py - Addon task manager → Build addons: loads addons
py/jupyterlite-core/jupyterlite_core/manager.py - Build CLI → Build configuration: uses config
py/jupyterlite-core/jupyterlite_core/app.py - Build addons → Static site output: generates site
- Static site output → Static host: is deployed to
- Static host → JupyterLab interface: serves application