{"id":20743008,"url":"https://github.com/pandh4cker/corosechat","last_synced_at":"2026-04-18T23:04:52.381Z","repository":{"id":107313110,"uuid":"448956945","full_name":"PandH4cker/CoroSechat","owner":"PandH4cker","description":null,"archived":false,"fork":false,"pushed_at":"2022-03-29T15:30:33.000Z","size":15000,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-18T02:22:04.620Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PandH4cker.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-01-17T15:54:48.000Z","updated_at":"2022-03-13T22:15:11.000Z","dependencies_parsed_at":null,"dependency_job_id":"3ed47adb-6a4b-4cd6-9835-8cc7a233e0ab","html_url":"https://github.com/PandH4cker/CoroSechat","commit_stats":null,"previous_names":["pandh4cker/corosechat"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PandH4cker%2FCoroSechat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PandH4cker%2FCoroSechat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PandH4cker%2FCoroSechat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PandH4cker%2FCoroSechat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PandH4cker","download_url":"https://codeload.github.com/PandH4cker/CoroSechat/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243034573,"owners_count":20225374,"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-17T07:08:45.776Z","updated_at":"2025-12-24T23:03:19.084Z","avatar_url":"https://github.com/PandH4cker.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CoroSechat\r\n## Author: [Raphael Dray](https://www.linkedin.com/in/raphaeldray/)\r\n\r\nCoroSechat is a chat server over a Secure TCP connection with SmartCard Challenge-Response Authentication based.\r\n\r\nIt is written in **Java 17** including libraries like so:\r\n* [ActiveJDBC](https://javalite.io/activejdbc)\r\n\r\n---\r\n## Implementations:\r\nHere is described some implemented features:\r\n* Multi-Threaded Server (Threads for Accepting Connection and the Main thread used to handle Administration Management)\r\n* Server Administration Management\r\n  * _/kill username_\u0026emsp;\u0026emsp;\u0026emsp;\u0026emsp;\u0026emsp;\u0026emsp;\u0026emsp;\u0026emsp;\u0026emsp;-- **Kill a connected user**\r\n  * _/killall_\u0026emsp;\u0026emsp;\u0026emsp;\u0026emsp;\u0026emsp;\u0026emsp;\u0026emsp;\u0026emsp;\u0026emsp;\u0026emsp;\u0026emsp;\u0026emsp;\u0026ensp;\u0026nbsp;-- **Kill all connected users**\r\n  * _/halt_\u0026emsp;\u0026emsp;\u0026emsp;\u0026emsp;\u0026emsp;\u0026emsp;\u0026emsp;\u0026emsp;\u0026emsp;\u0026emsp;\u0026emsp;\u0026emsp;\u0026emsp;\u0026nbsp;-- **Stop the server**\r\n  * _/deleteAccount username_\u0026emsp;\u0026emsp;\u0026emsp;\u0026ensp;\u0026nbsp;-- **Delete an existing account**\r\n  * _/addAccount username password_ -- **Add an account**\r\n  * _/loadBDD_\u0026emsp;\u0026emsp;\u0026emsp;\u0026emsp;\u0026emsp;\u0026emsp;\u0026emsp;\u0026emsp;\u0026emsp;\u0026emsp;\u0026ensp;\u0026nbsp;-- **Load the Database**\r\n  * _/saveBDD_\u0026emsp;\u0026emsp;\u0026emsp;\u0026emsp;\u0026emsp;\u0026emsp;\u0026emsp;\u0026emsp;\u0026emsp;\u0026emsp;\u0026ensp;-- **Save the Database**\r\n* Regular User Server Commands:\r\n  * _/logout | /exit_\u0026emsp;\u0026emsp;\u0026emsp;\u0026emsp;\u0026emsp;\u0026emsp;\u0026emsp;\u0026emsp;\u0026emsp;\u0026nbsp;-- **Disconnect / Quit**\r\n  * _/list_\u0026emsp;\u0026emsp;\u0026emsp;\u0026emsp;\u0026emsp;\u0026emsp;\u0026emsp;\u0026emsp;\u0026emsp;\u0026emsp;\u0026emsp;\u0026emsp;\u0026emsp;\u0026ensp;-- **List current connected users**\r\n  * _/msg username message_\u0026emsp;\u0026emsp;\u0026emsp;\u0026ensp;\u0026nbsp;-- **Send a Private Message to _username_**\r\n* Hand-Crafted Logger\r\n* PostgreSQL Database Persistence in conjunction with ActiveJDBC ORM\r\n\r\n---\r\n## How it works ?:\r\nLaunch the server and connect to it, simple.\r\n```\r\nINFO: 2022-01-22 11:47:18.901 ServerChat: Listening on port 4444\r\nINFO: 2022-01-22 11:48:00.937 ServiceChat: A new user has initiated a connection on IP 0:0:0:0:0:0:0:1\r\nINFO: 2022-01-22 11:48:05.215 ServiceChat: A new user has been created with username Raphael\r\nINFO: 2022-01-22 11:48:12.608 ServiceChat: A new user has initiated a connection on IP 0:0:0:0:0:0:0:1\r\nINFO: 2022-01-22 11:48:19.588 ServiceChat: [Raphael] Coucou\r\nSalut !\r\nINFO: 2022-01-22 11:48:27.503 ServiceChat: \u003cADMIN\u003e Salut !\r\n/list\r\n\u003cSYSTEM\u003e List of connected users: \r\n\u003cSYSTEM\u003e Raphael\r\nINFO: 2022-01-22 11:49:32.777 ServiceChat: \u003cADMIN\u003e /list\r\n/killall\r\nINFO: 2022-01-22 11:49:43.169 ServiceChat: Raphael has been killed by the administrator.\r\nINFO: 2022-01-22 11:49:43.173 ServiceChat: \u003cADMIN\u003e /killall\r\n/halt\r\n\r\nProcess finished with exit code 0\r\n```\r\n\r\n---\r\n## Improvements:\r\nSome improvements to come further:\r\n- [ ] In-Docker PostgreSQL Deployment\r\n- [ ] PostgreSQL Database Persistence\r\n- [ ] Message Reply\r\n- [ ] Password Hashing","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpandh4cker%2Fcorosechat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpandh4cker%2Fcorosechat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpandh4cker%2Fcorosechat/lists"}