ESP32-S3 Bench Guide
ESP32‑S3 N16R8 벤치 가이드: 실시간 핀아웃, 강의, 시뮬레이터 및 벤치 로그
아직 감지된 업데이트가 없습니다. GitHub 릴리스가 나오면 여기에 보입니다.
메이커가 쓴 소개는 위의 한 줄이 전부입니다. 더 자세한 내용은 저장소 README에서 읽을 수 있습니다. 저장소 README ↗
README 전체를 불러오는 중입니다.
README 전문 보기 ↗React + Vite + Tailwind PWA: students ask questions by text, voice or photo and get step-by-step answers from an AI/RAG backend. Chats sync per user through Supabase.
npm install
cp .env.example .env # fill in the values (see below)
npm run dev # http://localhost:5173
| Variable | Purpose |
|---|---|
VITE_SUPABASE_URL, VITE_SUPABASE_PUBLISHABLE_KEY | Supabase project + anon key. Public by design; data is protected by RLS. |
NEXT_PUBLIC_API_URL | Base URL of your RAG backend, no trailing slash (e.g. https://rag11acc.onrender.com). Required for production builds. |
VITE_SITE_URL | Public site URL. Drives canonical URL, Open Graph, sitemap.xml, llms.txt. |
Everything prefixed VITE_ is shipped to the browser. Never put a Supabase service_role key or any Gemini/Anthropic/OpenAI key there; model keys belong on the AI backend, which the app calls with the user's Supabase access token in Authorization: Bearer.
Without Supabase variables the app runs in local-only mode (profile and chats stay in the browser).
npm run check:supabase checks reachability, key role, and that the anon role cannot read or write any table.POST {NEXT_PUBLIC_API_URL}/ask with { question, student_class?, subject } (subject is the id picked in the dropdown, see src/lib/subjects.ts; student_class is the number from the profile class, e.g. 12). The reply is { answer_id, answer, sources[{document,page}], flagged, mode, provider, top_score }. Thumbs up/down call POST {NEXT_PUBLIC_API_URL}/feedback with { answer_id, rating: "up"|"down" }. Photo attachments are not sent: the /ask endpoint is text only.
npm run dev · npm run typecheck · npm run build · npm run preview · npm run check:supabase
dist/ over HTTPS. public/_headers holds the CSP and security headers (Cloudflare Pages / Netlify); replace the AI backend placeholder in connect-src, or mirror the headers on your host./index.html.VITE_SITE_URL at build time for SEO files.