{"id":44358071,"url":"https://github.com/mixin27/yoyo_chatt","last_synced_at":"2026-02-11T16:44:40.101Z","repository":{"id":54854855,"uuid":"331945190","full_name":"mixin27/yoyo_chatt","owner":"mixin27","description":"Practicing the flutter chat app.","archived":false,"fork":false,"pushed_at":"2025-07-02T03:36:57.000Z","size":3191,"stargazers_count":4,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-02T04:32:49.582Z","etag":null,"topics":["chat","firebase","flutter","practice-project"],"latest_commit_sha":null,"homepage":"https://play.google.com/store/apps/details?id=com.norm.yoyo_chatt","language":"Dart","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/mixin27.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":"2021-01-22T12:51:47.000Z","updated_at":"2025-07-02T03:37:01.000Z","dependencies_parsed_at":"2024-02-11T20:03:01.098Z","dependency_job_id":"1005e91d-1078-4661-a466-367b0b4a69cf","html_url":"https://github.com/mixin27/yoyo_chatt","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/mixin27/yoyo_chatt","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mixin27%2Fyoyo_chatt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mixin27%2Fyoyo_chatt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mixin27%2Fyoyo_chatt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mixin27%2Fyoyo_chatt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mixin27","download_url":"https://codeload.github.com/mixin27/yoyo_chatt/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mixin27%2Fyoyo_chatt/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29338519,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-11T16:14:43.024Z","status":"ssl_error","status_checked_at":"2026-02-11T16:14:15.258Z","response_time":97,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["chat","firebase","flutter","practice-project"],"created_at":"2026-02-11T16:44:39.248Z","updated_at":"2026-02-11T16:44:40.093Z","avatar_url":"https://github.com/mixin27.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Yoyo Chatt\n\nSimple chat application using `firebase`.\n\n## Installation\n\n\u003e You need the following tools to be already installed.\n\n- [flutter](http://flutter.dev/)\n- [node](https://nodejs.org/en)\n- [firebase-tools](https://www.npmjs.com/package/firebase-tools)\n- [flutterfire_cli](https://pub.dev/packages/flutterfire_cli)\n- [derry](https://pub.dev/packages/derry) - Optional\n\nFirebase configuration\n\n- Go to [Firebase console](https://console.firebase.google.com/), create a project.\n- Enable authentication method (Email/Password sign in)\n- Go to firestore database and replace the following rules with old ones and published it.\n\n  ```\n  rules_version = '2';\n  service cloud.firestore {\n  match /databases/{database}/documents {\n      // Function available for all collections\n      // Checks that request is coming from an authenticated user\n      function isSignedIn() {\n      return request.auth != null;\n      }\n\n      // Rules for the users collection\n      match /users/{userId} {\n      // Validates user's object format\n      // Remove this if you don't plan to provide first or last names\n      function isUserCorrect() {\n          return isSignedIn() \u0026\u0026 request.resource.data.firstName is string \u0026\u0026 request.resource.data.lastName is string;\n      }\n\n      // Checks that the document was created by currently logged in user\n      function isSelf() {\n          return request.auth.uid == userId;\n      }\n\n      // Rules set for the users collection\n      allow create: if isUserCorrect();\n      allow delete: if isSelf();\n      allow read: if isSignedIn();\n      allow update: if isUserCorrect() \u0026\u0026 isSelf();\n      }\n\n      // Rules for the rooms collection\n      match /rooms/{roomId} {\n      // Checks that currently logged in user exists in users collection\n      function userExists() {\n          return isSignedIn() \u0026\u0026 exists(/databases/$(database)/documents/users/$(request.auth.uid));\n      }\n\n      // Checks that currently logged in user is in the room\n      function isUserInRoom() {\n          return isSignedIn() \u0026\u0026 request.auth.uid in resource.data.userIds;\n      }\n\n      // Validates room's object format\n      function isRoomCorrect() {\n          return request.resource.data.type is string \u0026\u0026 request.resource.data.userIds is list;\n      }\n\n      // Rules set for the rooms collection\n      allow create: if userExists() \u0026\u0026 isRoomCorrect();\n      allow delete, read, update: if isUserInRoom();\n\n      // Rules for the messages collection\n      match /messages/{messageId} {\n          // Checks that currently logged in user is in the room\n          function isUserInRoomUsingGet() {\n          return isSignedIn() \u0026\u0026 request.auth.uid in get(/databases/$(database)/documents/rooms/$(roomId)).data.userIds;\n          }\n\n          // Validates message's object format\n          function isMessageCorrect() {\n          return request.resource.data.authorId is string \u0026\u0026 request.resource.data.createdAt is timestamp;\n          }\n\n          // Checks that message's author is currently logged in user\n          function isMyMessage() {\n          return request.auth.uid == resource.data.authorId;\n          }\n\n          // Rules set for the messages collection\n          allow create: if isSignedIn() \u0026\u0026 isMessageCorrect();\n          allow delete, read: if isUserInRoomUsingGet();\n          allow update: if isUserInRoomUsingGet() \u0026\u0026 isMyMessage();\n        }\n      }\n    }\n  }\n  ```\n\n- Go to Storage, enable and add the following rules.\n\n  ```\n  rules_version = '2';\n\n  service firebase.storage {\n  match /b/{bucket}/o {\n      match /{allPaths=**} {\n      allow read, write: if request.auth != null;\n      }\n    }\n  }\n  ```\n\n1. Clone repository and change directory.\n\n   ```bash\n   git clone https://github.com/mixin27/yoyo_chatt.git\n   cd yoyo_chatt/\n   ```\n\n2. Run `flutter pub get`\n\n   ```bash\n   flutter pub get\n   ```\n\n3. Login your firebase account that have a project you created before.\n\n   ```\n   firebase login\n   ```\n\n4. Configure firebase project within your project.\n\n   ```\n   flutterfire configure\n   ```\n\n   Select a project you created before and choose platform you like: android, ios, etc.\n\n5. Run `build_runner` to generate necessary files.\n\n   ```\n   dart run build_runner build -d\n   ```\n\n6. Install npm packages - Optional\n\n   ```\n   npm i\n   ```\n\n7. copy `.env.example`, rename to `.env` and fill your secrets\n\n8. Run your app.\n\n## Main Technologies Use\n\n- [flutter](http://flutter.dev/)\n- [flutter_chat_ui](https://pub.dev/packages/flutter_chat_ui)\n- [flutter_firebase_chat_core](https://pub.dev/packages/flutter_firebase_chat_core)\n- [firebase](https://firebase.google.com/docs/flutter/setup?platform=android)\n- [riverpod](https://riverpod.dev/)\n- [auto_route](https://pub.dev/packages/auto_route)\n\n## Features\n\n- Register (Email/Password)\n- Direct Chat\n- Group Chat\n- Text, Image and File message\n- Link preview fetching\n- Account deletion request and change password\n\n## TODO\n\n- Social Login\n- Delete single message\n- Reply message\n- Pin message\n- Channel\n- Message deliver status\n- Message notifications\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmixin27%2Fyoyo_chatt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmixin27%2Fyoyo_chatt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmixin27%2Fyoyo_chatt/lists"}