2 Feature: Bot Web UI
projectmoon edited this page 2021-05-23 23:21:38 +00:00

Web UI for managing variables.

Talks to bot via RPC (see External System Integration).

Backend that serves Rust WASM UI.

Problems to solve:

  • How to sync information between bot and backend? Always RPC call? Pub-Sub/message passing for eventual consistency but no crazy load?
  • Backend to use? Probably Rocket.
  • How to integrate into project? Separate repo or some cargo workspace stuff? If using protobuf, need to have access to the protos!
  • Do we use a cache of some kind?