So, this seems to just download chrome and run some sort of terminal emulator in it (then converts it to video). Do I have that right? Seems like massive overkill for something you could do with just ffmpeg and a terminal emulator...
The benefit of using GNU screen is that the "tape" can be a shell script. I suppose if you don't like shell scripts that's not a benefit, but I do like them.
For example, instead of:
Type "echo 'Welcome to VHS!'"
# Pause for dramatic effect...
Sleep 500ms
Enter
With GNU screen, you would write: #!/bin/sh
screen -d -m -S whatever -- bash
screen -S whatever -X stuff "echo Welcome to screen"
sleep 0.5
screen -S whatever -X stuff $'\n'
If you want to start interacting with the session, just do screen -r whateverYou can also read what is in the screen with -X hardcopy, then do something with the output, like verify the output is correct or adjust the input.
Edit: X11 as a source, not xterm. At least from what I can see.
which for sure matches my mental model of using ttyd and ffmpeg -- what in the world would anyone need chromium for?
Perhaps rendering an xterm.js canvas? (I don't know, it's just a guess)