Chimera is an Electron terminal emulator that can attach browser surfaces to a normal terminal session over HTTY.
Chimera now launches the JavaScript HTTY demos from ../htty-js/examples by default:
examples/hello-world.mjsexamples/browser-demo.mjsexamples/raw-browser-demo.mjs
Those demos are provided by the local @socketry/htty package dependency declared in package.json.
The older Ruby demos in ../async-htty/examples are still useful as a reference implementation, but they are no longer the primary launch path used by Chimera.
Install dependencies:
npm installStart the app:
npm startRun the HTTY-focused unit tests:
node --test test/BrowserSurface.jsRun the Electron end-to-end tests:
npm run test:e2e@socketry/httyprovides HTTY bootstrap detection plus the JavaScript client and server primitives.- Chimera uses
HTTYClientSessionandHTTYDecoderfrom@socketry/httydirectly in the Electron main process. - Browser tabs are created from HTTP responses returned by the attached HTTY application.
- One command process maps to one HTTY session, and multiple surface tabs can be opened against that session.