ospfranco / sol

MacOS launcher & command palette
MIT License
1.92k stars 89 forks source link

Plugin System #79

Closed huabin closed 1 year ago

huabin commented 1 year ago

Hello,

I'd like to ask what the plugin system will look like? Is it possible to have something like Raycast scripts-command?

Thank you.

huabin commented 1 year ago

BTW, I thought the scripts command is much simpler and easier to extend.

ospfranco commented 1 year ago

You can already create applescripts or url shortcuts, just search for "Create Shortcut". As for the plugin system, yeah, it should be something akin to Raycast plugins, but I don't know when I will have time to tackle it.

huabin commented 1 year ago

I see, I will try, thank you.

BTW, my suggestion is don't make the plugin system look like what Raycast extension is now, it should look like what it was originally. Raycast extension is so heavy now. I used to be interested in contributing scripts to Raycast and have written a few, but I'm not interested in writing extensions for it at all.

SOL = Core + scripts-commands (hosted on GitHub, everyone can contribute to it.)

That will be so perfect. Just my personal opinion. Hope this will help.

On Fri, Sep 2, 2022 at 12:11 PM Oscar Franco @.***> wrote:

You can already create applescripts or url shortcuts, just search for "Create Shortcut". As for the plugin system, yeah, it should be something akin to Raycast plugins, but I don't know when I will have time to tackle it.

— Reply to this email directly, view it on GitHub https://github.com/ospfranco/sol/issues/79#issuecomment-1235047191, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAECY62P5ZI5MYFNEG3MIHTV4F45JANCNFSM6AAAAAAQC3CSCQ . You are receiving this because you authored the thread.Message ID: @.***>

ospfranco commented 1 year ago

no sorry, scripts are fine for one time use cases, but for stuff like forms and meaningful interactions with other apps and web services one needs a real plugin system where one can build UI elements. Sure scripts have a place for certain stuff, but they are also kinda awkward to write and maintain. Going to close this for now, since it is not an issue but more of a discussion.

huabin commented 1 year ago

I see, I will fork one and build a sol without extensions :)

On Fri, Sep 2, 2022 at 1:01 PM Oscar Franco @.***> wrote:

no sorry, scripts are fine for one time use cases, but for stuff like forms and meaningful interactions with other apps and web services one needs a real plugin system where one can build UI elements. Sure scripts have a place for certain stuff, but they are also kinda awkward to write and maintain. Going to close this for now, since it is not an issue but more of a discussion.

— Reply to this email directly, view it on GitHub https://github.com/ospfranco/sol/issues/79#issuecomment-1235068378, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAECY65TEAPEJNAK4BDSQYLV4GC3ZANCNFSM6AAAAAAQC3CSCQ . You are receiving this because you authored the thread.Message ID: @.***>

ospfranco commented 1 year ago

Don't think you realize the amount of work it takes to keep up with upstream changes and keep releasing the app all the time, but you are free to do as you please, Sol is MIT.