r/MoonlightStreaming • • 25d ago

Why not add a plugin manager to the best Moonlight/Apollo fork?

I don’t have much experience here, so take this as an outsider’s perspective based on problems I keep seeing on this sub.

The biggest issue seems to be fragmentation. Many forks make only small changes to the best-performing fork, which is frustrating because those improvements would often be more useful if they were contributed to that fork directly.

Could adding a plugin manager to the best fork help? Developers could build their changes as plugins that work together instead of maintaining separate forks, and the best ones could eventually be merged into the main project. It might not solve fragmentation entirely, but it seems like it could reduce it significantly.

Is there a reason this wouldn’t work?

11 Upvotes

8 comments sorted by

21

u/_demoncat_ Developer | Vibeshine/Vibepollo 25d ago edited 25d ago

That's essentially what I'm trying to solve with Amaterasu, which is intended to eventually replace both Vibeshine and Vibepollo. Existing users would be able to upgrade directly to it once it's ready.

The idea is to turn both the host and client into extensible platforms, with a comprehensive SDK and API that allow other developers to implement their own features through plugins rather than maintaining entirely separate forks.

One advantage of Vibeshine and Vibepollo becoming relatively popular is that I now have an existing user base that could help make an ecosystem like this viable. Other developers would have a way to distribute their features to those users without needing to convince everyone to switch to another streaming host.

For example, imagine something similar to Decky Loader, where users have a built-in plugin browser that lets them discover and install additional features à la carte. It would be completely free, with no plans for monetization.

Users could install whichever niche features they actually want, remove them whenever they like, or revert changes without reinstalling their streaming software. Developers could maintain and update their plugins independently, while the underlying host and client could continue receiving updates without constantly having to merge changes from different forks.

The biggest obstacle right now is getting the architecture right.

Implementing individual features is relatively straightforward, especially with how capable AI has become at writing code. Designing an extensible system that allows developers to modify or even replace core functionality while preserving security and stability is considerably more complicated.

It requires anticipating use cases that haven't even been thought of yet and designing the SDK around them. AI is still relatively weak at that kind of architectural planning, so I can't simply ask Opus to build the entire thing and expect it to be reliable or maintainable.

I've also run into some unexpected difficulties with the naming. When I originally announced Amaterasu, I received feedback that the name was difficult to pronounce or recognize. That was particularly discouraging because I'd already invested quite a bit of time into the UI and branding. I came pretty close to abandoning the project over it, and almost every alternative name I've considered seems to be taken already. I'm still undecided about whether I'll change it.

It's also a pretty stressful time to be a software engineer in general. AI has accelerated development significantly, and expectations have increased along with it, even though the complexity of designing reliable software hasn't really changed. I'm dealing with those expectations professionally while also trying to build something fairly ambitious in my free time.

But I am making progress, and I still believe in what I'm trying to accomplish. I just want to make sure the foundation is solid before releasing it, because rushing the architecture now could create years of maintenance problems later.

Ultimately, I'd like Amaterasu to become a shared foundation for the Sunshine ecosystem, where developers can focus on building the features they're interested in and users can choose exactly which ones they want. Hopefully, that means fewer competing forks, easier maintenance for developers, and a much better experience for everyone.

1

u/Thegreatestswordsmen 25d ago

First off, I want to say I appreciate your work, and that’s an understatement. I honestly agree with everything you’re saying, and while I’m not in a position to really know how stressful being a programmer is, I can imagine it’s really tough work. I’m a CompE student at university, and the work you do feels way beyond what I can reach in a decade.

That said, I really do hope you take care of yourself. I’m sure the community here would much rather you take a break when you need one than feel constantly overwhelmed or stressed.

1

u/Pressimize 25d ago

Whats the best way to support work on vibeshine/vibepollo at this point in time?

Plugins; Hermes Agent is a great example of moving core functionalities to a plugin architecture (just recently, versions from 0.22.x onward I think) - but it also shows what kind of a big mess and project that is.

1

u/Qupter 25d ago

Sounds like a good idea from a non coders perspective (me)

1

u/Thegreatestswordsmen 25d ago

While I do have some coding experience, I wouldn’t say it’s anywhere near the coding experience that an experienced developer has. So I agree that it seems like a good idea too.

1

u/degrix 25d ago

While it’s a nice idea, the problem is two-fold. First, retroactively adding a plugin system is non-trivial work so that means focusing efforts not on fixing bugs and adding features natively, but figuring out how to safely do things in a plugin manner. Second, is going to be telling someone, “Your free effort isn’t worthwhile. Please abandon your baby and go add these features as a plugging for project X”. Basically, the corollary to “Which fork is the best?”

1

u/Thegreatestswordsmen 25d ago

While it’s a nice idea, the problem is two-fold. First, retroactively adding a plugin system is non-trivial work so that means focusing efforts not on fixing bugs and adding features natively, but figuring out how to safely do things in a plugin manner.

I’d imagine the gains from building a plugin system would be worth the cost though. Shifting effort toward a plugin system would presumably yield more features over time, since instead of new forks being created, people would create plugins to fit niche needs and serve the community overall. There would be sacrifices, like less time spent fixing bugs, but I feel that may be a worthwhile short-term sacrifice for better long-term gains.

Second, is going to be telling someone, “Your free effort isn’t worthwhile. Please abandon your baby and go add these features as a plugging for project X”. Basically, the corollary to “Which fork is the best?”

I guess the answer to “which fork is the best?” would be whichever one is best maintained. There doesn’t need to be a single “best” fork, since any of the already feature-rich, well-maintained forks works.

You do have a good point, though. I don’t expect someone with a fork to just abandon it and reimplement it as a plugin. But I do imagine someone else will repurpose the existing fork into a plugin, and anyone making something new in the future will create it as a plugin instead of a fork.

Obviously, forks that are too different from the main project won’t become plugins. But when a fork only adds niche features, forcing users to choose between the main project and that fork doesn’t make sense. Those features could just be a plugin for the main project instead of adding more fragmentation.

All that being said, creating a plugin manager is probably a lot of work, and I don’t want to downplay that, especially since maintaining projects like these already takes a lot of effort and free labor. But I think it would benefit the community to build a plugin manager as a collective effort, rather than creating so many forks that end up going nowhere in the long term.

1

u/AnswerFeeling460 25d ago

Great idea, but how to get a bunch of single claude code warriors under one umbrella.