SkillAgentSearch skills...

Chatbase

A minimal chat web-based application built upon Supabase

Install / Use

/learn @mgilangjanuar/Chatbase
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

ChatBase

A minimal web chat application built upon Typescript with Supabase and Vercel.

Watch the video

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

Deployment on Vercel

Install Vercel CLI and login with command: vercel login

  • Local

    • Fill in the environment variables in .env file (see .env.example for reference)
    • Run: vercel dev or yarn start
  • Production

    • Fill in the environment variables in the Vercel settings page
    • Run: vercel --prod or yarn run deploy

License

ChatBase is licensed under the MIT License

Related Skills

View on GitHub
GitHub Stars14
CategoryDevelopment
Updated5mo ago
Forks4

Languages

TypeScript

Security Score

92/100

Audited on Oct 6, 2025

No findings