{"id":21038189,"url":"https://github.com/jglchen/firestore-realtime-chat","last_synced_at":"2026-04-11T17:38:21.859Z","repository":{"id":132306953,"uuid":"584975698","full_name":"jglchen/firestore-realtime-chat","owner":"jglchen","description":"A real-time chat application with Next.js using Firebase Cloud FireStore.","archived":false,"fork":false,"pushed_at":"2024-05-14T08:31:06.000Z","size":704,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-29T19:22:24.439Z","etag":null,"topics":["chat","docker","firebase","firebase-firestore","firestore","nextjs","reactjs","typescript"],"latest_commit_sha":null,"homepage":"https://firestore-realtime-chat.vercel.app","language":"TypeScript","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/jglchen.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-01-04T02:01:33.000Z","updated_at":"2024-05-14T08:03:03.000Z","dependencies_parsed_at":"2024-05-14T09:27:05.934Z","dependency_job_id":null,"html_url":"https://github.com/jglchen/firestore-realtime-chat","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jglchen/firestore-realtime-chat","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jglchen%2Ffirestore-realtime-chat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jglchen%2Ffirestore-realtime-chat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jglchen%2Ffirestore-realtime-chat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jglchen%2Ffirestore-realtime-chat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jglchen","download_url":"https://codeload.github.com/jglchen/firestore-realtime-chat/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jglchen%2Ffirestore-realtime-chat/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31689762,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-11T13:07:20.380Z","status":"ssl_error","status_checked_at":"2026-04-11T13:06:47.903Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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","docker","firebase","firebase-firestore","firestore","nextjs","reactjs","typescript"],"created_at":"2024-11-19T13:29:56.122Z","updated_at":"2026-04-11T17:38:21.843Z","avatar_url":"https://github.com/jglchen.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Chat Applications with Cloud Firestore\n\nWe can successfully build a real-time chat application with [Next.js](https://nextjs.org/) using [Socket.IO](https://socket.io/). The real-time communication however was found not to function well once the package is deployed to Vercel, which is a serverless platform. It is suggested by Vercel two main approaches to applying a real-time model to stateless serverless functions.\n\n1. Serverless Functions have maximum execution limits and should respond as quickly as possible. They should not subscribe to data events. Instead, we need a client that subscribes to data events (such as [Alby](https://ably.com/), [Pusher](https://pusher.com/), etc.) and a serverless function that publishes new data.\n2. Rather than pushing data, we can fetch real-time data on-demand. For example, the Vercel dashboard delivers realtime updates using [SWR](https://swr.vercel.app/).\n\nIn this demonstration, we build a real-time chat application with [Firebase Cloud FireStore](https://firebase.google.com/products/firestore). \n\n**iOS** and **Android** mobile apps are also delivered. The apps are developed with **React Native**, anyone who is interested can test the development builds with [iOS Simulator Build](https://expo.dev/accounts/jglchen/projects/firestore-realtime-chat/builds/2c3cb3b7-2253-421f-9ab7-cb5ff98492b6) and [Android Internal Distribution Build](https://expo.dev/accounts/jglchen/projects/firestore-realtime-chat/builds/de478887-4f60-43d5-9911-d20d55627706). If the build storage link has expired, please go to [https://projects-jglchen.vercel.app/en/contact](https://projects-jglchen.vercel.app/en/contact) to request build files.\n\n### [View the App](https://firestore-realtime-chat.vercel.app)\n### [App GitHub](https://github.com/jglchen/firestore-realtime-chat)\n### Docker: docker run -p 3000:3000 jglchen/firestore-realtime-chat\n### [iOS Simulator Build](https://expo.dev/accounts/jglchen/projects/firestore-realtime-chat/builds/2c3cb3b7-2253-421f-9ab7-cb5ff98492b6)\n### [Android Internal Distribution Build](https://expo.dev/accounts/jglchen/projects/firestore-realtime-chat/builds/de478887-4f60-43d5-9911-d20d55627706)\n### [React Native GitHub](https://github.com/jglchen/firestore-realtime-chat-mobile)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjglchen%2Ffirestore-realtime-chat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjglchen%2Ffirestore-realtime-chat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjglchen%2Ffirestore-realtime-chat/lists"}