Darth-Ness / WarpCore

The lightning fast Electron browser
GNU Affero General Public License v3.0
2 stars 0 forks source link

Enhancement: Plugin Support #18

Open jessiejs opened 2 years ago

jessiejs commented 2 years ago

I would like to add support for plugins to WarpCore, but first, I was wondering if we could use Scriptegy's Buildless framework to make development easier. It's fairly lightweight and requires no refactoring.

Darth-Ness commented 2 years ago

Addons would definitely be nice, but will probably take a while. What exactly does Buildless do?

jessiejs commented 2 years ago

Buildless makes making reactive components a lot easier. So bascially you could define a component like this: function Time() { return element("p").text(new Date()); }, and in the HTML have an element called Time, and it would automatically display the current time. It works with existing code.

Darth-Ness commented 2 years ago

So like JSX?

jessiejs commented 2 years ago

Like JSX, but it’s just standard HTML syntax with the JS seperate.

Darth-Ness commented 2 years ago

Sure we can use this. It looks like a cool project.

jessiejs commented 2 years ago

Alright cool, will get started tommorow. I already have the basic code for running code in a sandbox. I just need to add more functions and add a permission management screen.

jessiejs commented 2 years ago

First tab opened using an extension! image

Darth-Ness commented 2 years ago

How did you implement second?

jessiejs commented 2 years ago

???

Darth-Ness commented 2 years ago

Sorry, I was trying to type "addons" not second. I'm not really sure how my phone thought I was trying to type second.

jessiejs commented 2 years ago

I use vm2.

jessiejs commented 2 years ago

Would you mind giving me privileges to commit directly to the dev branch?

Darth-Ness commented 2 years ago

It said it sent you an invite.

jessiejs commented 2 years ago

Thanks!