This is a proof of concept to provide access to native apis to even hub applications (for evenrealities g2).
Because even_hub applications are effectively javascript run within a webview in the even application, they lack access to any apis outside of what the evenrealities app provides (mainly related to controlling the glasses screen). However, one thing that is possible is to fetch urls and make web requests.
This app provides:
- A service that runs a webserver to serve web requests from even apps
- A plugin/module system to register endpoints and handlers to serve various native functionalities
- An example plugin to serve / interact with anki flashcards
Still in the research phase, so there are bugs and limited functionality. I'm looking into if this is the right approach or if it's better to make a generic api bridge