๐ŸŽ‰โœจ Oh wow, someone finally decided to cram #Ghostty into #WebAssembly with xterm.js API! Because clearly, what the world needed was yet another way to run terminal emulators in a browser. ๐Ÿš€๐Ÿ”ง Meanwhile, GitHub's entire menu seems to have been thrown into a blender and splattered all over the page just to remind you that your code can always be more "intelligent." ๐Ÿ™„๐Ÿ’ป
https://github.com/coder/ghostty-web #xtermjs #terminalemulators #GitHub #redesign #HackerNews #ngated
GitHub - coder/ghostty-web: Ghostty for the web with xterm.js API compatibility

Ghostty for the web with xterm.js API compatibility - coder/ghostty-web

GitHub

Today I'm wondering how I could get the new Python 3.13 REPL working in WebAssembly in the browser. ๐Ÿค”

xterm-pty for xterm.js looks possibly helpful, but I'm unsure how to use it: https://github.com/mame/xterm-pty

I'm also wondering what CPython will need to be configured in its environment to properly trigger the new REPL.

I'm a TTY novice and definitely feel in over my head with this train of thought. ๐Ÿ˜…

#Python #WebAssembly #CPython #WASM #Emscripten #xtermjs

GitHub - mame/xterm-pty: An addon for xterm.js to add a PTY layer

An addon for xterm.js to add a PTY layer. Contribute to mame/xterm-pty development by creating an account on GitHub.

GitHub

Have a challenge of unit testing of #xtermjs based cli app. The trick is to make #StoryBook a base for unit tests, run CLI in IFRAME and use in-browser test runner. @web/test-runner is the current choice so far. Kudos to https://modern-web.dev

That is why:

Modern Web

Guides, tools and libraries for modern web development.

Modern Web