Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vue-supabase-auth-ai-chat-template

Vue 3 + Vite + Supabase Auth SPA with an authenticated AI chat page from @open-templates. Pairs with cf-hono-supabase-gemini-api-template.

Quick start

  1. Use this template on GitHub, then clone your repo.
  2. Personalize from templates/:
./scripts/init-from-template.sh
  1. Install and run:
bun install
cp .env.example .env.local
bun run dev
  1. Start the paired API worker (cf-hono-supabase-gemini-api-template) on port 8787.

See templates/ABOUT_TEMPLATES.md and docs/INIT_TEMPLATE.md.

Out-of-the-box features

Feature Description
Google OAuth + email auth Sign in, sign up, password recovery
API health indicator Header polls GET /health
Home (/) GET /me JWT verification + session debug
AI chat (/chat) Chat UI → POST /chat with Bearer JWT
Session + token refresh apiFetch attaches JWT and retries on 401

See index.md.

Environment

Variable Purpose
VITE_SUPABASE_URL Supabase project URL
VITE_SUPABASE_PUBLISHABLE_KEY Supabase anon / publishable key
VITE_API_BASE_URL Worker URL (default http://localhost:8787)

License

MIT

About

Vue 3 + Supabase Auth SPA with AI chat — threads, markdown, POST /chat. Pairs with any AI-chat-pack Gemini worker (Hono, FastAPI, or Rust).

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages