Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IPC Framework #561

Open
4 tasks
tmpfs opened this issue Sep 30, 2024 · 0 comments
Open
4 tasks

IPC Framework #561

tmpfs opened this issue Sep 30, 2024 · 0 comments
Assignees

Comments

@tmpfs
Copy link
Collaborator

tmpfs commented Sep 30, 2024

To support deeper platform integration with native OS features and browser extensions we need an IPC framework that can accept messages, handle them and reply.

Message encoding will use protobuf for consistency with other parts of the code base.

Components

  • Listener to be embedded in the GUI app will receive messages and execute them in the context of an account (using the webassembly runtime)
  • Client to communicate with the listener
  • Bridge executable for browser extensions (native messaging)
  • Webassembly runtime to sandbox code execution and eventually allow third-party extensions to the app functionality

The IPC framework will likely only be applicable to desktop platforms but the webassembly runtime and sandbox would allow us to share logic with the mobile platforms.

For ios which does not allow dynamic code execution we can bundle the wasm files into the app.

Libraries

Some candidates for IPC libraries we can use:

Integrations

  • Desktop browser extensions
  • Macos spotlight style secret search with actions (eg: copy to clipboard)
  • iOS/Safari autofill provider native integration
@tmpfs tmpfs self-assigned this Sep 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant