SupaForge Edge™
Production Edge Backend
v1.0 (Deno 2 & pgvector)

System Overview & Engineering Architecture

Eliminate CORS preflight failures, SSE stream buffering, and database connection exhaustion. SupaForge Edge delivers a modular, production-tested serverless AI backend on Supabase Edge Functions and pgvector.

✓Incremental SSE streaming chat with zero proxy buffering
✓Document chunking, embedding generation & pgvector similarity search
✓Fail-open atomic sliding window rate limiter
✓Strict Row-Level Security isolating document embeddings per user

Verified Deliverables Manifest

6 Verified Files
  • 15 Production Edge Functions (ai-chat, embed-document, semantic-search, summarize, webhook-receiver)
  • 2Shared Serverless Infrastructure (cors.ts, auth.ts, rateLimit.ts, llm.ts)
  • 3PostgreSQL pgvector migration with HNSW indexing and RLS tenant isolation
  • 4Atomic PostgreSQL sliding-window rate limiter (fail-open architecture)
  • 5Native Deno test suite with mock LLM server
  • 6Turnkey HTML Quickstart Deployment Guide (00-QUICKSTART.md)

Frequently Asked Questions (Technical & Licensing)

Q: Which Deno runtime is supported?

A: Fully compatible with Deno 1.40+ and Deno 2.x native runtimes on Supabase.

Q: Can I swap the LLM provider?

A: Yes. The llm.ts module uses a standard OpenAI-compatible API format, working seamlessly with OpenAI, Groq, Together, DeepSeek, and OpenRouter.

Q: Is pgvector indexing pre-configured?

A: Yes, the SQL migration creates the documents table with pgvector extension, HNSW cosine index, and match_documents RPC.

Serverless Edge AISYSTEM #25

SupaForge Edge™

Production Supabase Edge Functions + pgvector Semantic Search & AI Starter Kit

v1.0 (Deno 2 & pgvector)Commercial License Included
$49USD · One-time
Instant Access
Get Source & Guide ($49)Need custom setup for your team? ($65–$175) →
✓Exit Code 0 Compiler Verification
✓Unlimited Personal & Client Projects
✓Zero Injected Telemetry or Trackers

Production Tech Stack

Supabase Edge FunctionsDeno 2PostgreSQL pgvectorHNSW IndexingOpenAI-Compatible LLMHMAC-SHA256 Webhooks

Prerequisites & Environment

›Supabase CLI (supabase db push / functions deploy)
›Free or Pro Supabase project
›OpenAI-compatible API key

Related Software Toolkits & Boilerplates

Production assets frequently engineered together by founders and developers.