OLH
All news
Open source

SupaChat gets its own website

SupaChat, the open-source AI chat starter built on the same foundations as Lovguiden, now has a home at supa-chat.dev, with a live demo and an overview of everything included.

Oscar Lauge Hoffmann
· 1 min read

SupaChat was first released in October 2023 as an open-source AI chat starter for Next.js and Supabase. It is now in its fifth version, MIT-licensed, and has its own website at supa-chat.dev.

What is included

  • Chat with documents: PDFs are OCR'd and searched with hybrid vector and keyword retrieval, with page-level citations
  • An artifacts workspace where documents are drafted live, with version history and export
  • Long-term memory that can be reviewed, edited and deleted
  • Charts, dashboards and small interactive tools rendered in a sandboxed frame
  • PDF generation, web search and image generation
  • Per-token usage dashboards with cache-aware cost estimates

Production architecture

Authentication uses Supabase SSR with row-level security on every table, and prompt caching serves multi-step tool turns from cache at around a tenth of the input price. One SQL file sets up the whole schema, the policies and the search function.

The source code is on GitHub under the MIT license.

Portrait of Oscar Lauge Hoffmann
Written by
Oscar Lauge Hoffmann

Founder and engineer of Lovguiden. Agentic automation and AI systems are built for other businesses on the same foundation.

Profile

Read next

Contact

The same approach, for other businesses.

A short description of the task is enough to start the conversation.

Send an emailoh@opkurser.dk
Three lines are enough
  1. 01
    The task
    The recurring work that takes too long.
  2. 02
    How it is handled today
    Who does it, and with which tools or sources.
  3. 03
    How often
    Daily, weekly, or every time a document arrives.

The email button opens a draft with these three prompts in place.