{"id":13406230,"url":"https://github.com/ruppysuppy/SmartsApp","last_synced_at":"2025-03-14T10:32:45.395Z","repository":{"id":45695256,"uuid":"315221139","full_name":"ruppysuppy/SmartsApp","owner":"ruppysuppy","description":"💬📱 An End to End Encrypted Cross Platform messenger app.","archived":false,"fork":false,"pushed_at":"2024-01-07T03:52:04.000Z","size":5235,"stargazers_count":117,"open_issues_count":0,"forks_count":30,"subscribers_count":9,"default_branch":"master","last_synced_at":"2024-10-15T17:53:38.124Z","etag":null,"topics":["cross-platform","desktop-app","electron","end-to-end-encryption","firebase","flutter","mobile-app","react","redux","typescript","webapp"],"latest_commit_sha":null,"homepage":"https://smartsapp-ba40f.web.app/","language":"TypeScript","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/ruppysuppy.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}},"created_at":"2020-11-23T06:29:01.000Z","updated_at":"2024-09-21T20:45:00.000Z","dependencies_parsed_at":"2022-09-05T04:00:39.024Z","dependency_job_id":"960ad425-6d20-4f87-a18d-4a22ec336999","html_url":"https://github.com/ruppysuppy/SmartsApp","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/ruppysuppy%2FSmartsApp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruppysuppy%2FSmartsApp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruppysuppy%2FSmartsApp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruppysuppy%2FSmartsApp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ruppysuppy","download_url":"https://codeload.github.com/ruppysuppy/SmartsApp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243562230,"owners_count":20311243,"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":["cross-platform","desktop-app","electron","end-to-end-encryption","firebase","flutter","mobile-app","react","redux","typescript","webapp"],"created_at":"2024-07-30T19:02:24.690Z","updated_at":"2025-03-14T10:32:45.383Z","avatar_url":"https://github.com/ruppysuppy.png","language":"TypeScript","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"readme":"# Smartsapp\n\n\u003cdiv align=\"center\"\u003e\n    \u003cimg src=\"./readme_img/logo.svg\" style=\"width: 200px\" /\u003e\n\u003c/div\u003e\n\nA fully **cross-platform messenger** app with **End to End Encryption (E2EE)**.\n\n## Demo\n\n\u003cdiv align=\"center\"\u003e\n    \u003cimg src=\"./readme_img/demo.gif\" style=\"width: 640px\" /\u003e\n\u003c/div\u003e\n\n**NOTE:** The features shown in the demo is not exhaustive. Only the core features are showcased in the demo.\n\n## Platforms Supported\n\n1. **Desktop:** Windows, Linux, MacOS\n2. **Mobile:** Android, iOS\n3. **Website:** Any device with a browser\n\n## Back-end Setup\n\nThe back-end of the app is handled by `Firebase`.\n\n### Basic Setup\n\n1. Go to firebase console and create a new project with the name `Smartsapp`\n2. Enable `Google Analylitics`\n\n### App Setup\n\n1. Create an `App` for the project from the overview page\n2. Copy and paste the configurations in the required location (given in the readme of the respective apps)\n\n### Auth Setup\n\n1. Go to the project `Authentication` section\n2. Select `Sign-in method` tab\n3. Enable `Email/Password` and `Google` sign in\n\n### Firestore Setup\n\n1. Go to the project `Firestore` section\n2. Create firestore provisions for the project (choose the server nearest to your location)\n3. Go to the `Rules` tab and use the following rules:\n    ```c++\n    rules_version = '2';\n    service cloud.firestore {\n        match /databases/{database}/documents {\n            match /contacts/{uid} {\n                allow read, create, update: if request.auth != null;\n            }\n            match /keys/{uid} {\n                allow read, create: if request.auth != null \u0026\u0026 request.auth.uid == uid;\n            }\n            match /messages/{msg} {\n                allow read, create: if request.auth != null;\n            }\n            match /users/{uid} {\n                allow read: if request.auth != null;\n                allow create, update: if request.auth != null \u0026\u0026 request.auth.uid == uid;\n            }\n        }\n    }\n    ```\n4. Go to the `Indexes` tab and create the following index:\n    ```javascript\n    {\n        collection: \"messages\",\n        fields: {\n            users: Ascending,\n            timestamp: Descending,\n        },\n        queryScope: Collection\n    }\n    ```\n\n### Storage Setup\n\n1. Go to the project `Storage` section\n2. Create storage provisions for the project (choose the server nearest to your location)\n3. Go to the rules tab and use the following rules:\n    ```c++\n    rules_version = '2';\n    service firebase.storage {\n        match /b/{bucket}/o {\n            match /profilepic/{uid} {\n            allow read: if request.auth != null;\n            allow create, update: if request.auth != null\n                \u0026\u0026 request.auth.uid == uid\n                \u0026\u0026 request.resource.size \u003c 1024 * 1024\n                \u0026\u0026 request.resource.contentType.matches('image/.*');\n            }\n            match /media/{media} {\n            allow read: if request.auth != null;\n            allow create: if request.auth != null\n                \u0026\u0026 request.resource.size \u003c 1024 * 1024\n                \u0026\u0026 request.resource.contentType.matches('image/.*');\n            }\n        }\n    }\n    ```\n\n### Note\n\nRunning the E2EE Key Generator Server is necessary for all Platforms\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fruppysuppy%2FSmartsApp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fruppysuppy%2FSmartsApp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fruppysuppy%2FSmartsApp/lists"}