fpvetleseter is rebuilding Mike as a Norwegian legal-AI backend

Two days of scaffolding turn the upstream into Juridisk - a Norway-focused legal Q&A product with public law baked in.

infrastructuresearch

The team stripped out the generic document and workflow routes and rebuilt the foundations around a clear product: a Norwegian legal assistant. The backend now sits on Supabase (a hosted Postgres-plus-auth platform) with row-level security on every user-owned table, a tightened request size limit, and a stricter security posture that pulls user identity from the verified login token rather than trusting whatever the browser sends.

Free users get ten queries a day, with a polite Norwegian upgrade prompt when they hit the wall. The most interesting move is the ingestion script that pulls the full body of current Norwegian laws and regulations directly from Lovdata's public feed, chunks them, and loads them into a searchable index - so the assistant can actually cite the statute book rather than guess. There's also a clean split between open-source core and a closed proprietary layer, signalling a commercial product is coming.

So what Worth watching for anyone building jurisdiction-specific legal assistants - fpvetleseter is showing what a credible country-localised fork of Mike looks like end-to-end.

View this fork on GitHub →

Spotted something wrong? Or know the PR text has fresher detail than the writeup above?

Commits in this thread

2 commits from fpvetleseter/mike, oldest first. Source extracted verbatim from the harvested git log.

SHA Subject Author Date
da75ade7 chore(day1): AGPL separation, deps, env templates, schema migration, helmet security fpvetleseter 2026-05-08 ↗ GitHub
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
13e47eab feat(day2): auth middleware, rate limiting, Supabase types, Lovdata ingestion script fpvetleseter 2026-05-08 ↗ GitHub
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>

Capture this thread into my fork

Download a single Markdown prompt that tells Claude how to port every commit above into your working tree — adapting paths and structure to match your repo. Run it via claude -p < capture-thread-204.md from inside the repo you want the changes in.

⬇ Download capture-thread-204.md