Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ARCHITECTURE.md #1

Open
edfloreshz opened this issue Jan 4, 2025 · 1 comment
Open

Add ARCHITECTURE.md #1

edfloreshz opened this issue Jan 4, 2025 · 1 comment

Comments

@edfloreshz
Copy link

We should add ARCHITECTURE.md as part of the planning for Next.

In this issue we should discuss implementation details and overall structure of the file.

@mirkobrombin
Copy link
Member

We should structure the ARCHITECTURE.md to clearly explain how Bottles Next moves away from interpreted shell commands to a more modular and scalable design using gRPC and WineBridge.

Key Sections to Include:
1. Overview - Introduce the shift to a client-server-agent architecture, focusing on scalability and maintainability.
2. Server - Acts as the core, managing wineprefixes and app configurations through gRPC for reliable communication.
3. Client - Provides the UI/UX and interacts with the server to send commands and receive data.
4. Agent (WineBridge) - Runs inside the wineprefix, handling operations like registry edits and process management via native WinAPI calls, avoiding shell commands entirely.

The approach improves performance, reduces errors, and allows fine-grained control inside prefixes, could also highlight the benefits of adopting gRPC, such as faster and safer communication between components.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants