{"id":18799346,"url":"https://github.com/alkesst/dev-chat","last_synced_at":"2025-06-24T15:41:28.674Z","repository":{"id":81784650,"uuid":"104455417","full_name":"Alkesst/Dev-Chat","owner":"Alkesst","description":"A chat in a local network","archived":false,"fork":false,"pushed_at":"2018-01-03T19:56:44.000Z","size":42,"stargazers_count":5,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-03-15T18:47:10.416Z","etag":null,"topics":["c","certificate","chat","linux","macos","network","networking","pem"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Alkesst.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2017-09-22T09:12:46.000Z","updated_at":"2023-10-30T03:59:36.000Z","dependencies_parsed_at":"2023-09-25T02:19:24.399Z","dependency_job_id":null,"html_url":"https://github.com/Alkesst/Dev-Chat","commit_stats":{"total_commits":26,"total_committers":3,"mean_commits":8.666666666666666,"dds":"0.11538461538461542","last_synced_commit":"19b4900ee7cb8b9ad088a680304226d41733f05f"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Alkesst%2FDev-Chat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Alkesst%2FDev-Chat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Alkesst%2FDev-Chat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Alkesst%2FDev-Chat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Alkesst","download_url":"https://codeload.github.com/Alkesst/Dev-Chat/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223596990,"owners_count":17170872,"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":["c","certificate","chat","linux","macos","network","networking","pem"],"created_at":"2024-11-07T22:14:53.736Z","updated_at":"2024-11-07T22:14:53.824Z","avatar_url":"https://github.com/Alkesst.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Dev-Chat\n###### A chat made by developers, for developers.\n\n\n\n## Introduction\n\nFor this chat you we'll need CMake 3.0 and OpenSSL 1.0, or higher, \u0026 pthread.\nHosting \u0026 joining the server requires MacOS and Linux (Windows support will be added in the future as soon as possible).\n\n### Configuring and running the Server\n#### Creating the certificates\nThe server requires a public and private certificate in .pem extension.\nExecute the following command to create them:\n```bash\nopenssl req -x509 -newkey rsa:4096 -sha256 -nodes -keyout key.pem -out public.pem -days 365\n```\nIs possible to change the name of both certificates.\n#### Running the server\nTo run the server you need to use this command\n```bash\nchat_server {port} {private_certificate_path} {public_certificate_path}\n```\nIt starts the server listening on the specified port. If private and public certificates are not provided, default values will be used:\n\n - \"key.pem\" for private certificate\n - \"public.pem\" for public certificate\n\n\n Please notice that the certificates must be in the current working directory.\n\n\n## Joining to the server\nTo join to the server you only need the server's address (IP or Horstname) and public certificate. The public certificate must be provided by the server owner.\n\n```bash\nchat_client {address} {port} {public_certificate_path}\n```\n\nIf no public certificate is provided a default value will be used:\n - \"public.pem\" for public certificate\n\nPlease notice that this certificate must be in the current working directory.\n\n\n### TODO\nCreate an interface for Linux (KDE \u0026 gnome) and macOS (Swift)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falkesst%2Fdev-chat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falkesst%2Fdev-chat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falkesst%2Fdev-chat/lists"}