1

I wanted to ask you if there is any solution for connecting my terminal with website. I mean... I want to see the output on the website. I tried to find some solutions on the internet and found xterm.js but I just want to make it simple. I want to run the command in my terminal and to see the output on the website as well. :) It doesn't need to look modern or something like that. Lust a page with text which is actual output from my terminal.

Is there any simple solution for this problem?

closed as too broad by Thomas Dickey, muru, Anthony Geoghegan, Mr Shunz, Haxiel Apr 2 at 13:53

Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • Maybe you are looking for something like ttyd or gotty? I found them after a short googling :) – Jussi Hietanen Mar 30 at 11:35
  • 1
    Depends on how your website is built. I have done this with PHP, by setting a variable like: $variable = exec("/path/to/your/script/that/generates/output.sh". – DisplayName Mar 30 at 12:18
  • 1
    xterm can create screenshots in SVG or HTML format. For other terminals, there are programs (such as gimp) which can create a ".png" file that you could put on your website. – Thomas Dickey Mar 30 at 14:03