dorkhub

browser-llm

Browser LLM Demo (like ChatGPT). Works locally with JavaScript and WebGPU

andreinwald
TypeScript7211 forksupdated 12 months ago
visit the demogit clone https://github.com/andreinwald/browser-llm.gitandreinwald/browser-llm

Browser LLM Demo Working with JavaScript and WebGPU

WebGPU is already supported in Chrome, Safari, Firefox, iOS (v26), and Android (check)

Demo, similar to ChatGPT: https://andreinwald.github.io/browser-llm/

Screenshot

HackerNews discussion: https://news.ycombinator.com/item?id=44767775

  • No need to use your OPENAI_API_KEY - it's a local model that runs on your device
  • No network requests to any API
  • No need to install any program
  • No need to download files to your device (model is cached in browser via CacheStorage)
  • Site will ask before downloading large files (LLM model) to browser cache
  • Hosted on GitHub Pages from this repo - secure, because you can see what you're running
  • Default model: Llama-3.2-1B

WebGPU Browser and OS Compatibility

Data on support for the webgpu feature across the major browsers from caniuse.com

more like this

perplexity-cli

🧠 A simple command-line client for the Perplexity API. Ask questions and receive answers directly from the terminal! 🚀🚀🚀

Python176

TachiSnap

TachiSnap — Pixel Snapper for animation pixel artists. Rust + WebAssembly client-side tool for cleaning up AI-generated…

HTML50

urge

The Universal Ruby Game Engine (URGE) Project

C++50

RaylibWasm

.Net 10 (.Net 8+) webassembly starter project using raylib-cs nuget 7.0.2 and raylib 5.5

C#50

search

search projects, people, and tags