diff options
author | Pjotr Prins | 2021-08-07 11:16:31 +0200 |
---|---|---|
committer | Pjotr Prins | 2021-08-07 11:16:31 +0200 |
commit | 28fd6702a2225181797318364b23890a2f81ea04 (patch) | |
tree | 0b9e5ef0fb3b88e52915a27211bd952bd0f92da2 /topics/ui | |
parent | 4fc67b7963770b718a9d4639a799ec85bdeab4e3 (diff) | |
download | gn-gemtext-28fd6702a2225181797318364b23890a2f81ea04.tar.gz |
Started on terminal output
Diffstat (limited to 'topics/ui')
-rw-r--r-- | topics/ui/adding-terminal-output.gmi | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/topics/ui/adding-terminal-output.gmi b/topics/ui/adding-terminal-output.gmi new file mode 100644 index 0000000..a6dd895 --- /dev/null +++ b/topics/ui/adding-terminal-output.gmi @@ -0,0 +1,7 @@ +# Adding Terminal Output + +GeneNetwork runs external tools. We would like to have an option for (advanced) users, such as I, to view terminal output while running them. It will give some insight that can only be gained from reading the flask logs, right now. Not everyone has that access. The first candidate is xterm.js which is also used by Jupyter and others. It can talk web sockets: + +=> https://xtermjs.org/docs/api/addons/attach/ xterm.js websocket support + +As GN3 (REST) API handles calling external tools it kinda make sense to handle the terminal output page through GN3 and communicate through websockets. But first I'll do a Sinatra test run. |