mirror of
https://github.com/electerm/electerm-web.git
synced 2026-04-25 05:45:55 +03:00
[GH-ISSUE #18] web版支持api调用吗? #15
Labels
No labels
bug
feature
need investigate
need investigate
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/electerm-web#15
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @yutian81 on GitHub (Sep 10, 2024).
Original GitHub issue: https://github.com/electerm/electerm-web/issues/18
What feature you'd like to see or proposal(期望什么新功能/特性或者建议)
假设我想通过 cloudflare worker 远程调用electerm的api来连接某个ssh并自动执行某个shell命令,可行吗?electerm本身支持api调用吗?如果支持,请问,api接口地址怎么填?相关参数有哪些?
此软件是我心目中的神器,非常好用,感谢作者带来如此精品软件。
@zxdong262 commented on GitHub (Sep 11, 2024):
目前还不支持,感觉你这个需求可以自己部署一个简单的web服务,接收到对应参数就运行命令,用ai应该就能写nodejs,python的比较简单,就是得注意安全。
@yutian81 commented on GitHub (Sep 11, 2024):
纯自用,应该不会有安全问题,不过我确实不会。。。还是非常感谢!