GitHub - andyk/ht: headless terminal - wrap any binary with a terminal interface for easy programmatic access.
ht - headless terminal
ht (short for headless terminal) is a command line program that wraps an arbitrary other binary (e.g. bash, vim, etc.) with a VT100 style terminal interface--i.e. a pseudoterminal client (PTY) plus terminal server--and allows easy programmatic access to the input and output of that terminal (via JSON over stdin/stdout). ht is built in rust and works on MacOS and Linux.
Installing
Download and use the latest binary for your architecture.
Building
Building from source requir...
Read more at github.com