3 ms·
I recently wanted this for some scripting over SSH. I basically want to run a script on a remote machine and read it back, but implement it as a function instea
by CGamesPlay 3y ago
I recently wanted this for some scripting over SSH. I basically want to run a script on a remote machine and read it back, but implement it as a function instead of a wrapper around SSH.
Chatbots, where the bot only needs to be line-driven and you can connect it to any CLI chat interface. Or perhaps, run your AI agent attached to a shell, and have it treat standard IO as a shell session.
- geon 3y agoSomewhat related: https://github.com/joewalnes/websocketd https://github.com/joewalnes/websocketd > websocketd is a small command-line tool that will wrap an existing command-line interface program, and allow it to be accessed via a WebSocket.