{"id":22202303,"url":"https://github.com/rumkin/cha-cha-chat","last_synced_at":"2025-07-11T14:02:24.416Z","repository":{"id":152260166,"uuid":"97419735","full_name":"rumkin/cha-cha-chat","owner":"rumkin","description":"Example of ChaCha20 encrypted chat with ECDH key exchange","archived":false,"fork":false,"pushed_at":"2018-02-13T10:30:15.000Z","size":5,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-30T03:26:28.433Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/rumkin.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-07-17T00:26:55.000Z","updated_at":"2025-01-03T07:37:23.000Z","dependencies_parsed_at":null,"dependency_job_id":"5cbef2b9-3b23-41ed-ba2b-c31c164580a5","html_url":"https://github.com/rumkin/cha-cha-chat","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rumkin%2Fcha-cha-chat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rumkin%2Fcha-cha-chat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rumkin%2Fcha-cha-chat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rumkin%2Fcha-cha-chat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rumkin","download_url":"https://codeload.github.com/rumkin/cha-cha-chat/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245383118,"owners_count":20606265,"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-12-02T16:13:25.534Z","updated_at":"2025-03-25T01:42:46.351Z","avatar_url":"https://github.com/rumkin.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Chat with ChaCha20 encryption\n\nThis is a simple realtime only chat with end-to-end encryption. This repository\nis just an example and should not be used as complete solution for information\nsecurity system without addintional server configuration. Also it doesn't protect\nmembers from MITM attack without some security additions (you can use\nSSL-certificate for it).\n\n## Cryptography\n\nThis chat use ECDH (Diffie-Hellman) algorythm to safely exchange encryption keys\nusing central server. Chat uses ChaCha20 algorythm to encrypt message content.\nChaCha20 is [recommended by Google](https://tools.ietf.org/html/draft-ietf-tls-chacha20-poly1305-04) as TLS protocol.\n\n## Example\n\nRun server\n\n```shell\nnode server.js\n```\n\nIn another two terminals run clients. Client usage is:\n`node client.js \u003cROOM\u003e \u003cMessage\u003e`:\n\n```shell\n# Client 1\nnode client.js my-secret-room-id \"Hello client 2\"\n```\n\n```shell\n# Client 2\nnode client.js my-secret-room-id \"Hello client 1\"\n```\n\nAfter calling this both clients should be terminated.\n\n## License\n\nMIT.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frumkin%2Fcha-cha-chat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frumkin%2Fcha-cha-chat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frumkin%2Fcha-cha-chat/lists"}