BlueBubblesApp / bluebubbles-server

Server for forwarding iMessages to clients within the BlueBubbles App ecosystem
https://bluebubbles.app
Apache License 2.0
554 stars 47 forks source link

Add proper services with inheritance and "registration" #468

Open zlshames opened 1 year ago

zlshames commented 1 year ago

The current plugin system forces classes to be manually instantiated and started. I started an effort a while back to turn all the services into "plugins". I'm not sure we need that 100%, however, we do need a better system for plugins so they can easily be instantiated and started with a single piece of code.

We have to make sure that services can communicate with each other if required. The plugin system POC I did supported "dependencies", so we'll need to try and keep that going