Skip to content

suggestion for ui approach #78

@jetpax

Description

@jetpax

I've built an agent for micropython, pycoClaw, which is irrelevant here, except for the fact that in order to create a UI for an embedded system that is usually headless, I needed a clearly defined network interface , so I created a new pure binary version of webREPL using CBOR for speed and conciseness and registered it as a new WebSocket subprotocol (registry: https://www.iana.org/assignments/websocket/websocket.xhtml ).

It’s designed for high-frequency state sync for remote UI with separate virtual channels for M2M and humans

You can read the spec here: https://jetpax.github.io/webrepl/webrepl_binary_protocol_rfc.md

If you want to see it in action check out https://scriptostudio.com/app

Its internationalized and allows for system setup as well as file editing etc, using Python itself as the API sent efficiently over the WebREPL, but ofc also drives the UI

Just putting it out there in case theres any interest/ possible use for UI in your project

Image Image Image

oh and I also created a skill hub to go with it

Image

Also want to say great project, thanks for sharing!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions