{"id":26019877,"url":"https://github.com/rjryt/e2ee-chat","last_synced_at":"2025-09-01T05:33:59.190Z","repository":{"id":302735874,"uuid":"931414283","full_name":"RJRYT/e2ee-chat","owner":"RJRYT","description":"End to End Encrypted chat app","archived":false,"fork":false,"pushed_at":"2025-07-02T09:37:03.000Z","size":271,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-29T08:50:43.569Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://e2ee-chat-six.vercel.app","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/RJRYT.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,"zenodo":null}},"created_at":"2025-02-12T08:35:34.000Z","updated_at":"2025-07-02T09:37:06.000Z","dependencies_parsed_at":"2025-07-04T00:41:51.183Z","dependency_job_id":"da0e16c6-12be-4aab-b31d-220f528c56d6","html_url":"https://github.com/RJRYT/e2ee-chat","commit_stats":null,"previous_names":["rjryt/e2ee-chat"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/RJRYT/e2ee-chat","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RJRYT%2Fe2ee-chat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RJRYT%2Fe2ee-chat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RJRYT%2Fe2ee-chat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RJRYT%2Fe2ee-chat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RJRYT","download_url":"https://codeload.github.com/RJRYT/e2ee-chat/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RJRYT%2Fe2ee-chat/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273077227,"owners_count":25041358,"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","status":"online","status_checked_at":"2025-09-01T02:00:09.058Z","response_time":120,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":"2025-03-06T07:56:36.776Z","updated_at":"2025-09-01T05:33:59.123Z","avatar_url":"https://github.com/RJRYT.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# E2EE Chat — End‑to‑End Encrypted MERN Chat App\n\nSecure real-time messaging with client-side RSA-OAEP encryption.\n\n---\n\n## Table of Contents\n\n1. [Features](#features)\n2. [Demo](#demo)\n3. [Tech Stack \u0026 Architecture](#tech-stack--architecture)\n4. [Getting Started](#getting-started)\n\n   * [Prerequisites](#prerequisites)\n   * [Installation](#installation)\n   * [Running the App](#running-the-app)\n5. [Usage](#usage)\n6. [Contributing](#contributing)\n7. [License](#license)\n\n---\n\n## Features\n\n* 🔒 **End‑to‑End Encryption**: Client‑side RSA‑OAEP for all messages and media.\n* ⚡ **Real‑Time Chat**: Built on Socket.IO for instant messaging.\n* 📁 **Encrypted Multimedia**: Secure image \u0026 video sharing.\n* 🗝️ **Per‑User Keys**: Generates key pairs in-browser; private keys never leave client.\n* 🔄 **Offline Resilience**: Messages queued \u0026 synced when back online.\n\n---\n\n## Demo\n\n* Live Preview: [https://e2ee-chat-six.vercel.app](https://e2ee-chat-six.vercel.app)\n* Source Code: [https://github.com/RJRYT/e2ee-chat](https://github.com/RJRYT/e2ee-chat)\n\n---\n\n## Tech Stack \u0026 Architecture\n\n| Layer      | Technology                        |\n| ---------- | --------------------------------- |\n| Frontend   | React, React Router, Tailwind CSS |\n| Backend    | Node.js, Express                  |\n| Real‑Time  | Socket.IO                         |\n| Database   | MongoDB                           |\n| Encryption | Web Crypto API (RSA‑OAEP)         |\n\nMessage flow:\n\n1. User generates RSA key pair in browser.\n2. Public key stored in MongoDB; private key remains client‑side.\n3. On send: message encrypted with recipient’s public key, sent via Socket.IO.\n4. Recipient decrypts with private key, displays plaintext.\n\n---\n\n## Getting Started\n\n### Prerequisites\n\n* Node.js \u003e= 16\n* npm or yarn\n* MongoDB instance (local or Atlas)\n\n### Installation\n\n```bash\n# Clone the repo\ngit clone https://github.com/RJRYT/e2ee-chat.git\ncd e2ee-chat\n\n# Install dependencies\nnpm install\n# or\nyarn install\n```\n\n### Running the App\n\n```bash\n# Start backend (port 5000)\ncd server\nnpm run dev\n\n# Start frontend (port 3000)\ncd ../client\nnpm run dev\n```\n\nOpen [http://localhost:3000](http://localhost:3000) to use.\n\n---\n\n## Usage\n\n1. **Register**: Sign up with username \u0026 password.\n2. **Key Generation**: Client auto‑generates RSA key pair.\n3. **Add Contacts**: Enter another user’s username to chat.\n4. **Chat**: Send text, images or videos securely.\n5. **Offline**: Messages sent while offline sync when reconnected.\n   \n---\n\n## Contributing\n\nContributions welcome! Please fork the repo, create a feature branch, and submit a pull request.\n\n1. Fork it\n2. Create your feature branch (`git checkout -b feature/YourFeature`)\n3. Commit your changes (`git commit -m 'Add YourFeature'`)\n4. Push to branch (`git push origin feature/YourFeature`)\n5. Open a pull request\n\n---\n\n## License\n\nReleased under the MIT License. See [LICENSE](LICENSE) for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frjryt%2Fe2ee-chat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frjryt%2Fe2ee-chat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frjryt%2Fe2ee-chat/lists"}