Add support for uwsd / WebSocket operation#6552
Draft
jow- wants to merge 3 commits intoopenwrt:masterfrom
Draft
Conversation
This commit packages uwsd, a small HTTP and WebSocket server featuring embedded ucode scripting capabilities and TLS support. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Introduce client side support to perform JavaScript class loading and ubus RPC communication over a single WebSocket connection. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
The luci-uwsd collection bundles support for the WebSocket enabled uwsd backend server. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
yichya
reviewed
Sep 4, 2023
| LUCI_TITLE:=LuCI interface with uwsd WebSocket support | ||
| LUCI_DESCRIPTION:=Standard LuCI component collection with WebSocket support and uwsd backend server. | ||
| LUCI_DEPENDS:= \ | ||
| +uwed +luci-mod-admin-full +luci-theme-bootstrap \ |
yichya
reviewed
Sep 4, 2023
|
|
||
| define Package/uwsd-mbedtls/install | ||
| $(INSTALL_DIR) $(1)/etc/init.d | ||
| $(INSTALL_BIN) ./files/uwsd.init $(1)/etc/init.d/uwsd |
|
@jow-: Have you progressed on your PR? |
Contributor
|
Hi @jow- - shall we rebase and merge this so it sees some testing? |
Contributor
Author
|
Yes, please do and give it a try. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR introduces a number of changes into the tree:
luci-uwsdcollection shipping appropriate default configuration and uwsd server backend for LuCIThis is a work in progress and currently experimental.