ghostty-web 0.3.0-next.2.gfcdee7f → 0.3.0-next.20.g779b648

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -2,19 +2,25 @@
2
2
 
3
3
  [![NPM Version](https://img.shields.io/npm/v/ghostty-web)](https://npmjs.com/package/ghostty-web) [![NPM Downloads](https://img.shields.io/npm/dw/ghostty-web)](https://npmjs.com/package/ghostty-web) [![npm bundle size](https://img.shields.io/bundlephobia/minzip/ghostty-web)](https://npmjs.com/package/ghostty-web) [![license](https://img.shields.io/github/license/coder/ghostty-web)](./LICENSE)
4
4
 
5
- [Ghostty](https://github.com/ghostty-org/ghostty) for the web with [xterm.js](https://github.com/xtermjs/xterm.js) API compatibility — giving you a proper VT100 implementation in the browser, not a JavaScript approximation of one.
5
+ [Ghostty](https://github.com/ghostty-org/ghostty) for the web with [xterm.js](https://github.com/xtermjs/xterm.js) API compatibility — giving you a proper VT100 implementation in the browser.
6
6
 
7
7
  - Migrate from xterm by changing your import: `@xterm/xterm` → `ghostty-web`
8
8
  - WASM-compiled parser from Ghostty—the same code that runs the native app
9
9
  - Zero runtime dependencies, ~400KB WASM bundle
10
10
 
11
+ Originally created for [Mux](https://github.com/coder/mux) (a desktop app for isolated, parallel agentic development), but designed to be used anywhere.
12
+
11
13
  ## Try It
12
14
 
13
- ```bash
14
- npx @ghostty-web/demo@next
15
- ```
15
+ - [Live Demo](https://ghostty.ondis.co) on an ephemeral VM (thank you to Greg from [disco.cloud](https://disco.cloud) for hosting).
16
+
17
+ - On your computer:
18
+
19
+ ```bash
20
+ npx @ghostty-web/demo@next
21
+ ```
16
22
 
17
- This starts a local HTTP server with a real shell on `http://localhost:8080`. Works best on Linux and macOS.
23
+ This starts a local HTTP server with a real shell on `http://localhost:8080`. Works best on Linux and macOS.
18
24
 
19
25
  ![ghostty](https://github.com/user-attachments/assets/aceee7eb-d57b-4d89-ac3d-ee1885d0187a)
20
26
 
@@ -22,11 +28,10 @@ This starts a local HTTP server with a real shell on `http://localhost:8080`. Wo
22
28
 
23
29
  xterm.js is everywhere—VS Code, Hyper, countless web terminals. But it has fundamental issues:
24
30
 
25
- | Issue | xterm.js | ghostty-web |
26
- | ---------------------------------------- | ------------------------------------------------------------------- | -------------------------- |
27
- | **RTL languages** | [Broken since 2017](https://github.com/xtermjs/xterm.js/issues/701) | ✓ Works |
28
- | **Complex scripts** (Devanagari, Arabic) | Rendering issues | Proper grapheme handling |
29
- | **XTPUSHSGR/XTPOPSGR** | [Not supported](https://github.com/xtermjs/xterm.js/issues/2570) | ✓ Full support |
31
+ | Issue | xterm.js | ghostty-web |
32
+ | ---------------------------------------- | ---------------------------------------------------------------- | -------------------------- |
33
+ | **Complex scripts** (Devanagari, Arabic) | Rendering issues | Proper grapheme handling |
34
+ | **XTPUSHSGR/XTPOPSGR** | [Not supported](https://github.com/xtermjs/xterm.js/issues/2570) | ✓ Full support |
30
35
 
31
36
  xterm.js reimplements terminal emulation in JavaScript. Every escape sequence, every edge case, every Unicode quirk—all hand-coded. Ghostty's emulator is the same battle-tested code that runs the native Ghostty app.
32
37
 
Binary file