obsidian-execute-code icon indicating copy to clipboard operation
obsidian-execute-code copied to clipboard

[FR] remote support for different platforms and mobile using SSH

Open andrewcrook opened this issue 3 years ago • 4 comments

I just wondered if there could be an option to run the code using a SSH connection to another computer which hosts the compilers , interpreters etc .

andrewcrook avatar May 24 '22 11:05 andrewcrook

Theoretically you can use a shell code block to create a ssh connection like on a normal shell.

twibiral avatar May 24 '22 11:05 twibiral

if all of the code need ssh envirment, it would be terrible.

Wanxp avatar Aug 26 '22 03:08 Wanxp

if all of the code need ssh envirment, it would be terrible.

Possibly, I thought all the languages were using their native interpreters or compilers from shell anyway. It would seem, by looking at the code today, that this is not the case (I must admit I haven't fully tried the plugin) . If it had been, you could have easily called everything thing through a system ssh client via a shell wrapper. Of course these environments would have to be trusted.

andrewcrook avatar Aug 26 '22 10:08 andrewcrook

I am planning to implement this feature using node-ssh. I don't know if it will work on mobile.

twibiral avatar Sep 21 '22 13:09 twibiral