I'm experimenting with something similar as well, I'm curious - how do you solve HTTPS support since it's a built-in web-server?
Created an RFC: https://github.com/livebud/bud/discussions/33. Feedback very welcome!
Hit me up on Twitter @mattmueller or over email hi@livebud.com. I'd love to hear what you're working on!