Skip to content
Host / Host your own server

Host your own server

Set up a Supabase project for your group. One member does this once, on the free plan.

One member of each group does this once. Supabase’s free plan is sufficient.

Create a project at supabase.com.

With the Supabase CLI, from a clone of this repository:

Terminal window
supabase link --project-ref <your-project-ref>
supabase db push

Run supabase db push again from an updated clone whenever you update squad-chat, so that the server includes the changes the new version requires.

In the dashboard, under Realtime → Settings, turn off Allow public access to channels.

Either method, or both, can be enabled.

The simplest option, requiring no email service. Under Authentication → Sign In / Providers, turn on Allow anonymous sign-ins.

Anyone can create an account this way, but rooms still require their passcode, so outsiders cannot see any content. Supabase limits anonymous sign-ups to 30 per hour per IP address.

Supabase sends the codes, but its built-in email only reaches your project’s own team members (2 per hour), so an email service must be connected over SMTP. Email sign-in describes the setup with Resend.

Provide the other members with the project URL and the publishable key, found under Project Settings → API Keys. Every member, including the host, connects with these values.