This demo uses node-pty to access the terminal, xtermjs for the console, and nostr emitter as the transport layer.
Check out the github readme on how to use the [ buff ] and [ live ] modes.
Sometimes the unpkg.com CDN fails to serve the xtermjs library. If the page appears broken upon loading, try refreshing the page.
If something breaks, please submit an issue on the github page. :-)