Chatbase
A minimal chat web-based application built upon Supabase
Install / Use
/learn @mgilangjanuar/ChatbaseREADME
ChatBase
A minimal web chat application built upon Typescript with Supabase and Vercel.
Features
- [x] User authentication
- [x] User profile
- [x] Search users and rooms
- [x] Create personal message room
- [x] Realtime chat
- [x] Send text messages
- [x] Send attachment messages
- [x] WebAuthn as 2FA
- [x] Delete conversation rooms
- [x] Edit messages
- [x] Delete messages
- [ ] Rich media attachment messages
- [ ] Video call
- [ ] Audio call
Setup Guide
Prerequisites
-
Node.js (v16.15.0 or higher)
-
Yarn (v1.22.10 or higher)
-
Vercel CLI (v28.1.3 or higher)
-
Clone the repository:
git clone https://github.com/mgilangjanuar/chatbase.git -
Install dependencies:
yarn install
Supabase Project Setup
Login and create a project at supabase.com
Supabase Auth (with Google)
Go to the Settings page and select Authentication
-
Allow new users to sign up
-
Fill in the site URL, eg (http://localhost:3000, etc)
-
Add your site URL to the redirect URLs, eg (http://localhost:3000, https://chatbase.vercel.app, etc)
-
Enable Google as an auth provider:
-
Create OAuth client ID in Google Cloud Console
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 -
Save client ID and secret in the Supabase auth settings
-
Click save
-
Supabase Database
-
Go to the SQL editor and create the New query
-
Run the scripts from:
Deployment on Vercel
Install Vercel CLI and login with command: vercel login
-
Local
- Fill in the environment variables in
.envfile (see.env.examplefor reference) - Run:
vercel devoryarn start
- Fill in the environment variables in
-
Production
- Fill in the environment variables in the Vercel settings page
- Run:
vercel --prodoryarn run deploy
License
ChatBase is licensed under the MIT License
Related Skills
node-connect
347.2kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
108.0kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
347.2kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
347.2kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。

