Accedi
IT
apps/caramail-server / BRIEF.md · commit 070afda
# CaraChat ServeurRéécrire le serveur de chat Caramail (sources PHP 2012 : proxyServer.php, servercaramail.php, protocole texte « code TAB champs… LF » sur TCP, port clients 4500) en PHP 8 moderne, SANS MySQL : état en mémoire (connectés, salons, historique des 15 dernières phrases par salon), persistance légère sur fichier JSON (salons permanents). Boucle non bloquante (stream_select). Commandes : `serve` (démon, port/hôte/clé admin par options ou variables d'environnement), `status`. Fourni avec Dockerfile et compose.yaml pour tourner dans Docker sur un serveur. Le client est le projet caramail-chat.## A command-line application (terminal)This project is an **application**, not a game: commands (Symfony Console) and full-screen text screens(symfony/tui) in the terminal. Follow `AGENTS.md` section 18 and `docs/cli.md`; example: `games/hello-cli`.`bin/jumphp test caramail-server`, `bin/jumphp shot caramail-server` (read the screen text), `bin/jumphp export:standalone caramail-server --linux--windows --macos` (one executable each: what the users download). It has no browser version: its page on theplayground presents it and links the executables.---## The JumPHP playgroundThis project was made on the JumPHP playground: the application's page is https://jumphp.net/caramail-server (in its "Applications").- The application is `apps/caramail-server/`. Read `AGENTS.md` (the JumPHP  contract) first; replace the skeleton with the application described above; tests for each feature, as you  write them; screenshots you look at.- **Publishing**: every push to `main` is online within a minute (Git webhook). The MCP tool `sync_project`  (server `jumphp`) publishes at once and returns the errors.- **Its home page**: `apps/caramail-server/site/` (AGENTS.md section 13, with the application's real screenshots) and  `apps/caramail-server/assets/thumbnail.png`.- When it is done: MCP `update_project` with `listed: true` shows it in the playground's applications.