{"id":13567822,"url":"https://github.com/mgilangjanuar/chatbase","last_synced_at":"2026-01-16T14:32:59.919Z","repository":{"id":60347731,"uuid":"541112022","full_name":"mgilangjanuar/chatbase","owner":"mgilangjanuar","description":"A minimal chat web-based application built upon Supabase","archived":false,"fork":false,"pushed_at":"2022-10-03T04:18:08.000Z","size":861,"stargazers_count":12,"open_issues_count":0,"forks_count":4,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-11-04T23:35:17.995Z","etag":null,"topics":["chat-application","supabase","webapp"],"latest_commit_sha":null,"homepage":"https://chat.appledore.dev","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/mgilangjanuar.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":"mgilangjanuar"}},"created_at":"2022-09-25T09:00:46.000Z","updated_at":"2024-04-11T22:28:23.000Z","dependencies_parsed_at":"2023-01-19T04:03:12.645Z","dependency_job_id":null,"html_url":"https://github.com/mgilangjanuar/chatbase","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/mgilangjanuar%2Fchatbase","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mgilangjanuar%2Fchatbase/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mgilangjanuar%2Fchatbase/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mgilangjanuar%2Fchatbase/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mgilangjanuar","download_url":"https://codeload.github.com/mgilangjanuar/chatbase/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247111685,"owners_count":20885488,"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":["chat-application","supabase","webapp"],"created_at":"2024-08-01T13:02:44.870Z","updated_at":"2026-01-16T14:32:59.885Z","avatar_url":"https://github.com/mgilangjanuar.png","language":"TypeScript","funding_links":["https://github.com/sponsors/mgilangjanuar"],"categories":["TypeScript"],"sub_categories":[],"readme":"# ChatBase\n\nA minimal web chat application built upon Typescript with [Supabase](https://supabase.com) and [Vercel](https://vercel.com).\n\n[![Watch the video](https://img.youtube.com/vi/Hglg9viFiOY/default.jpg)](https://youtu.be/Hglg9viFiOY)\n\n## Features\n\n- [x] User authentication\n- [x] User profile\n- [x] Search users and rooms\n- [x] Create personal message room\n- [x] Realtime chat\n- [x] Send text messages\n- [x] Send attachment messages\n- [x] WebAuthn as 2FA\n- [x] Delete conversation rooms\n- [x] Edit messages\n- [x] Delete messages\n- [ ] Rich media attachment messages\n- [ ] Video call\n- [ ] Audio call\n\n## Setup Guide\n\n### **Prerequisites**\n\n- [Node.js](https://nodejs.org/en/download/) (v16.15.0 or higher)\n\n- [Yarn](https://classic.yarnpkg.com/en/docs/install) (v1.22.10 or higher)\n\n- [Vercel CLI](https://vercel.com/download) (v28.1.3 or higher)\n\n- Clone the repository:\n\n  ```bash\n  git clone https://github.com/mgilangjanuar/chatbase.git\n  ```\n\n- Install dependencies:\n\n  ```bash\n  yarn install\n  ```\n\n### **Supabase Project Setup**\n\nLogin and create a project at [supabase.com](https://app.supabase.com/)\n\n### **Supabase Auth (with Google)**\n\nGo to the Settings page and select Authentication\n\n- Allow new users to sign up\n\n- Fill in the site URL, eg (http://localhost:3000, etc)\n\n- Add your site URL to the redirect URLs, eg (http://localhost:3000, https://chatbase.vercel.app, etc)\n\n- Enable Google as an auth provider:\n\n  - Create OAuth client ID in [Google Cloud Console](https://console.cloud.google.com/apis/credentials)\n\n    Add your redirect URL from Supabase to the redirect URL of Google auth console, look like: `https://{your_project_id}.supabase.co/auth/v1/callback`\n\n  - Save client ID and secret in the Supabase auth settings\n\n  - Click save\n\n### **Supabase Database**\n\n- Go to the SQL editor and create the New query\n\n- Run the scripts from:\n  - [`sql/schema.sql`](./sql/schema.sql)\n  - [`sql/storage.sql`](./sql/storage.sql)\n\n\n### **Deployment on Vercel**\n\nInstall [Vercel CLI](https://vercel.com/docs/cli) and login with command: `vercel login`\n\n- Local\n\n  - Fill in the environment variables in `.env` file _(see [`.env.example`](./.env.example) for reference)_\n  - Run: `vercel dev` or `yarn start`\n\n- Production\n\n  - Fill in the environment variables in the Vercel settings page\n  - Run: `vercel --prod` or `yarn run deploy`\n\n\n## License\n\nChatBase is licensed under the [MIT License](./LICENSE.md)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmgilangjanuar%2Fchatbase","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmgilangjanuar%2Fchatbase","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmgilangjanuar%2Fchatbase/lists"}