{"repo":"juansebsol/supabase-keep-db-live","free":true,"listed":false,"github":"https://github.com/juansebsol/supabase-keep-db-live","clone":"git clone https://github.com/juansebsol/supabase-keep-db-live.git","description":"GitHub Actions workflow to prevent Supabase databases from pausing due to inactivity.","language":"JavaScript","stars":36,"topics":["githubactions","supabase","automation","github"],"license":null,"category":"workflow-automation","readme_excerpt":"Supabase Keep-Alive GitHub Actions workflow to prevent Supabase databases from pausing due to inactivity. Why Supabase pauses free-tier databases after periods of inactivity. This workflow periodically pings your databases to keep them active. Features - Schedule automated pings via cron - Support for multiple databases in one workflow - No table configuration needed - uses REST API health check - Manual trigger support - Detailed per-database logging Setup 1. Add GitHub Secret Go to your repository Settings → Secrets and variables → Actions → Secrets tab and create a new secret: Name: SUPABASE CONFIGS Value: JSON array of your database configs Single database: Multiple databases: Get your credentials from Supabase Dashboard → Settings → API: - url = Project URL - key = anon/public key (recommended) or service role key Note: The config is stored as a Secret (not visible after creation). To see which databases you're pinging, check the Action logs after running the workflow - it prints the database names and URLs. 2. Adjust Schedule (Optional) Default: Runs Monday and Thursday at 9:00 AM UTC Edit .github/workflows/ping-supabase.yml : Common schedules: - Daily: 0 9 - Every 12 hours: 0 /12 - Twice weekly: 0 9 1,4 3. Test Go to Actions tab → Select workflow → Run workflow Local Testing Example output: How It Works The workflow makes an HTTP request to {url}/rest/v1/ to verify the database is reachable. It doesn't require any specific tables or data - just a successful connection ","default_branch":null,"files":null,"tree":[],"storefront":"/r/juansebsol","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/juansebsol/supabase-keep-db-live/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}