#2929th of 34 in RAG and search

nextjs-openai-doc-search

Build-time embeddings of your MDX docs into Supabase pgvector

Releases and problems feed (RSS)

Stars
1.7k
License
Apache-2.0
Last commit
May 2026
Language
TypeScript
Stars, last 34 weeks+34
28 Mar 2026: 1,690 stars4 Apr 2026: 1,692 stars11 Apr 2026: 1,695 stars18 Apr 2026: 1,697 stars25 Apr 2026: 1,698 stars2 May 2026: 1,698 stars9 May 2026: 1,698 stars16 May 2026: 1,699 stars23 May 2026: 1,704 stars30 May 2026: 1,704 stars6 Jun 2026: 1,706 stars13 Jun 2026: 1,707 stars20 Jun 2026: 1,709 stars27 Jun 2026: 1,712 stars4 Jul 2026: 1,714 stars11 Jul 2026: 1,715 stars18 Jul 2026: 1,715 stars25 Jul 2026: 1,716 stars1 Aug 2026: 1,719 stars8 Aug 2026: 1,720 stars15 Aug 2026: 1,720 stars22 Aug 2026: 1,720 stars29 Aug 2026: 1,720 stars5 Sept 2026: 1,721 stars12 Sept 2026: 1,721 stars19 Sept 2026: 1,721 stars26 Sept 2026: 1,721 stars3 Oct 2026: 1,721 stars10 Oct 2026: 1,722 stars17 Oct 2026: 1,722 stars24 Oct 2026: 1,723 stars31 Oct 2026: 1,723 stars7 Nov 2026: 1,724 stars14 Nov 2026: 1,724 stars21 Nov 2026: 1,724 stars

1,690 on 28 Mar 20261,724 on 21 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Supabase is hiring: 83 open roles

Overview

A Next.js starter that chunks the .mdx files in pages/ at build time, embeds each section with OpenAI and stores vectors in Supabase pgvector, skipping files whose checksum has not changed. At runtime an Edge function embeds the question, runs a similarity search and streams a completion with the matched sections in the prompt; the schema ships as a Supabase migration. For teams adding chat search to a Next.js docs site.

Who it is for: Teams adding chat search to a Next.js docs site

Strengths

  • Checksum table avoids re-embedding unchanged files on every build
  • pgvector schema is a checked-in Supabase migration
  • One secret (OPENAI_KEY) when deployed with the Vercel Supabase integration

Weaknesses

  • Uses the legacy OpenAI text completion endpoint; expect to port it
  • Only .mdx in pages/ is indexed; other sources need code
  • No auth, no conversation history, no tests
  • Design dates from 2023; last commit 2026-05

What it needs

  • TypeScript, openai
  • Needs supabase, postgres-pgvector, openai-api-key, docker-for-local-supabase
  • env example file

Also in RAG and search

See all 34
Also in RAG and search
RankProjectScore
#27ragbitsModular Python toolkit for LLM prompts, RAG ingestion, agents and chat APIs1.7k starsMIT33 out of 100
#28nano-graphragCompact Python GraphRAG library with swappable LLM, vector and graph storage4k starsMIT32 out of 100
#30azure-search-openai-demo-csharp.NET RAG chat sample over your documents with Azure OpenAI and AI Search846 starsMIT30 out of 100
#31lightningragGo and Vue RAG platform with knowledge bases, agent canvas and admin UI456 starsApache-2.022 out of 100
#32natural-language-postgresNext.js text-to-SQL over Postgres with auto-picked charts Live demo ↗ (opens in a new tab)333 starsApache-2.018 out of 100