ai-agent

SupabaseAuthWithSSR: AI Auth

Get a production-ready template for Next.js with Supabase SSR auth and AI capabilities, ideal for startup founders
398 stars59 forksTypeScriptGuide quality 8/10Updated 7/21/2026100% free · open source
What it does

This tool provides a production-ready template for Next.js with Supabase SSR authentication and AI capabilities, allowing startup founders to quickly build and deploy secure and scalable applications with document chat, web search, and multiple LLM support.

When to use it
  • When building a Next.js application that requires secure authentication and authorization
  • When needing to integrate AI capabilities such as document chat, web search, and LLM support into a Next.js application
  • When looking for a pre-configured template with secure file storage, vector search, and persistent chat history
Ready-to-paste prompt
To test the document chat AI capability, navigate to `http://localhost:3000/chat` and enter a prompt such as 'What is the meaning of life?' to see the AI response
Heads up: Make sure to replace the `SUPABASE_URL` and `SUPABASE_KEY` environment variables in the `lib/supabaseClient.js` file with your actual Supabase project URL and key, as these are required for the authentication and AI capabilities to function correctly
Saves to your device
Use with Claude
New

Skip the builder — one click puts this in Claude, Cursor, Antigravity and more.

✅ Light setup

Installs with a command or two; your AI agent can do it for you.

Try it instantly — no install
Claude Code
mkdir -p ~/.claude/skills/supabaseauthwithssr && curl -fsSL https://workflowstacks.com/api/skills/supabaseauthwithssr/claude-skill -o ~/.claude/skills/supabaseauthwithssr/SKILL.md
Open in another AI app

Opens the app with this repo with the prompt ready to go — no copy-paste needed.

Connect the whole catalog (MCP)
claude mcp add --transport http workflowstacks https://workflowstacks.com/api/mcp

Adds a WorkflowStacks connector to Claude Code: search and load any skill here by chatting.

What's inside — free to inspect

No purchase needed

Read the entire source before you build — unlike paid marketplaces that hide it behind a buy button.

18
top-level files
9
folders
90.5M
source size
MIT
license
Key files
AGENTS.md
eslint.config.mjs
next.config.ts
package.json
postcss.config.mjs
README.md
File tree
app/
assets/
components/
database/
hooks/
lib/
public/
types/
utils/
.env.local.example
.gitignore
.prettierrc
AGENTS.md
Changelog.md
CLAUDE.md
components.json
eslint.config.mjs
knip.json
LICENSE.md
next-env.d.ts
next.config.ts
package-lock.json
package.json
postcss.config.mjs
Quick Actions
Details
Creator
ElectricCodeGuy
Language
TypeScript
Category
ai-agent
Published
10/31/2023

Are you the creator of this tool? Claim your listing → and earn 85% of every sale.