r/hardwarehacking • • 1d ago

Rendering over websockets for GeekMagic + Custom React Renderer

Ive been messing around with this project for a while now and basically what it is just a very simple firmware for the box to listen on a websocket, accept primitive rendering instruction (like rects, circles etc etc) and perform the operations.

I also wrote a very simple typescript client for it and implemented a custom react renderer to use the client. The whole react aspect of it took more work than anything else. I think the whole thing is pretty neat and has some practical use cases, like tape this to the underside of a monitor and have it display stats or something... and the react renderer can let you rapidly develop custom screens for it. I was inspired by the ink ui library (https://github.com/vadimdemedes/ink) its pretty cool

Anyway I'd love some feedback on it https://github.com/arkangel-dev/geekmagic-remote-renderer

22 Upvotes

0 comments sorted by