Skip to content

Add a browser playground that runs groundcheck through Pyodide - #5

Merged
RootX22 merged 1 commit into
mainfrom
site/playground
Oct 30, 2026
Merged

RootX22 merged 1 commit into
mainfrom
site/playground

Conversation

@RootX22

@RootX22 RootX22 commented Oct 30, 2026

Copy link
Copy Markdown
Owner

A page at rootx22.github.io/groundcheck where you paste an answer and its sources and get the same report as groundcheck --json: the grounding score, each finding with its evidence, and a sentence-by-sentence view with the closest source.

  • It runs the package itself in the browser through Pyodide. The Pages workflow zips groundcheck/ on every deploy, so the page cannot drift from the CLI.
  • No model is called and nothing is uploaded. Share links carry the texts in the URL fragment.
  • Pasted text is rendered as text, so a crafted share link cannot run script on the page. Tested with <img onerror> and <script> payloads.
  • The support threshold is adjustable, with the CLI's default of 0.5.

Checked in Chromium at desktop and phone widths: no console errors and no horizontal scroll.

@RootX22
RootX22 merged commit 81724a6 into main Oct 30, 2026
8 checks passed
@RootX22
RootX22 deleted the site/playground branch October 30, 2026 23:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant