> For the complete documentation index, see [llms.txt](https://docs.aethercube.fr/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.aethercube.fr/developers/fr/compiler-depuis-les-sources/vue-d-ensemble.md). Agents can also search and read this documentation through its [MCP server](https://docs.aethercube.fr/~gitbook/mcp).

# Vue d'ensemble

Cette page présente l'organisation du dépôt, les versions d'outils à avoir et les conventions de contribution. Elle sert à celles et ceux qui compilent Aethercube ou qui veulent y contribuer.

Aethercube est un seul dépôt avec quatre programmes et le protocole partagé.

```
.
├── game-client/       Rust, Bevy 0.20
├── game-server/       Java 21, Netty, Gradle (l'API de plugins est ici)
├── game-launcher/     Rust, Iced
├── backend-services/  Go
├── protocol/          Schémas Protobuf et documents de contrat
├── deployments/       Pile de développement (PostgreSQL, Redis, MinIO)
└── tools/             Outils annexes, comme le signeur de manifestes
```

## Versions des outils

| Partie             | Outil             | Version                                                                                   |
| ------------------ | ----------------- | ----------------------------------------------------------------------------------------- |
| Client et launcher | Rust              | 1.97.1, fixé dans `rust-toolchain.toml`. `rustup` l'installe au premier usage.            |
| Serveur            | JDK               | 21                                                                                        |
| Serveur            | Gradle            | 9.9.2, via le wrapper. Il contrôle le téléchargement avec un hash fixé.                   |
| Backend            | Go                | `go 1.26.0`. La toolchain fixée est `go1.27.4`, que la commande `go` récupère par défaut. |
| Backend            | PostgreSQL, Redis | 16 ou plus, et 7                                                                          |
| Protocole          | `buf`             | Pour le lint et le contrôle des changements cassants.                                     |

## Où aller

| Pour compiler                            | Page                                                                                                                     |
| ---------------------------------------- | ------------------------------------------------------------------------------------------------------------------------ |
| Le client de jeu                         | [Client](https://docs.aethercube.fr/developers/fr/compiler-depuis-les-sources/client.md)                                 |
| Le serveur de jeu et tes plugins         | [Serveur](https://docs.aethercube.fr/developers/fr/compiler-depuis-les-sources/serveur.md)                               |
| Le launcher                              | [Launcher](https://docs.aethercube.fr/developers/fr/compiler-depuis-les-sources/launcher.md)                             |
| Le backend                               | [Backend](https://docs.aethercube.fr/developers/fr/compiler-depuis-les-sources/backend.md)                               |
| Lancer toutes les vérifications de la CI | [Tests et vérifications](https://docs.aethercube.fr/developers/fr/compiler-depuis-les-sources/tests-et-verifications.md) |

## Faire tourner toute une pile en local

1. Démarre le backend et ses bases de données. Voir [Backend](https://docs.aethercube.fr/developers/fr/compiler-depuis-les-sources/backend.md).
2. Compile et démarre un serveur en mode hors ligne. Voir [Premier démarrage](https://docs.aethercube.fr/developers/fr/heberger-un-serveur/premier-demarrage.md).
3. Compile et démarre le client. Saisis `127.0.0.1:25565`, le nom TLS `localhost`, la clé du serveur lue dans le log, et un nom hors ligne. Voir [Client](https://docs.aethercube.fr/developers/fr/compiler-depuis-les-sources/client.md).

Pour un parcours complet en ligne, lance le launcher contre ton backend local. Voir [Launcher](https://docs.aethercube.fr/developers/fr/compiler-depuis-les-sources/launcher.md).

## Conventions pour les contributeurs

* Les commits suivent Conventional Commits : `<type>(<scope>): <subject>`. Les types sont `feat`, `fix`, `chore`, `docs`, `refactor`, `perf`, `test`, `build`, `ci` et `revert`. Les scopes nomment un composant, comme `backend`, `client`, `server`, `launcher` ou `protocol`.
* Les branches s'appellent `feature/...`, `fix/...`, `chore/...`, `docs/...` et `refactor/...`.
* Les changements arrivent sur `main` par une pull request relue, avec une CI au vert.
* Commite les lockfiles : `Cargo.lock`, `go.sum` et les fichiers du wrapper Gradle.
* Mets la documentation à jour quand un contrat public, un paquet, un endpoint HTTP ou une clé de configuration change.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.aethercube.fr/developers/fr/compiler-depuis-les-sources/vue-d-ensemble.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
