Private AI chats in your browser
1
stars
192
commits
TypeScript
primary language
Sep 14, 2026
updated
llame is a fully client-side chat app for running ONNX language and vision models with WebGPU. No backend, no API key, and no hosted inference.
Pick a model, wait for the browser download, and chat locally on your device. Chat-tuned models use their tokenizer chat template when available. Base causal language models such as GPT-2 run as text-completion models with plain continuation prompts.
git clone https://github.com/tsilva/llame.git
cd llame
pnpm install
pnpm dev
Open http://localhost:3000.
pnpm dev # start local dev server
pnpm build # build static export
pnpm lint # run ESLint
pnpm test # run unit tests
pnpm run check:verified-model-sitemap
pnpm install configures the repo-managed pre-commit hook in githooks/.src/config/verifiedModels.ts; models that load and answer plausibly are marked verified, while known failing presets are marked broken with a reason.llame- localStorage keys for settings and migration state.Private local values declared in .keyenv.toml live in macOS Keychain. Run
keyenv doctor to verify them and launch credential-dependent commands with
keyenv run -- <command>. Python, Node, and their child processes receive the
values through their normal environment APIs. Keep only public or non-secret
configuration in dotenv files.

189 commits
3 commits
TypeScript
79.0%
JavaScript
14.6%
Python
3.9%
CSS
2.1%
Private AI chats in your browser
1
stars
192
commits
TypeScript
primary language
Sep 14, 2026
updated
llame is a fully client-side chat app for running ONNX language and vision models with WebGPU. No backend, no API key, and no hosted inference.
Pick a model, wait for the browser download, and chat locally on your device. Chat-tuned models use their tokenizer chat template when available. Base causal language models such as GPT-2 run as text-completion models with plain continuation prompts.
git clone https://github.com/tsilva/llame.git
cd llame
pnpm install
pnpm dev
Open http://localhost:3000.
pnpm dev # start local dev server
pnpm build # build static export
pnpm lint # run ESLint
pnpm test # run unit tests
pnpm run check:verified-model-sitemap
pnpm install configures the repo-managed pre-commit hook in githooks/.src/config/verifiedModels.ts; models that load and answer plausibly are marked verified, while known failing presets are marked broken with a reason.llame- localStorage keys for settings and migration state.Private local values declared in .keyenv.toml live in macOS Keychain. Run
keyenv doctor to verify them and launch credential-dependent commands with
keyenv run -- <command>. Python, Node, and their child processes receive the
values through their normal environment APIs. Keep only public or non-secret
configuration in dotenv files.

189 commits
3 commits
TypeScript
79.0%
JavaScript
14.6%
Python
3.9%
CSS
2.1%