From 28fd6702a2225181797318364b23890a2f81ea04 Mon Sep 17 00:00:00 2001 From: Pjotr Prins Date: Sat, 7 Aug 2021 11:16:31 +0200 Subject: Started on terminal output --- topics/ui/adding-terminal-output.gmi | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 topics/ui/adding-terminal-output.gmi 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. -- cgit v1.2.3