willianrod / ODeck

A free and open-source alternative to StreamDeck
https://odeck.app
MIT License
388 stars 22 forks source link

[refactor]: refactor handlers to be expandable #18

Closed willianrod closed 12 months ago

willianrod commented 1 year ago

Problem

The current architecture is expandable but requires a lot of configurations, we need it to be expandable with less configuration. This will allow ODeck to expand features very fast.

Possible solution

I still thinking about that, but I'm open to suggestions.

Minimum requirements

willianrod commented 12 months ago

Refactor is in progress complete. Got everything working in the new architecture. To develop a new handler you'll have to change one single file and add translations.

In some cases, some handlers will require some kind of configuration like defining an API key to make API requests. To allow this, I'll develop a settings page and only load the handler if the API key is defined.

willianrod commented 12 months ago

Refactor completed. Will be available on release v0.0.5 https://github.com/willianrod/ODeck/pull/32