{"id":18143290,"url":"https://github.com/kawacoder/very_cool_local_mailing_app","last_synced_at":"2025-04-06T19:28:50.573Z","repository":{"id":123440744,"uuid":"606093954","full_name":"KawaCoder/Very_Cool_Local_Mailing_App","owner":"KawaCoder","description":"Voici le code complet d'une application d'échange de messages se rapprochant des mails, faite pour être implémentée sur un réseau local (chez moi sur un raspberry pi)","archived":false,"fork":false,"pushed_at":"2023-02-24T16:50:42.000Z","size":16,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-13T01:36:30.666Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/KawaCoder.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-02-24T15:30:12.000Z","updated_at":"2023-02-24T15:57:22.000Z","dependencies_parsed_at":null,"dependency_job_id":"13fc40f1-cf71-4251-ad28-91d0b317b883","html_url":"https://github.com/KawaCoder/Very_Cool_Local_Mailing_App","commit_stats":null,"previous_names":["kawacoder/very_cool_local_mailing_app"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KawaCoder%2FVery_Cool_Local_Mailing_App","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KawaCoder%2FVery_Cool_Local_Mailing_App/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KawaCoder%2FVery_Cool_Local_Mailing_App/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KawaCoder%2FVery_Cool_Local_Mailing_App/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/KawaCoder","download_url":"https://codeload.github.com/KawaCoder/Very_Cool_Local_Mailing_App/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247538296,"owners_count":20955094,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-01T19:06:48.455Z","updated_at":"2025-04-06T19:28:50.544Z","avatar_url":"https://github.com/KawaCoder.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Very Cool Local Mailing App\nVoici le code complet d'une application d'échange de messages se rapprochant des mails, faite pour être implémentée sur un réseau local (chez moi sur un raspberry pi)\n\n## Fonctionnement\n### Protocole\n\nLe client et le serveur échangent grâce au `VeryCoolProtocol`, qui est décrit dans les deux fichiers VeryCoolProtocol.java (un pour le serveur et un pour le client).\n\nVoici des exemples d'échanges:\n\u003c/br\u003e\n\nLe client vérifie ses messages\u003c/br\u003e\n`Server: | Client: Hello`\u003c/br\u003e\n`Server: Hello | Client: Request messages`\u003c/br\u003e\n`Server: Messages:Vous n'avez aucun nouveau message | Client: Goodbye`\u003c/br\u003e\n\nLe client envoie un message\u003c/br\u003e\n`Server:  | Client: Hello`\u003c/br\u003e\n`Server: Hello | Client: Send message: pc_bureau;/;debian;/;Coucou, ça va?`\u003c/br\u003e\n`Server: Message sent | Client: Goodbye`\u003c/br\u003e\n\n## Interface\n![client](https://user-images.githubusercontent.com/67145585/221230117-0c95d9a6-c760-43e4-8668-874307a89be4.png)\n\nClient^\n\n![serveur](https://user-images.githubusercontent.com/67145585/221232133-00ffd67b-f7bc-4411-9207-9275fea50812.png)\n\nServeur en mode log ^\n\n\n## Pour l'installer\n\n### 1. Compiler les fichiers\n- Modifier les varibales d'adresse/ports/chemins d'accès des fichiers .java\n- Compiler les fichiers dans deux projets séparés:\n- VeryCoolClient.jar\u003c/br\u003e\n  --\u003eContenu du dossier Client\u003c/br\u003e\n- VeryCoolServer.jar\u003c/br\u003e\n  --\u003e Contenu du dossier Serveur\u003c/br\u003e\n  \n(Dépendances pour les deux projets dans [pom.xml](https://github.com/DR34M-M4K3R/Very_Cool_Local_Mailing_App/blob/main/pom.xml)\n\n\n\n\n### 2.\nCréer un service dans `/usr/lib/systemd/system` nommé `verycoolserver.service` et écrire dedans:\n\n`[Unit]`\u003c/br\u003e\n`Description=Un serveur tres cool`\u003c/br\u003e\n`[Service]`\u003c/br\u003e\n`ExecStart=java -jar /\u003cCHEMIN D'ACCES ABSOLU DU FICHIER\u003e/VeryCoolServer.jar`\u003c/br\u003e\n`User=pi`\u003c/br\u003e\n`[Install]`\u003c/br\u003e\n`WantedBy=multi-user.target`\u003c/br\u003e\n\n### 3.\nPlacer le fichier lancer_serveur.sh avec le fichier compilé VeryCoolServer.jar \n\n### 4. \nDonner les droits d'exécution au fichier lancer_seveur.sh et lancer le serveur avec\n\n### 5.\nLancez le ficher compilé VeryCoolClient.jar sur une machine du réseau, et c'est parti!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkawacoder%2Fvery_cool_local_mailing_app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkawacoder%2Fvery_cool_local_mailing_app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkawacoder%2Fvery_cool_local_mailing_app/lists"}