Erlang shell from browser?

I have an erlang application with a web interface. Right now, if you want to talk to him through the shell, you must do this from the command line. This application will work on several platforms and in environments where the administrator may not be very smart, but for technical support I would like them to open a shell in their browser and be able to check the state of the node from this.

Has someone already implemented such a thing? It will have to support Windows, Red Hat and OS X, as well as major browsers. What looked like a shell and supported the same teams would be better.

+7
javascript erlang
source share
2 answers

I just ran into the erlwsh project. Exactly what you need.

+1
source share

Perhaps you can use a web terminal such as AjaxTerm and set the Erlang shell as the default shell for the web user. For example, on a UNIX system, this can be done by setting the correct value in the / etc / passwd file.

Obviously, we are considering here a safe environment in which access is not granted to the attacker, and the nodes are inaccessible from the outside world.

+2
source share

All Articles