Small browser/custom host entry
We’re experimenting with rendering Ink into xterm.js in a browser. The reconciler, layout, and components look reusable, but importing Ink’s public entry also pulls in Node process, stream, filesystem, and lifecycle code even when streams are supplied.
Would you be open to a small custom/browser host entry that requires injected streams and omits process defaults, signal handling, exit/raw-mode lifecycle, and console patching, while retaining the existing reconciler and components?
xterm.js would stay outside Ink; this isn’t a request for Ink to support every browser terminal. I saw #213 and ink-web; this is intended as a narrower host boundary rather than general browser support. If that direction fits, I’m happy to prepare a small proof and tests.
Source: vadimdemedes/ink