Svipan AI Search

Icelandic 🇮🇸 RAG in one file $0/month MIT

An open-source AI search assistant for a language with 370,000 speakers — grounded, non-hallucinating, and free to run. Live as the "✨ Spurðu Svipan" button on svipan.is, Iceland's independent casino & slots guide.

The whole architecture

question (Icelandic)
  → Cloudflare Worker
  → fetch llms-full.txt          # the site index AI crawlers already read
  → fold diacritics, score lines # þ→th, ð→d, á→a … so "rulleta" finds "rúlletta"
  → top-12 pages → Gemini Flash  # free tier, ~1,500 answers/day
  → 2–4 sentences + source links # forbidden to invent numbers

Why it's interesting

The retrieval index is just llms-full.txt — the same file served to GPTBot and friends. One plain-text file feeds AI crawlers, the site's instant search, and the RAG assistant. No embeddings, no vector database, no bill.

Grounding is enforced by prompt: the model may only cite what the index says. Honest numbers are the house style — see the RTP table of 158 slots and the measured casino payout times that the assistant answers from.

Get the code

github.com/nickilinmail-collab/svipan-ai-search — two single-file workers (Gemini free tier / Anthropic), README with deploy steps. MIT.

Built for Svipan — óháður íslenskur leiðarvísir um spilavíti á netinu. 18+ · Responsible gambling