This is old but I just found it, it's not good to use jQuery Terminal with server tty because jQuery Terminal is mainly for javascript based commands or simple ajax. If you want to have full terminal emulator that could work with tty then xterm.js is better choice.
Do you have any recommendations for connecting this to jquery terminal?
Ideally, I could package this into an app, and people could just install it, and they could interact with their OS using jquery terminal in my website