{"id":21243972,"url":"https://github.com/aaronksaunders/appwrite-vue-chat","last_synced_at":"2025-09-07T10:33:50.836Z","repository":{"id":177017528,"uuid":"656930180","full_name":"aaronksaunders/appwrite-vue-chat","owner":"aaronksaunders","description":"Appwrite Ionic Vue Chat - using appwrite auth and realtime functionality","archived":false,"fork":false,"pushed_at":"2023-06-28T17:57:45.000Z","size":539,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-15T04:25:50.684Z","etag":null,"topics":["appwrite","appwrite-auth","appwrite-cloud","appwrite-database","appwrite-realtime"],"latest_commit_sha":null,"homepage":"","language":"Vue","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aaronksaunders.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2023-06-22T00:18:53.000Z","updated_at":"2023-06-22T02:33:24.000Z","dependencies_parsed_at":"2023-07-14T18:56:30.073Z","dependency_job_id":null,"html_url":"https://github.com/aaronksaunders/appwrite-vue-chat","commit_stats":null,"previous_names":["aaronksaunders/appwrite-vue-chat"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/aaronksaunders/appwrite-vue-chat","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aaronksaunders%2Fappwrite-vue-chat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aaronksaunders%2Fappwrite-vue-chat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aaronksaunders%2Fappwrite-vue-chat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aaronksaunders%2Fappwrite-vue-chat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aaronksaunders","download_url":"https://codeload.github.com/aaronksaunders/appwrite-vue-chat/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aaronksaunders%2Fappwrite-vue-chat/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274026691,"owners_count":25209739,"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-07T02:00:09.463Z","response_time":67,"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":["appwrite","appwrite-auth","appwrite-cloud","appwrite-database","appwrite-realtime"],"created_at":"2024-11-21T01:15:03.819Z","updated_at":"2025-09-07T10:33:50.791Z","avatar_url":"https://github.com/aaronksaunders.png","language":"Vue","funding_links":[],"categories":[],"sub_categories":[],"readme":"Appwrite Chat With Ionic Vue\n==\n\n\n\u003eNOTE : when setting up app in Appwrite set the host to `cloud.appwrite.io` or else realtime will not work on device\n\n## Setup Appwrite Project\n- set up a project in Appwrite Cloud, be sure to set the host to `cloud.appwrite.io`\n- set authentication to `email`\n- create a database\n- create a collection, in the collection there are three fields\n\n    | Field Name | Required | Type |\n    |--------|----------|------| \n    | `message`     | true| String 512 |\n    | `owner`       | true | String 128 |\n    | `displayName` | false | String 128 |\n\n- in  Collection \u003e Settings set Update the permissions so that users can create documents and turn on \"Document Security\"\n- Be sure to get the `ProjectID`, `DatabaseID`, `CollectionID`; you will need them for the `.env` file which will be used by the application\n\n## Setup Ionic Vue App\n\nyou must modify the `capacitor.config.ts` file for the application to work properly on ios. \n```javascript\nimport { CapacitorConfig } from '@capacitor/cli';\n\nconst config: CapacitorConfig = {\n  appId: 'io.ionic.starter',\n  appName: 'appwrite-chat',\n  webDir: 'dist',\n  // when building for IOS you must set the host name,\n  server : {\n    hostname : 'cloud.appwrite.io',\n  },\n  plugins: {\n    CapacitorCookies: {\n      enabled: true,\n    }\n  },\n\n};\n\nexport default config;\n\n```\n\nMake sure you set you `.env` file properly using the values from your Appwrite Project. There is an example file, `.env.example` you can use to help ensure you collect the proper environment variables\n\n```javascript\nVITE_APPWRITE_ENDPOINT=\nVITE_APPWRITE_PROJECT=\nVITE_APPWRITE_DB=\nVITE_APPWRITE_COLLECTION=\n```\n\n## Android Quirks\nYou must remove the complete `server` property in the capacitor.config when running on Android or the app will not work at all\n\n```javascript\nimport { CapacitorConfig } from '@capacitor/cli';\n\nconst config: CapacitorConfig = {\n  appId: 'io.ionic.starter',\n  appName: 'appwrite-chat',\n  webDir: 'dist',\n  // when building for Android you MUST remove the server config\n  //server : {\n  //  hostname : 'cloud.appwrite.io',\n  //},\n  plugins: {\n    CapacitorCookies: {\n      enabled: true,\n    }\n  },\n\n};\n\nexport default config;\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faaronksaunders%2Fappwrite-vue-chat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faaronksaunders%2Fappwrite-vue-chat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faaronksaunders%2Fappwrite-vue-chat/lists"}