Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

web版支持api调用吗? #18

Open
yutian81 opened this issue Sep 10, 2024 · 2 comments
Open

web版支持api调用吗? #18

yutian81 opened this issue Sep 10, 2024 · 2 comments

Comments

@yutian81
Copy link

What feature you'd like to see or proposal(期望什么新功能/特性或者建议)

假设我想通过 cloudflare worker 远程调用electerm的api来连接某个ssh并自动执行某个shell命令,可行吗?electerm本身支持api调用吗?如果支持,请问,api接口地址怎么填?相关参数有哪些?
此软件是我心目中的神器,非常好用,感谢作者带来如此精品软件。

@zxdong262
Copy link
Member

目前还不支持,感觉你这个需求可以自己部署一个简单的web服务,接收到对应参数就运行命令,用ai应该就能写nodejs,python的比较简单,就是得注意安全。

@yutian81
Copy link
Author

目前还不支持,感觉你这个需求可以自己部署一个简单的web服务,接收到对应参数就运行命令,用ai应该就能写nodejs,python的比较简单,就是得注意安全。

纯自用,应该不会有安全问题,不过我确实不会。。。还是非常感谢!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants