🌐 US-Proxy
class="logged-out env-production page-responsive" style="word-wrap: break-word;" >
Skip to content
pmeenanPublic

About

In-browser LLM exploration tool

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

20 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WebAI

Test LLMs in your browser. WebAI is a fully client-side workbench for discovering, downloading, and evaluating Hugging Face models across in-browser inference runtimes (wllama, transformers.js, and more) and execution backends (WASM on CPU, WebGPU, WebNN), alongside browser-managed models (Chrome's built-in Gemini Nano via the Prompt API) as a separate browser-owned acquisition path — so developers can pick the right model, quantization, and library for their needs with real numbers from their own hardware.

  • No server, no upload, no telemetry. Models and results live in your browser (OPFS); the only network traffic is the model downloads and Hugging Face queries you initiate.
  • Chat and benchmark. A streaming chat UI with a configurable system prompt, plus dataset-driven benchmarking that captures performance and memory results. (The full confirmed feature set is in docs/features.md.)
  • Chrome-first, cross-browser-friendly. Newest Chrome capabilities are used where present; other browsers degrade gracefully, and the differences become published findings.

Hosted at https://webai.meenan.dev/. Licensed under Apache-2.0.

Almost all code in this repository is written by AI agents working from the project documentation, directed and reviewed by a human.

Status

M0, M1, M2, M4, M5, and M6 are complete; M3 and M7 are implemented locally and awaiting hardware/model-specific live exit checks. Verified acquisition, managed storage, progressive discovery, bounded GGUF/ONNX inspection, wllama, Transformers.js, LiteRT-LM, browser-managed Gemini Nano, reproducible chat, structured-output testing, and N-way comparison are available — see docs/plan.md.

Develop

Requirements: Node 24.16+ and Corepack.

corepack pnpm install
corepack pnpm dev

The development and preview servers emit the same COOP/COEP isolation headers used in production. The full local gate is:

corepack pnpm exec playwright install chromium
corepack pnpm check
corepack pnpm build

pnpm check runs format-check, lint, strict Astro/TypeScript checking, Vitest browser tests, Playwright end-to-end tests, and the full dependency-license audit, including verification that the deployable third-party notice file matches the pinned production closure. Regenerate that file after dependency changes with corepack pnpm license:notices. The production deploy is intentionally explicit: corepack pnpm deploy runs that full gate, rebuilds the release artifact, rsyncs dist/ directly into plex:/var/www/meenan.dev/webai/, deletes stale files after the new transfer, and then checks public routes, a hashed asset, and isolation headers. This intentionally favors a simple single-copy local-server deployment over atomic promotion or automatic rollback (D-027). The first direct deploy migrates D-023's active release symlink back to a real webai directory and removes the obsolete release directories after the smoke check passes.

Start here

About

In-browser LLM exploration tool

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages