Skip to main content

JupyterLab terminal using ghostty-web (libghostty WASM)

Project description

jupyterlab-ghostty

A JupyterLab extension that provides a terminal emulator powered by ghostty-web (libghostty WASM).

Requirements

  • JupyterLab >= 4.0.0

Installation

pip install jupyterlab-ghostty

Uninstall

pip uninstall jupyterlab-ghostty

Development Installation

For a development installation:

# Clone the repository
git clone https://github.com/eexwhyzee/jupyterlab-ghostty.git
cd jupyterlab-ghostty

# Install dependencies
jlpm install

# Build the extension
jlpm build

# Install the extension in development mode
pip install -e "."

# Link the extension for development
jupyter labextension develop . --overwrite

Usage

Once installed, you'll see a "Ghostty Terminal" option in:

  1. Launcher: Click the "Ghostty Terminal" icon in the "Other" section
  2. Command Palette: Search for "New Ghostty Terminal"
  3. File Menu: File > New > Ghostty Terminal

Both the standard existing xterm.js terminal and Ghostty terminal can be used side-by-side.

Configuration

Configure the Ghostty terminal in JupyterLab Settings:

Setting Description Default
fontFamily Font family for terminal text Menlo, Consolas, "DejaVu Sans Mono", monospace
fontSize Font size (9-72) 13
lineHeight Line height multiplier 1.0
theme Terminal theme (inherit, light, dark) inherit
scrollback Scrollback buffer lines 10000
cursorBlink Whether the cursor blinks false
shutdownOnClose Shut down session when closing false
closeOnExit Close widget when session ends true

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

jupyterlab_ghostty-0.0.2.tar.gz (832.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

jupyterlab_ghostty-0.0.2-py3-none-any.whl (1.5 MB view details)

Uploaded Python 3

File details

Details for the file jupyterlab_ghostty-0.0.2.tar.gz.

File metadata

  • Download URL: jupyterlab_ghostty-0.0.2.tar.gz
  • Upload date:
  • Size: 832.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for jupyterlab_ghostty-0.0.2.tar.gz
Algorithm Hash digest
SHA256 472362852ce12cfa5514ba80c64b6bcb84c2da8ca35c54a9fb18d185cef074ed
MD5 d4b84ac150cc0bdec483b590b8dfd7ea
BLAKE2b-256 ee0cfd9f1ad5114c88cf10431176714b2bcc02347c00927c9b74248d33128a15

See more details on using hashes here.

File details

Details for the file jupyterlab_ghostty-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for jupyterlab_ghostty-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 034f66513e7ef203075c7e64ca163ea2b487ab6addc39a57a51050484ec98345
MD5 657d5047d8c4a4816b36d3b36eba1267
BLAKE2b-256 61fbbe9106f7241d12958d5ff98e3bf292a8936bc347092ff4a3e88d753e4977

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page