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

Adding Extension Support to Verve #13

Open
ParthJadhav opened this issue Dec 27, 2022 · 4 comments
Open

Adding Extension Support to Verve #13

ParthJadhav opened this issue Dec 27, 2022 · 4 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@ParthJadhav
Copy link
Owner

We are considering adding extension support to Verve, which would allow users to create scripts or programs that extend the functionality of the application. This would be a challenging task to implement, but we believe it would greatly enhance the utility of Verve for our users.

One potential way to implement extension support is by using a wasm runtime (such as wasmtime) to embed a wasm runtime into the app and load 3rd party plugins as wasm modules. This would give us fine-grained control over security and exposed APIs, and would allow us to use codegen utilities (such as rust, assemblyscript, and c) to create binding libraries that compile to wasm. Third-party developers (or ourselves) could then use these libraries to compile their code to wasm and create working extensions in a secure way.

We are open to suggestions and ideas about how best to implement extension support in Verve. If you have any thoughts or recommendations on this topic, please let us know in the comments.

Side notes:
The above approach was suggested by -> https://github.com/JonasKruckenberg

@ParthJadhav ParthJadhav added enhancement New feature or request help wanted Extra attention is needed TODO and removed TODO labels Dec 27, 2022
@ParthJadhav ParthJadhav added the in-progress Some user has taken up this issue to work on. label Jan 6, 2023
@ParthJadhav
Copy link
Owner Author

I'm trying to use: https://extism.org/

To create an Extension system..

WIP

@ParthJadhav ParthJadhav removed the in-progress Some user has taken up this issue to work on. label Jan 7, 2023
@AlexMikhalev
Copy link

Did you manage to progress? I looked at extism, but it didn't fit any of my use cases.

@ParthJadhav
Copy link
Owner Author

Hey @AlexMikhalev,

Here's a branch regarding extension support. Although I'm quite short of time to implement it further.

https://github.com/Ty3uK/Verve/tree/feature/extensions-poc

@AlexMikhalev
Copy link

Thank you for tagging me; I will look into it. Now, I have my own Tauri app for https://terraphim.ai/, but I can package it as an extension for Verve.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants