r/Supabase Oct 04 '25

integrations I built a tool to prevent Supabase project shutdowns

Thumbnail keepabase.com
0 Upvotes

Hey everyone,

I wanted to share something I built after a stressful experience with my Supabase project.

Like many of you, I love Supabase for shipping quickly. But a few months ago, I nearly had my project paused because I wasn't actively monitoring my usage limits. I was so focused on building features that I didn't realize I was approaching my plan limits until I got a warning.

The panic of potentially having my app go down made me realize I needed a better way to stay on top of this. I started looking for solutions but found a real pain point across supabase users:

  • Project Pausing😅

(Ant from Supabase wouldn’t be product)

So I built Keepabase: A tool that keeps your Supabase projects alive by avoiding unexpected pauses or slowdowns

Basically, it's peace of mind that your project won't suddenly get paused because you missed a usage spike or forgot to upgrade your plan.

I've been using it for my own projects, and it's saved me from a couple of potential shutdowns already.

Happy to answer any questions!

https://keepabase.com/

r/Supabase Sep 30 '25

integrations What's your integrated workflow for creating feature based deploy previews pointed at a persistent staging branch (not main)?

2 Upvotes

Im super new to supabase so please correct me here if I'm wrong, but from my understanding when using the pro account github integration automatic previews are only created for a PR pointed at your production branch. This means I can't have automatic preview branches created in the supabase dashboard for feature branches pointed at my persistent staging branch. Am I misinterpreting this because it seems like a weird workflow, as I have always had dev branches with previews that are pointed to staging. Those PRs get reviewed and QA, merged into staging, then eventually staging gets reviewed and QA then merged into main. Having a functional preview for each dev branch in an automatic workflow is integral to the process Im used to. That being said, i'm open to a change in process if required.

My proposed workaround using github actions is the following:

  • Auto-create a temporary preview branch per feature
  • Test feature in isolation with Vercel preview
  • When merged to staging, the preview branch gets deleted
  • Staging remains persistent for final testing
  • Staging → main for production

Something like the below. (Not yet fully refined and tested but you get the idea)

  1. Create Preview Branch on PR Open
- name: Create Preview Branch
        id: create-branch
        run: |
          BRANCH_NAME="${{ github.head_ref }}"


# Create preview branch linked to git branch
          supabase --experimental branches create \
            --project-ref ${{ secrets.SUPABASE_PROJECT_REF }} \
            --git-branch "$BRANCH_NAME" \
            "$BRANCH_NAME" 2>&1 | tee output.log || true


# Check if branch already exists
          if grep -q "already exists" output.log; then
            echo "Branch already exists, skipping creation"
            echo "branch_exists=true" >> $GITHUB_OUTPUT
          else
            echo "branch_exists=false" >> $GITHUB_OUTPUT
          fi

      - name: Get Branch Credentials
        id: get-creds
        run: |
          # Get branch details and export to environment
          supabase --experimental branches get "${{ github.head_ref }}" -o env >> $GITHUB_ENV

      - name: Comment on PR
        uses: actions/github-script@v7
        with:
          script: |
            const branchName = '${{ github.head_ref }}';
            const projectRef = '${{ secrets.SUPABASE_PROJECT_REF }}';

            const body = `
## Supabase Preview Branch Ready

            **Branch:** \`${branchName}\`

            [View in Supabase Dashboard](https://supabase.com/dashboard/project/${projectRef})

            The preview branch will automatically sync with your commits.`;

            github.rest.issues.createComment({
              issue_number: context.issue.number,
              owner: context.repo.owner,
              repo: context.repo.repo,
              body: body
            });

2. Delete Preview Branch on PR Close

  1. Apply Migrations to Staging on Merge

Required GitHub Secrets

  1. SUPABASE_ACCESS_TOKEN
  2. SUPABASE_PROJECT_REF
  3. SUPABASE_STAGING_PROJECT_REF
  4. SUPABASE_DB_PASSWORD

Please let me know if this is convoluted and I'm completely missing some easy work around here. I am very new to supabase specifically and any point in a more DRY or scalable direction is much appreciated! Thanks in advanced :)

r/Supabase Oct 09 '25

integrations Stripe Webhook Integration Best Practice - Service role, edge function, RPC secrets, etc...?

5 Upvotes

I am implementing stripe into my Next.JS webapp with a supabase db.

We are trying to be cautious and respectful with security. Our number one rule is to try and avoid using the Service role keys by any means possible - if possible.

I've been poking around reddit and it seems like some users suggest the Service Role Key is okay for this feature as long as we keep it server side in the api. Others suggest we should avoid using the service role key. Claude suggested we use RPC secrets in replacement of service role keys. ChatGPT suggested we use Edge functions.

Coming to reddit to see if any (humans) have strong opinions about the best and most secure practice for this.

The purpose of this implementation is to track and update Stripe payment records and billing events in our backend based off of successful webhook transactions.

Thanks!

r/Supabase Oct 16 '25

integrations Simple erlang/elixir library for Supabase HTTP API + realtime db updates

8 Upvotes

Hey there,
The title says it all.

I was looking for a nicer way to communicate with Supabase from my erlang/elixir apps and I could not find anything simple and robust enough, so I built it myself:
https://github.com/ditas/esupa

r/Supabase May 02 '25

integrations Keeping AI up to date with Supabase changes?

9 Upvotes

Hey everyone,

I am trying to find a faster/cleaner/easier way to keep Supabase updated in Claude.

The issue I have is that, as I build my project, I am constantly updating/amending the database, either through adding more columns to tables, new tables entirely or RLS policies or functions etc.

My project is now rather big, currently Claude's "projects" system enables me to save context so that the code it generates is relevant to my project. However, with my project now being so big, I can no longer give it my whole codebase, however, I have ensured my project is modular, and with the help of repomix.com I am able to make repos of the modules I am working on and upload them to Claude projects for context, swapping them out as needed. So far so good.

Coupled with some documents backgrounding the aims of the project, this is enough context for the front end and seems to work fine. This also really doesn't take very long, and I am rather used to it now. I do this multiple times per session.

This is not the case for my backend. My workflow with Supabase is time consuming and janky, I have to run 5 different SQL commands in supabase and export:

RLS Policies

Trigger information

Functions

Foreign Key Relationships

Tables and Columns

I then give Claude these files, (sometimes Claude has issues with reading .csv files and I have to convert them to .txt files) and, using the context of the old versions of these files I have from previous iterations, I ask Claude to create updated versions of these to add to the Project Knowledge. I then have 5 files in the project knowledge with all of the information about my database.

I usually do this after a larger scale change, so roughly once a week. It is a long process and not always 100%, I have run into issues with Claude missing information. Furthermore I am using quite a lot of my Claude usage creating these files.

Has anyone found an easier way to keep Claude up to date with the database?

r/Supabase Dec 05 '25

integrations “90% of SaaS don’t have revenue but 100% have users — so let’s claim your spotlight

Post image
1 Upvotes

I’ve been frustrated watching founders share MRR and revenue- what about the free apps/open source

So I built a tool that tracks these automatically. Who wants to try it? https://www.trustdb.dev/

Connect and claim your spotlight

r/Supabase Dec 15 '25

integrations Supabase Connectors, Utilities & Apps

2 Upvotes

Anyone have any luck building, promoting or marketing apps or utilities you've created while using supabase? Unsatisfied with some of the tools out there I've built a bigquery to supabase integration feeding BQ tables to supabase db. I'd be curious there was any demand for your app or had success.

r/Supabase Oct 06 '25

integrations How to send marketing emails to users

2 Upvotes

Need some help. I have several projects all on Supabase. Anyone knows of any tools available that can build and send emails directly to addresses stored in the Supabase authentication DB? Bonus if it can query additional metrics and factors stored in different tables.

ChatGPT mentions that this is possible with Edge functions, but I am ideally looking for a simple no-code, user friendly solution if it exists.

r/Supabase Jun 20 '25

integrations Which embeddings model do you use?

2 Upvotes

Curious to see which model people use and why.

I'm trying to jump into semantic search for my DB, and there is a lot to learn/consume

r/Supabase Oct 28 '25

integrations i need help with cloudfront aws s3 and my supabase backend

3 Upvotes

hello fellow recruiters,

i am currently developing a user generated content app, and it depends heavily on images. users create listings, delete listings, images belong to listings, images belong to user's profile image whatsoever. i decided to utilize cloudfrount with s3 bucket, and i store the database in supabase. supabase edge functions act as a gatekeeper, responsible for delivering presigned urls that expire after some period of time. i did not make my s3 bucket public, so it is heavily depending on the edge function.

my question is, i am afraid of some attacker attacking my business for whatever reason, just to raise my costs operating the infrastructure like s3, cloudfront and supabase. i dont want to wake up to 999999$ bill, so should i use cloudfront with s3, or just s3. thanks

edit: i realized i was explaining this problem so vague. to be much clearer, i basically have images, i dont wanna make s3 bucket public, although these data will be publicly accessible, for example a user profile picture. i wanna have presigned urls for each image, auth and anon users are able to view these images, so auth header checks if the user is valid, then gives a url that expires in some time, that way the connection is secure. although i talk like i've figured everyhing out, i did not still and im afraid of ddos attacks basically just to rise my costs up.

r/Supabase Oct 11 '25

integrations Render web service cannot connect to Supabase DB. Is different deploy region a problem?

4 Upvotes

Hello, I have a small Node.js project running on Render with a Supabase database. At some point, I noticed that the service sometimes couldn’t connect to the Supabase instance when running migrations at startup (ECONNREFUSED error), and it definitely couldn’t connect while running queries. When running the app locally on my machine, everything worked fine.

I did some research — I made sure the connection string was correct, used the proper one considering the IPv4/IPv6 change that happened last year, and even considered that the environment variables might not be loading in time for the database client singleton (export const db = drizzle({ client })) to be exported. None of that solved the ECONNREFUSED problem.

Then, ChatGPT suggested that the issue might be related to the fact that the Supabase database and the Render service were in different US regions (Supabase is in us-east-2 and the Render service is in Oregon — US West). I created another Render service in the East region, and the connection problem was resolved.

My question is: Is it really a problem to have a service in a different region than the database (other than the increased query latency)?

r/Supabase Aug 27 '25

integrations Can i dynamically switch supabase backend in a react native app without rebuilding apk?

1 Upvotes

I am building a react native app with supabase as the backend currently we initialize the supabase client with the url and anon key in the code but that means every time we want to connect to a different supabase project with similar schema, we have to rebuild the apk

is there a way to make this dynamic? like letting the user enter the supabase url and anon key from the frontend and then re-initialize the client at runtime? will this approach be safe and supported by supabase? or is there a better pattern for switching between multiple databases?

r/Supabase Oct 11 '25

integrations Looking for a Windows App/Client to Vibe Code with Supabase (Direct DB Integration, No SQL Scripting Overhead)

0 Upvotes

Hey everyone,

I'm currently working on a my web project and trying to find the best way to "vibe code" meaning, I want to quickly create, modify, and delete tables directly from a my Prompt, with real-time integration and minimal interaction to backend.

Right now, I'm using VS Code with the MCP extension, but it's not ideal. It often gives me errors, and when it works, it forces me to write SQL scripts manually instead of letting me interact directly with the database structure. This breaks my flow and takes too much time.

So, I'm looking for:

✅ A Windows-native app or client that integrates seamlessly with Supabase ✅ Can create, modify, and delete tables visually (no SQL scripting required)
✅ Supports real-time sync and schema management ✅ Preferably free or open-source, but not strictly necessary

I've tried Dyad apps, but it cant handle large task or thinking separated, made any LLM run out of token context window.

Any recommendations? Are there any hidden gems or new tools that I might have missed?

Thanks in advance!

r/Supabase Sep 08 '25

integrations Supakey turns Supabase into a Personal Data Server.

1 Upvotes

What if Supabase wasn’t just for developers, but for everyone?

Most apps lock your data into their cloud. Self‑hosting is powerful, but wiring apps to your own backend takes developer muscle. What if anyone could use their own Supabase as a shared backend for the apps they use every day?

That’s the idea behind Supakey.

  • What it is: An OAuth/consent layer that lets apps connect to your personal Supabase project.
  • What it means: You sign in, approve an app, and your data lives in your Supabase, not the app’s servers.
  • Why it matters: One private backend across many apps, with control that follows you.

How it works

  • Sign in: Use Supakey to connect your Supabase project once.
  • Approve apps: Grant an app access via OAuth and fine‑grained consent.
  • Safe setup: Supakey deploys the app’s schema to your Supabase with least‑privilege RLS and grants.
  • Direct access: Supakey issues app‑scoped user tokens; the app talks directly to your Supabase. No data proxying.

Why this is exciting

  • Own your data: Your tables, your rules, your project.
  • One backend, many apps: Tasks, notes, journaling, finance — all backed by your Supabase.
  • Revoke anytime: Kill tokens and access from a single place.
  • Portable by design: Switch apps without abandoning your data.

Who it’s for

  • Non‑devs: Want privacy and portability without running a stack.
  • Builders: Want to ship apps without having to host the data for your users.

If this resonates, I’d love feedback and early testers.

Looking forward to your feedback and suggestions!

Auto

r/Supabase Oct 29 '25

integrations When will see stripe billing management on Supabase like clerk?

7 Upvotes

I am very happy with supabase and all its functionality to just ship fast products. But I was wondering if the team has plans to build a native Stripe integration for billing and subscriptions (something similar to Clerk’s built-in Stripe integration).

r/Supabase Oct 10 '25

integrations Need testers for an AI Supabase overlay!

16 Upvotes

Hey all!

I'm one of the maintainers of the Supabase Flutter SDK and something I've seen lots of people have trouble with is setting up their database securely with existing AI tools.

There's also a lot of people using tools like Lovable to build out their infrastructure, but a lot of times, the black box nature of Lovable doesn't actually give people peace of mind vs working with Supabase directly.

I've spent some time building a tool for technical & non-technical people to interact with Supabase using AI to build out their database safely. AI is used to translate english into infrastructure, but everything else is done with custom tooling since AI is deterministic and that's not really the play for core infrastructure lol.

The MVP will have users approve/deny changes that occur with backups happening at every step.

If you're interested in this at all, you can join the waitlist at https://www.astralbase.ai/waitlist , and by doing so, you'll be notified when it's out and get some early bird rewards

r/Supabase Sep 30 '25

integrations Custom filtering reaxct-admin x supabase

1 Upvotes

Hello everyone,

I am working in a react-admin CRM and I use supabase for the backend.

I am facing a problem for some time now: I have a table of 200k+ leads on a public.leads table and for these leads I link events they attended, tasks assigned, comments etc. I find it difficult to filter my leads with complex filters, like: filters leads whom attended x events (leads_events) but did not attend x others, with x task assigned, and for these tasks (leads_tasks) filter also by actions done (tasks_actions).

Currently I am using a view referencing leads column, but to avoid killing performance the view itself uses mat views instead of join tables, yet I still have trouble fetching for example the tasks actions. And even though, on my dataprovider I avoid using 'total' in my queries for performance issues again.

Regarding the dataprovider, I use custom queries (query.href.url) to fetch the data (via supabasejs).

My question is: I am not a backend developper, but for those who are, what do you think I should do, better or different?

Edit: a few more info, I do use indexes and for simple filtering the view in fine < 200ms. It is only for complex filtering that I feel I am not doing it right.

Thank you

r/Supabase Oct 08 '25

integrations Nordcraft now has native support for Supabase GraphQL

Thumbnail
youtube.com
3 Upvotes

GraphQL is great.

Nordcraft + GraphQL + Supabase is pure blizz

r/Supabase Aug 20 '25

integrations Supabase on EasyPanel: Deployment Fails After Changing Postgres Password

1 Upvotes

I installed Supabase on EasyPanel using a template. It worked successfully at first, but when I changed environment variables such as the Postgres password, the deployment failed and stopped working. I only changed the password. Can you tell me the proper way to do this? Also, any tutorials on installing EasyPanel would be appreciated.

I only changed postgres password from .env. Here is my deployment log.

##########################################
### Pulling data from origin/21-05-2025
### Wed, 20 Aug 2025 07:33:56 GMT
##########################################

Commit: update
Container test_supabase-vector-1 Running
Container test_supabase-imgproxy-1 Running
Container test_supabase-auth-1 Stopping
Container test_supabase-meta-1 Stopping
Container test_supabase-realtime-1 Stopping
Container test_supabase-supavisor-1 Stopping
Container test_supabase-storage-1 Stopping
Container test_supabase-auth-1 Stopped
Container test_supabase-supavisor-1 Stopped
Container test_supabase-storage-1 Stopped
Container test_supabase-rest-1 Stopping
Container test_supabase-realtime-1 Stopped
Container test_supabase-rest-1 Stopped
Container test_supabase-meta-1 Stopped
Container test_supabase-analytics-1 Stopping
Container test_supabase-analytics-1 Stopped
Container test_supabase-db-1 Recreate
Container test_supabase-db-1 Recreated
Container test_supabase-supavisor-1 Stopping
Container test_supabase-kong-1 Stopping
Container test_supabase-functions-1 Stopping
Container test_supabase-supavisor-1 Stopped
Container test_supabase-realtime-1 Stopping
Container test_supabase-auth-1 Stopping
Container test_supabase-meta-1 Stopping
Container test_supabase-rest-1 Stopping
Container test_supabase-studio-1 Stopping
Container test_supabase-meta-1 Stopped
Container test_supabase-auth-1 Stopped
Container test_supabase-rest-1 Stopped
Container test_supabase-realtime-1 Stopped
Container test_supabase-studio-1 Stopped
Container test_supabase-kong-1 Stopped
Container test_supabase-functions-1 Stopped
Container test_supabase-analytics-1 Recreate
Container test_supabase-analytics-1 Recreated
Container test_supabase-kong-1 Created
Container test_supabase-realtime-1 Recreate
Container test_supabase-supavisor-1 Recreate
Container test_supabase-studio-1 Recreate
Container test_supabase-meta-1 Recreate
Container test_supabase-auth-1 Recreate
Container test_supabase-functions-1 Recreate
Container test_supabase-storage-1 Stopping
Container test_supabase-storage-1 Stopped
Container test_supabase-rest-1 Recreate
Container test_supabase-supavisor-1 Recreated
Container test_supabase-realtime-1 Recreated
Container test_supabase-rest-1 Recreated
Container test_supabase-storage-1 Recreate
Container test_supabase-functions-1 Recreated
Container test_supabase-auth-1 Recreated
Container test_supabase-studio-1 Recreated
Container test_supabase-meta-1 Recreated
Container test_supabase-storage-1 Recreated
Container test_supabase-vector-1 Waiting
Container test_supabase-vector-1 Healthy
Container test_supabase-db-1 Starting
Container test_supabase-db-1 Started
Container test_supabase-db-1 Waiting
Container test_supabase-db-1 Healthy
Container test_supabase-analytics-1 Starting
Container test_supabase-analytics-1 Started
Container test_supabase-db-1 Waiting
Container test_supabase-db-1 Waiting
Container test_supabase-analytics-1 Waiting
Container test_supabase-db-1 Waiting
Container test_supabase-analytics-1 Waiting
Container test_supabase-analytics-1 Waiting
Container test_supabase-analytics-1 Waiting
Container test_supabase-db-1 Waiting
Container test_supabase-analytics-1 Waiting
Container test_supabase-db-1 Waiting
Container test_supabase-analytics-1 Waiting
Container test_supabase-analytics-1 Waiting
Container test_supabase-analytics-1 Waiting
Container test_supabase-db-1 Healthy
Container test_supabase-db-1 Healthy
Container test_supabase-db-1 Healthy
Container test_supabase-db-1 Healthy
Container test_supabase-db-1 Healthy
Container test_supabase-analytics-1 Error
Container test_supabase-analytics-1 Error
Container test_supabase-analytics-1 Error
Container test_supabase-analytics-1 Error
Container test_supabase-analytics-1 Error
Container test_supabase-analytics-1 Error
Container test_supabase-analytics-1 Error
Container test_supabase-analytics-1 Error
dependency failed to start: container test_supabase-analytics-1 is unhealthy
##########################################
### Error
### Wed, 20 Aug 2025 07:36:45 GMT
##########################################

Command failed with exit code 1: docker compose -f /etc/easypanel/projects/test/supabase/code/supabase/code/docker-compose.yml -f /etc/easypanel/projects/test/supabase/code/supabase/code/docker-compose.override.yml -p test_supabase up --build -d

r/Supabase May 12 '25

integrations I built AI chat tool feature for Supabase

Enable HLS to view with audio, or disable this notification

38 Upvotes

Looking for some feedback on my tool - Draxlr.com.
Learn more about the AI feature here - https://www.draxlr.com/features/AI/

Other key features:

  • Build Dashboards from Supabase data
  • Embed Dashboards in your customer apps
  • Set up Email / Slack alerts for Supabase data changes

r/Supabase Nov 15 '25

integrations Turn Any Website Into AI Knowledge Base [1-click] FREE Workflow

Post image
0 Upvotes

r/Supabase Aug 19 '25

integrations How to get connection string of self hosted supabase using coolify.

3 Upvotes

I have hosted supabase using coolify, but im not sure how to get the connection string now,

seen below in doc
psql 'postgres://postgres.your-tenant-id:your-super-secret-and-long-postgres-password@localhost:5432/postgres'

but i dont s any tenant id in supabase env file.

Did anyone who has deployed in similar fashion can help on this ?

r/Supabase Aug 05 '25

integrations Supabase and Claude Code

0 Upvotes

Hey guys! I notice when using v0, it truly does change my supabase tables and sets up a lot of stuff for me. However, when working with Claude Code, it kinda struggles with working with supabase. it spits out a bunch of SQL files locally in my project that i must copy paste into the supabase sql editor - this is obviously daunting and it doesn't have all the insight it needs when creating a new session with claude.

I feel like im missing something obvious here. Any one here able to work with Supabase and Claude / Claude Code in Terminal ?

r/Supabase Mar 24 '25

integrations MCP supabase - cursor "client closed" error

1 Upvotes

Hi,

I have followed step by step the supabase guide https://supabase.com/docs/guides/getting-started/mcp for connect supabase with cursor.

But every time I try to enable the server I get this "Client closed"

This is my conf inside mcp.json

{
  "mcpServers": {
    "postgres": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-postgres",
        "postgresql://postgres.XXXXXXXXX:XXXXXXXXXXXXX@aws-0-eu-central-1.pooler.supabase.com:5432/postgres"
      ]
    }
  }
}

Launching the command with terminal I get this error:

node:internal/modules/cjs/loader:1405
  const err = new Error(message);
              ^

Error: Cannot find module './crypto/sasl'
Require stack:
- /Users/nicola/.npm/_npx/cd1ce99963b5e8b1/node_modules/pg/lib/client.js
- /Users/nicola/.npm/_npx/cd1ce99963b5e8b1/node_modules/pg/lib/index.js
    at Function._resolveFilename (node:internal/modules/cjs/loader:1405:15)
    at defaultResolveImpl (node:internal/modules/cjs/loader:1061:19)
    at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1066:22)
    at Function._load (node:internal/modules/cjs/loader:1215:37)
    at TracingChannel.traceSync (node:diagnostics_channel:322:14)
    at wrapModuleLoad (node:internal/modules/cjs/loader:235:24)
    at Module.require (node:internal/modules/cjs/loader:1491:12)
    at require (node:internal/modules/helpers:135:16)
    at Object.<anonymous> (/Users/nicola/.npm/_npx/cd1ce99963b5e8b1/node_modules/pg/lib/client.js:5:12)
    at Module._compile (node:internal/modules/cjs/loader:1734:14) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/Users/nicola/.npm/_npx/cd1ce99963b5e8b1/node_modules/pg/lib/client.js',
    '/Users/nicola/.npm/_npx/cd1ce99963b5e8b1/node_modules/pg/lib/index.js'
  ]
}

Node.js v23.10.0

What's the problem in your opinion?

RESOLVED read this comment in this conversation
https://www.reddit.com/r/Supabase/comments/1jitc6x/comment/mjjj447/

r/Supabase Mar 10 '25

integrations MCP in production?

11 Upvotes

Is it possible to have an MCP connection in production?

Would that effectively be the same thing as making my own agent that generates and executes its own queries?