Replies: 1 comment
-
|
If what you're after is producing asciicast recording files from xterm.js / jQuery Terminal sessions then the way to go would be to hook into those tools to get raw stdout events (if they have means for that) and then save those in the asciicast file. The format is simple and a file can be easily produced with a bit of JS. I don't think there are any reasons to involve asciinema recorder in this. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I was thinking about using the asciinema recorder together with xterm.js or jQuery Terminal. Are there any plans to make this possible (or how feasible do you think this endeavor is)? I think this would need some kind of stable API to which one can pass events (stdin, stdout) and compiling for WASM.
This would be useful to record sessions running in the browser (with maybe no underlying terminal). Stuff like numbat.dev, integrated/online REPLs for languages compiled to WASM (e.g. Pyodite REPL, or pseudo-consoles auch as the one in server management UIs (e.g. Cockpit).
Beta Was this translation helpful? Give feedback.
All reactions