I am writing a commend tool, which need to query a web API after user type finished and hit enter, but the query will take too much time, so I want to perform the query once user stopped typing for a few time.


1 Answer 1


No. You need a web based shell or write your own shell program that has web hooks.

Here is a web based SSH project example. This could be used to interact with your shell from a webpage: https://github.com/xypiie/WebShell

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.