Skip to content

factspark23-hash/3D-deploy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

3D JARVIS — Deploy to Supabase

Auto-deployment repo. Code lives in 3D, this repo handles Supabase deployment.

Pipeline

push to 3D/main → GitHub Actions → pull files → deploy to Supabase Edge Functions

Setup

1. Supabase Project

Create a project at supabase.com, note your Project Ref.

2. GitHub Secrets

Add these to this repo's Settings → Secrets:

Secret Value
SUPABASE_ACCESS_TOKEN From supabase.com/dashboard/account/tokens
SUPABASE_PROJECT_REF Your project ref (e.g. abcdefghijklmnop)

3. Deploy

Push to main or trigger manually from Actions tab.

Edge Functions

Function URL Purpose
serve-site https://<ref>.functions.supabase.co/serve-site Serves static files (HTML/CSS/JS)
api-proxy https://<ref>.functions.supabase.co/api-proxy AI API proxy (OpenAI/Anthropic/Gemini)

Local Dev

supabase start
supabase functions serve

Later: Remove Server

When ready to go full client-side:

  1. Remove api-proxy function
  2. Update AI chat to call APIs directly from browser (with user's API key)
  3. Deploy serve-site only — or switch to any static host (Vercel, Cloudflare Pages, GitHub Pages)

About

3D JARVIS — Supabase deployment & testing

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors