Lina-Law-Firm lets prospects kick the tyres without an account

A read-only demo mode drops curious visitors straight into the assistant, no signup required.

securitychat-ui

The team added a "view demo" path so anyone can land inside the working assistant without creating an account first. The clever part is where the guardrail sits: the read-only restriction is enforced on the server, not just hidden in the browser, so a guest can look around but can't change, save, or delete anything even if they go poking at it. A slim banner spells out the limits and points toward signing up.

It leans on Supabase, the hosted auth-and-database service many of these forks already use, and its anonymous-session feature, which has to be switched on for the fork to work. There's one rough edge worth knowing about: the write block keys off the type of request, so any future read action that happens to submit data could get caught up in it and need a tweak.

So what Anyone weighing whether to let prospects trial a legal-AI tool before they commit should see how this one keeps a guest safely boxed in.

View this fork on GitHub →

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

Commits in this thread

1 commit from Lina-Law-Firm/mikeoss, oldest first. Source extracted verbatim from the harvested git log.

SHA Subject Author Date
6a94f556 feat: guest demo access via Supabase anonymous sign-in (read-only) nipanon 2026-06-05 ↗ GitHub
commit body
Add a "View demo - no account needed" button on the sign-in screen that
starts a Supabase anonymous session and routes the visitor to /assistant.
Guests are read-only: requireAuth rejects writes (POST/PUT/PATCH/DELETE)
for anonymous users, and a banner surfaces the read-only state with a
sign-up CTA.

Requires "Anonymous sign-ins" enabled on the Supabase project.

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-631.md from inside the repo you want the changes in.

⬇ Download capture-thread-631.md