huh? the API is ubus and this only speaks ubus via JSON-RPC as long you can talk internally ubus you should be fine and able to call everything via JSON-RPC via uhttpd-mod-ubus or owsd (with websockets / events)
No, a lot of LUCI GUIs have router control code mixed with GUI. And a lot of 3rd party packages also come with direct control from GUI without going through uBus
8 comments
[ 3.2 ms ] story [ 29.0 ms ] threadI did something like that few months ago. Making JSONRPC bindings for everything was a hassle.
It was an error for OpenWRT to not standardise on RPC API and superglue the original LuCI to the UI
[0] https://en.wikipedia.org/wiki/Openwrt#Releases
https://openwrt.org/docs/guide-user/luci/start