-
Notifications
You must be signed in to change notification settings - Fork 175
Description
Hello AionUI Team,
First, thank you for the excellent work on this project. It's incredibly powerful and a joy to use.
I am proposing a feature to allow remote/mobile access to the AionUI instance. This would enable users to start long-running tasks on a host machine and monitor them from anywhere.
I see two potential architectural approaches for this:
Approach 1: Integrated Web UI (The Simple Path)
The application could be launched with a flag like aionui --webui --port 7860, starting a built-in web server. This is a straightforward way to quickly deliver the feature to users.
Approach 2: A Plugin Architecture (The Scalable Path)
A more robust and forward-thinking solution would be to implement a plugin system.
Core Logic: The main AionUI application would expose a stable API (e.g., via REST or WebSockets) for interacting with its core functionalities (getting status, sending commands, etc.).
Web UI as a Plugin: The Web UI could then be developed as a first-party "official" plugin that consumes this API. It could even be installed separately, like aionui-plugin-install webui.
Benefits: This approach has significant advantages for long-term maintenance and growth, as you mentioned:
Decoupling: The core app and the Web UI can be developed, versioned, and updated independently. This makes maintenance much easier.
Extensibility: It opens the door for the community to create other plugins (e.g., Discord/Telegram notifiers, custom logging, alternative UIs) without needing to modify the core application.
Keeps the Core Lean: The core application remains focused and lightweight, with additional functionality being opt-in.
Recommendation:
While the integrated approach is faster to implement, a plugin architecture would be a strategic investment in the project's future, fostering a vibrant community ecosystem. Perhaps the integrated Web UI could be a first step, with a plan to refactor it into a plugin later on.
This feature, especially if implemented via a plugin system, would transform AionUI from a powerful tool into an extensible platform.
Thank you for your consideration!