{"repo":"taishikato/supadocs","free":true,"listed":false,"github":"https://github.com/taishikato/supadocs","clone":"git clone https://github.com/taishikato/supadocs.git","description":"A Next.js template for technical docs with AI chat, out of the box.","language":"TypeScript","stars":29,"topics":["ai","nextjs","openai","rag","rag-chatbot","tailwindcss"],"license":null,"category":"ai-agents","readme_excerpt":"Supadocs 💨 Supadocs is your AI-friendly docs starter built with Next.js, Supabase, and OpenAI. Out of the box you get: - a built-in RAG-powered search and chat experience - handy extras like copy article as Markdown and download Markdown file Tech stack - Supabase + pgvector to store your chunks and embeddings - OpenAI for embeddings and completions - GitHub Actions to keep markdown changes flowing into Supabase Usage Spinning up RAG chat takes just 2 steps: 1. Prepare your database 2. Ingest your docs Prepare your database 1. Clone the repo: git clone git@github.com:taishikato/supadocs.git 2. Link it to your Supabase project: supabase link --project-ref 3. Push the migrations: supabase db push 4. Expose on the docs schema via Supabase Dashboard settings API Settings Exposed schemas Ingest your docs Time to drop your documentation into the database as embeddings. GitHub Actions will handle it on every PR. In your knowledge base repo, spin up a new action at .github/workflows/generate embeddings.yml with this content: Just make sure you set your SUPABASE SERVICE ROLE KEY and OPENAI API KEY as repository secrets in your repo settings (settings secrets actions). One more thing Create apps/web/.env.local and set your env vars: Install the dependencies: Start the app: The app runs at http://localhost:3000.","default_branch":null,"files":null,"tree":[],"storefront":"/r/taishikato","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/taishikato/supadocs/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}